From c392c9920f9baadc9267e726b46b9c64c82915c7 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 21 Aug 2015 04:20:46 +0200 Subject: Fix some warnings and add debugging information into the build --- ipecamera.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ipecamera.h') 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 */ -- cgit v1.2.3