summaryrefslogtreecommitdiffstats
path: root/ipecamera.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipecamera.h')
-rw-r--r--ipecamera.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipecamera.h b/ipecamera.h
index 42994ba..d5e52d2 100644
--- a/ipecamera.h
+++ b/ipecamera.h
@@ -33,7 +33,15 @@ typedef struct {
size_t raw_size; /**< Indicates the actual size of raw data */
} ipecamera_event_info_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int ipecamera_set_buffer_size(ipecamera_t *ctx, int size);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _IPECAMERA_H */