summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice-glue/cbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice-glue/cbuf.h')
-rw-r--r--include/libimobiledevice-glue/cbuf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/libimobiledevice-glue/cbuf.h b/include/libimobiledevice-glue/cbuf.h
index 01e2f43..2463af7 100644
--- a/include/libimobiledevice-glue/cbuf.h
+++ b/include/libimobiledevice-glue/cbuf.h
@@ -22,14 +22,16 @@
#ifndef __CBUF_H
#define __CBUF_H
+#include <libimobiledevice-glue/glue.h>
+
struct char_buf {
unsigned char* data;
unsigned int length;
unsigned int capacity;
};
-struct char_buf* char_buf_new();
-void char_buf_free(struct char_buf* cbuf);
-void char_buf_append(struct char_buf* cbuf, unsigned int length, unsigned char* data);
+LIMD_GLUE_API struct char_buf* char_buf_new();
+LIMD_GLUE_API void char_buf_free(struct char_buf* cbuf);
+LIMD_GLUE_API void char_buf_append(struct char_buf* cbuf, unsigned int length, unsigned char* data);
#endif /* __CBUF_H */