summaryrefslogtreecommitdiffstats
path: root/ipecamera.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-08-21 04:20:46 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-08-21 04:20:46 +0200
commitc392c9920f9baadc9267e726b46b9c64c82915c7 (patch)
tree91f3749ef5e3c3b2654348d2a9f3788452fde989 /ipecamera.h
parentfe3f8e3e172818741f32f5ea0bba27f77ca56a1a (diff)
downloadipecamera-c392c9920f9baadc9267e726b46b9c64c82915c7.tar.gz
ipecamera-c392c9920f9baadc9267e726b46b9c64c82915c7.tar.bz2
ipecamera-c392c9920f9baadc9267e726b46b9c64c82915c7.tar.xz
ipecamera-c392c9920f9baadc9267e726b46b9c64c82915c7.zip
Fix some warnings and add debugging information into the build
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 */