diff options
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 @@ | |||
| 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 | ||
| 53 | typedef struct plist_data_s *plist_data_t; | 52 | typedef struct plist_data_s *plist_data_t; |
| 54 | 53 | ||
| 55 | G_GNUC_INTERNAL plist_t plist_new_node(plist_data_t data); | 54 | _PLIST_INTERNAL plist_t plist_new_node(plist_data_t data); |
| 56 | G_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); |
| 57 | G_GNUC_INTERNAL plist_data_t plist_new_plist_data(void); | 56 | _PLIST_INTERNAL plist_data_t plist_new_plist_data(void); |
| 58 | G_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 |
