From 024e755d9f3c33e742ce158542b1ded057a88f4f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 27 May 2011 14:55:31 +0200 Subject: Make libplist glib free --- src/plist.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/plist.h') 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 #include -#include #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 -- cgit v1.1-32-gdbae