summaryrefslogtreecommitdiff
path: root/libnm-util/nm-util-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/nm-util-private.h')
-rw-r--r--libnm-util/nm-util-private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libnm-util/nm-util-private.h b/libnm-util/nm-util-private.h
index be55ee13db..5b3cb08046 100644
--- a/libnm-util/nm-util-private.h
+++ b/libnm-util/nm-util-private.h
@@ -24,9 +24,19 @@
#include <glib.h>
+#include "nm-string-table.h"
+
G_BEGIN_DECLS
typedef struct NMUtilPrivateData {
+ NMStringTable *(*f_nm_string_table_new) (NMStringTableCompareFunc compare, int argc, const NMStringTableTuple *args);
+ guint (*f_nm_string_table_size) (NMStringTable *table);
+ const char *const*(*f_nm_string_table_get_keys) (NMStringTable *table);
+ NMStringTableCompareFunc (*f_nm_string_table_get_compare_func) (NMStringTable *table);
+ gboolean (*f_nm_string_table_lookup_by_key) (NMStringTable *table, const char *key, int *out_idx, const char **out_key, gpointer **out_data);
+ gboolean (*f_nm_string_table_lookup_by_index) (NMStringTable *table, int idx, const char **out_key, gpointer **out_data);
+ gpointer (*f_nm_string_table_get_data_by_key) (NMStringTable *table, const char *key);
+ gpointer *(*f_nm_string_table_get_data) (NMStringTable *table);
} NMUtilPrivateData;
const NMUtilPrivateData *nm_util_get_private (void);