fn-manager: add prefix at each API
authorsaerome.kim <saerome.kim@samsung.com>
Wed, 10 Jan 2018 07:04:55 +0000 (16:04 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 2 Jul 2018 10:38:38 +0000 (19:38 +0900)
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
src/fn-manager/include/comp_mot_agent.h
src/fn-manager/src/comp_mot_agent.c

index ca975788b50438b28062dd0562a3a03ec5404d22..443c5575f31154ee4bdd82925b2f40601dd2ba91 100644 (file)
@@ -25,10 +25,10 @@ int agent_dbus_stop();
 
 int agent_enable();
 int agent_disable();
-int get_ownerid(char* deviceid);
-int find_mot_enable_devices();
-int find_mowned_devices();
-int mot_device(char* uuid_str, char *pin);
-int remove_mot_device(char* uuid_str);
+int agent_get_ownerid(char* deviceid);
+int agent_find_mot_enable_devices();
+int agent_find_mowned_devices();
+int agent_mot_device(char* uuid_str, char *pin);
+int agent_remove_mot_device(char* uuid_str);
 
  #endif /* __COMP_MOT_AGENT_H__ */
\ No newline at end of file
index c1f1ae53558e98e27a7e2cd8d81b0696b875bdae..1f80b55211d4e9b937b1b58a7211091bc949a8c2 100644 (file)
@@ -47,7 +47,7 @@ struct agent_s {
 };
 struct agent_s agent;
 
-int get_ownerid(char* deviceid)
+int agent_get_ownerid(char* deviceid)
 {
        GVariant *variant = NULL;
        int result = FN_ERROR_NONE;
@@ -72,7 +72,7 @@ int get_ownerid(char* deviceid)
        return result;
 }
 
-int find_mot_enable_devices()
+int agent_find_mot_enable_devices()
 {
        GVariant *variant = NULL;
        int result = FN_ERROR_NONE;
@@ -97,7 +97,7 @@ int find_mot_enable_devices()
        return result;
 }
 
-int find_mowned_devices()
+int agent_find_mowned_devices()
 {
        GVariant *variant = NULL;
        int result = FN_ERROR_NONE;
@@ -122,7 +122,7 @@ int find_mowned_devices()
        return result;
 }
 
-int mot_device(char* uuid_str, char *pin)
+int agent_mot_device(char* uuid_str, char *pin)
 {
        GVariant *variant = NULL;
        int result = FN_ERROR_NONE;
@@ -147,7 +147,7 @@ int mot_device(char* uuid_str, char *pin)
        return result;
 }
 
-int remove_mot_device(char* uuid_str)
+int agent_remove_mot_device(char* uuid_str)
 {
        GVariant *variant = NULL;
        int result = FN_ERROR_NONE;