diff options
-rw-r--r-- | client/commands.h | 13 | ||||
-rw-r--r-- | client/services.h | 13 |
2 files changed, 26 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 */ diff --git a/client/services.h b/client/services.h index 0af05ff6..9b555fe7 100644 --- a/client/services.h +++ b/client/services.h @@ -20,6 +20,19 @@ * */ +#ifndef __CONNMANCTL_SERVICES_H +#define __CONNMANCTL_SERVICES_H + #include <dbus/dbus.h> +#ifdef __cplusplus +extern "C" { +#endif + void __connmanctl_services_list(DBusMessageIter *iter); + +#ifdef __cplusplus +} +#endif + +#endif /* __CONNMANCTL_SERVICES_H */ |