diff options
Diffstat (limited to 'include/libimobiledevice-glue/utils.h')
-rw-r--r-- | include/libimobiledevice-glue/utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libimobiledevice-glue/utils.h b/include/libimobiledevice-glue/utils.h index 355f1da..dd12265 100644 --- a/include/libimobiledevice-glue/utils.h +++ b/include/libimobiledevice-glue/utils.h @@ -31,6 +31,10 @@ #define MAC_EPOCH 978307200 +#ifdef __cplusplus +extern "C" { +#endif + LIMD_GLUE_API char *string_concat(const char *str, ...); LIMD_GLUE_API char *string_append(char *str, ...); LIMD_GLUE_API char *string_build_path(const char *elem, ...); @@ -41,4 +45,8 @@ LIMD_GLUE_API char *generate_uuid(void); LIMD_GLUE_API int buffer_read_from_filename(const char *filename, char **buffer, uint64_t *length); LIMD_GLUE_API int buffer_write_to_filename(const char *filename, const char *buffer, uint64_t length); +#ifdef __cplusplus +} +#endif + #endif |