diff options
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/dbus-service.c | 3 | ||||
-rw-r--r-- | hcid/dbus-service.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index 7de4d49b..4c1c488c 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -920,6 +920,9 @@ static struct service *create_service(const char *file) service->descr = g_key_file_get_string(keyfile, SERVICE_GROUP, "Description", NULL); + service->ident = g_key_file_get_string(keyfile, SERVICE_GROUP, + "Identifier", NULL); + g_key_file_free(keyfile); return service; diff --git a/hcid/dbus-service.h b/hcid/dbus-service.h index 7aa4249d..8d513235 100644 --- a/hcid/dbus-service.h +++ b/hcid/dbus-service.h @@ -43,6 +43,7 @@ struct service { char *exec; /* Location of executable */ char *name; char *descr; + char *ident; GSList *trusted_devices; GSList *records; /* list of binary records */ |