diff options
author | Nikias Bassen | 2011-05-27 14:55:31 +0200 |
---|---|---|
committer | Nikias Bassen | 2011-05-27 14:55:31 +0200 |
commit | 024e755d9f3c33e742ce158542b1ded057a88f4f (patch) | |
tree | 7f80705e0c3dd35fd86fcd943dbf0d0c6b9b78ab /src/plist.h | |
parent | 94cb55d34dd9cb9bda539999dc017af76ec64a4f (diff) | |
download | libplist-024e755d9f3c33e742ce158542b1ded057a88f4f.tar.gz libplist-024e755d9f3c33e742ce158542b1ded057a88f4f.tar.bz2 |
Make libplist glib free
Diffstat (limited to 'src/plist.h')
-rw-r--r-- | src/plist.h | 13 |
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 @@ #define PLIST_H #include "plist/plist.h" - +#include "common.h" #include <sys/types.h> #include <sys/stat.h> -#include <glib.h> #ifdef _MSC_VER #pragma warning(disable:4996) @@ -44,7 +43,7 @@ struct plist_data_s double realval; char *strval; uint8_t *buff; - GTimeVal timeval; + struct timeval timeval; }; uint64_t length; plist_type type; @@ -52,10 +51,10 @@ struct plist_data_s typedef struct plist_data_s *plist_data_t; -G_GNUC_INTERNAL plist_t plist_new_node(plist_data_t data); -G_GNUC_INTERNAL plist_data_t plist_get_data(const plist_t node); -G_GNUC_INTERNAL plist_data_t plist_new_plist_data(void); -G_GNUC_INTERNAL gboolean plist_data_compare(gconstpointer a, gconstpointer b); +_PLIST_INTERNAL plist_t plist_new_node(plist_data_t data); +_PLIST_INTERNAL plist_data_t plist_get_data(const plist_t node); +_PLIST_INTERNAL plist_data_t plist_new_plist_data(void); +_PLIST_INTERNAL int plist_data_compare(const void *a, const void *b); #endif |