#include <companion_gdbus.h>
#include <sys/types.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
typedef struct {
GMainLoop *main_loop;
//GDBusConnection *connection;
comp_context_t *comp_context_get_context();
+#ifdef __cplusplus
+}
+#endif
#endif
#include <comp_group.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
Group *group_dbus_get_object();
gboolean group_create(Group *group, GDBusMethodInvocation *invocation, gchar *group_name,
void notify_send_data_finish(char *resp_data, int ret);
void notify_request_result(char *cmd, char *arg, int ret);
+#ifdef __cplusplus
+}
+#endif
#endif
#include <comp_iot.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
typedef struct {
char *uri_path;
char *device_id;
int comp_group_request_eject(char *uuid, char *group_name, char *target_uuid);
int comp_group_request_delete_group(char *uuid, char *group_name);
+#ifdef __cplusplus
+}
+#endif
#endif
#include <comp_resource.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#define SVR_PATH "/tmp/.svr.dat"
typedef struct _iot_discovery_t {
int comp_iot_discovery_resource(comp_resource_type_e resource_type, int timeout, void *user_data);
int comp_iot_deinitialize();
+#ifdef __cplusplus
+}
+#endif
#endif
#include <iotcon.h>
#include <comp_context.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
typedef struct {
comp_resource_type_e resource_type;
char *type;
int comp_resource_get_resource_from_uri(comp_resource_type_e resource_type,
char *uri, iotcon_resource_h *parent_resource);
+#ifdef __cplusplus
+}
+#endif
#endif