summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/usbmuxd-proto.h
diff options
context:
space:
mode:
authorGravatar Hector Martin2010-07-01 20:33:22 +0200
committerGravatar Hector Martin2010-07-01 20:33:22 +0200
commit9679eeea4c0071b911f7591a09e8667086e447db (patch)
tree37800623d197a188cf018572dab368ec55da7ec1 /libusbmuxd/usbmuxd-proto.h
parente492ed1d13b51f95b3b96e54d2c3d9076a1910b4 (diff)
downloadusbmuxd-9679eeea4c0071b911f7591a09e8667086e447db.tar.gz
usbmuxd-9679eeea4c0071b911f7591a09e8667086e447db.tar.bz2
Add extern "C" to libusbmuxd headersv1.0.5
Diffstat (limited to 'libusbmuxd/usbmuxd-proto.h')
-rw-r--r--libusbmuxd/usbmuxd-proto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libusbmuxd/usbmuxd-proto.h b/libusbmuxd/usbmuxd-proto.h
index 390cd3d..be9e709 100644
--- a/libusbmuxd/usbmuxd-proto.h
+++ b/libusbmuxd/usbmuxd-proto.h
@@ -34,6 +34,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#define USBMUXD_SOCKET_FILE "/var/run/usbmuxd"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum usbmuxd_result {
RESULT_OK = 0,
RESULT_BADCOMMAND = 1,
@@ -86,4 +90,8 @@ struct usbmuxd_device_record {
uint32_t location;
} __attribute__((__packed__));
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __USBMUXD_PROTO_H */