summaryrefslogtreecommitdiff
path: root/node-startup-controller/glib-extensions.h
blob: 8602841c31e1e701383342e84a3b55612d388f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* vi:set et ai sw=2 sts=2 ts=2: */
/* -
 * Copyright (c) 2012 GENIVI.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

#ifndef __GLIB_EXTENSIONS_H__
#define __GLIB_EXTENSIONS_H__

#include <glib.h>

G_BEGIN_DECLS

GVariant *g_variant_lookup_value_with_int_key (GVariant           *dictionary,
                                               const gint          key,
                                               const GVariantType *expected_type);
gboolean  g_variant_string_array_has_string   (GVariant           *array,
                                               const gchar        *str);
gint      g_int_pointer_compare               (gconstpointer       a,
                                               gconstpointer       b);

G_END_DECLS

#endif /* !__GLIB_EXTENSION_H__ */