summaryrefslogtreecommitdiffstats
path: root/src/plist.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-05-27 14:55:31 +0200
committerGravatar Nikias Bassen2011-05-27 14:55:31 +0200
commit024e755d9f3c33e742ce158542b1ded057a88f4f (patch)
tree7f80705e0c3dd35fd86fcd943dbf0d0c6b9b78ab /src/plist.h
parent94cb55d34dd9cb9bda539999dc017af76ec64a4f (diff)
downloadlibplist-024e755d9f3c33e742ce158542b1ded057a88f4f.tar.gz
libplist-024e755d9f3c33e742ce158542b1ded057a88f4f.tar.bz2
Make libplist glib free
Diffstat (limited to 'src/plist.h')
-rw-r--r--src/plist.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/plist.h b/src/plist.h
index 12578af..036fd42 100644
--- a/src/plist.h
+++ b/src/plist.h
@@ -23,11 +23,10 @@
23#define PLIST_H 23#define PLIST_H
24 24
25#include "plist/plist.h" 25#include "plist/plist.h"
26 26#include "common.h"
27 27
28#include <sys/types.h> 28#include <sys/types.h>
29#include <sys/stat.h> 29#include <sys/stat.h>
30#include <glib.h>
31 30
32#ifdef _MSC_VER 31#ifdef _MSC_VER
33#pragma warning(disable:4996) 32#pragma warning(disable:4996)
@@ -44,7 +43,7 @@ struct plist_data_s
44 double realval; 43 double realval;
45 char *strval; 44 char *strval;
46 uint8_t *buff; 45 uint8_t *buff;
47 GTimeVal timeval; 46 struct timeval timeval;
48 }; 47 };
49 uint64_t length; 48 uint64_t length;
50 plist_type type; 49 plist_type type;
@@ -52,10 +51,10 @@ struct plist_data_s
52 51
53typedef struct plist_data_s *plist_data_t; 52typedef struct plist_data_s *plist_data_t;
54 53
55G_GNUC_INTERNAL plist_t plist_new_node(plist_data_t data); 54_PLIST_INTERNAL plist_t plist_new_node(plist_data_t data);
56G_GNUC_INTERNAL plist_data_t plist_get_data(const plist_t node); 55_PLIST_INTERNAL plist_data_t plist_get_data(const plist_t node);
57G_GNUC_INTERNAL plist_data_t plist_new_plist_data(void); 56_PLIST_INTERNAL plist_data_t plist_new_plist_data(void);
58G_GNUC_INTERNAL gboolean plist_data_compare(gconstpointer a, gconstpointer b); 57_PLIST_INTERNAL int plist_data_compare(const void *a, const void *b);
59 58
60 59
61#endif 60#endif