diff options
Diffstat (limited to 'include/libimobiledevice-glue/tlv.h')
-rw-r--r-- | include/libimobiledevice-glue/tlv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libimobiledevice-glue/tlv.h b/include/libimobiledevice-glue/tlv.h index 42be4f6..28cf2b9 100644 --- a/include/libimobiledevice-glue/tlv.h +++ b/include/libimobiledevice-glue/tlv.h @@ -31,6 +31,10 @@ struct tlv_buf { }; typedef struct tlv_buf* tlv_buf_t; +#ifdef __cplusplus +extern "C" { +#endif + LIMD_GLUE_API tlv_buf_t tlv_buf_new(); LIMD_GLUE_API void tlv_buf_free(tlv_buf_t tlv); @@ -40,4 +44,8 @@ LIMD_GLUE_API int tlv_data_get_uint(const void* tlv_data, unsigned int tlv_lengt LIMD_GLUE_API int tlv_data_get_uint8(const void* tlv_data, unsigned int tlv_length, uint8_t tag, uint8_t* value); LIMD_GLUE_API int tlv_data_copy_data(const void* tlv_data, unsigned int tlv_length, uint8_t tag, void** out, unsigned int* out_len); +#ifdef __cplusplus +} +#endif + #endif /* __TLV_H */ |