![]() |
|
|||
File indexing completed on 2025-03-13 09:14:50
0001 /* json-gvariant.h - JSON GVariant integration 0002 * 0003 * This file is part of JSON-GLib 0004 * Copyright (C) 2007 OpenedHand Ltd. 0005 * Copyright (C) 2009 Intel Corp. 0006 * 0007 * This library is free software; you can redistribute it and/or 0008 * modify it under the terms of the GNU Lesser General Public 0009 * License as published by the Free Software Foundation; either 0010 * version 2.1 of the License, or (at your option) any later version. 0011 * 0012 * This library is distributed in the hope that it will be useful, 0013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 * Lesser General Public License for more details. 0016 * 0017 * You should have received a copy of the GNU Lesser General Public 0018 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 0019 * 0020 * Author: 0021 * Eduardo Lima Mitev <elima@igalia.com> 0022 */ 0023 0024 #ifndef __JSON_GVARIANT_H__ 0025 #define __JSON_GVARIANT_H__ 0026 0027 #if !defined(__JSON_GLIB_INSIDE__) && !defined(JSON_COMPILATION) 0028 #error "Only <json-glib/json-glib.h> can be included directly." 0029 #endif 0030 0031 #include <json-glib/json-types.h> 0032 0033 G_BEGIN_DECLS 0034 0035 JSON_AVAILABLE_IN_1_0 0036 JsonNode * json_gvariant_serialize (GVariant *variant); 0037 JSON_AVAILABLE_IN_1_0 0038 gchar * json_gvariant_serialize_data (GVariant *variant, 0039 gsize *length); 0040 0041 JSON_AVAILABLE_IN_1_0 0042 GVariant * json_gvariant_deserialize (JsonNode *json_node, 0043 const gchar *signature, 0044 GError **error); 0045 JSON_AVAILABLE_IN_1_0 0046 GVariant * json_gvariant_deserialize_data (const gchar *json, 0047 gssize length, 0048 const gchar *signature, 0049 GError **error); 0050 0051 G_END_DECLS 0052 0053 #endif /* __JSON_GVARIANT_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |