summaryrefslogtreecommitdiff
path: root/client/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/commands.h')
-rw-r--r--client/commands.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/client/commands.h b/client/commands.h
index 6ae9029b..b2d606c6 100644
--- a/client/commands.h
+++ b/client/commands.h
@@ -20,7 +20,20 @@
*
*/
+#ifndef __CONNMANCTL_COMMANDS_H
+#define __CONNMANCTL_COMMANDS_H
+
#include <dbus/dbus.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int __connmanctl_commands(DBusConnection *connection, char *argv[], int argc);
char *__connmanctl_lookup_command(const char *text, int state);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __CONNMANCTL_COMMANDS_H */