summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice-glue/collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libimobiledevice-glue/collection.h')
-rw-r--r--include/libimobiledevice-glue/collection.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/libimobiledevice-glue/collection.h b/include/libimobiledevice-glue/collection.h
index df1680c..46ef461 100644
--- a/include/libimobiledevice-glue/collection.h
+++ b/include/libimobiledevice-glue/collection.h
@@ -22,17 +22,19 @@
#ifndef COLLECTION_H
#define COLLECTION_H
+#include <libimobiledevice-glue/glue.h>
+
struct collection {
void **list;
int capacity;
};
-void collection_init(struct collection *col);
-void collection_add(struct collection *col, void *element);
-int collection_remove(struct collection *col, void *element);
-int collection_count(struct collection *col);
-void collection_free(struct collection *col);
-void collection_copy(struct collection *dest, struct collection *src);
+LIMD_GLUE_API void collection_init(struct collection *col);
+LIMD_GLUE_API void collection_add(struct collection *col, void *element);
+LIMD_GLUE_API int collection_remove(struct collection *col, void *element);
+LIMD_GLUE_API int collection_count(struct collection *col);
+LIMD_GLUE_API void collection_free(struct collection *col);
+LIMD_GLUE_API void collection_copy(struct collection *dest, struct collection *src);
#define MERGE_(a,b) a ## _ ## b
#define LABEL_(a,b) MERGE_(a, b)