diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 01:55:08 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 01:55:08 +0100 |
commit | f97add9041c7cf330d2743b1dca9267676bdaa72 (patch) | |
tree | 7b1a5b4418367e1462d912cdff17a1b2d1173c37 /lib/include/service.h | |
parent | 9257f12e68794a557496637e2fa951738a37af26 (diff) |
Add file with service enum conversion functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/include/service.h')
-rw-r--r-- | lib/include/service.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/include/service.h b/lib/include/service.h index 6808bdd..dd7700c 100644 --- a/lib/include/service.h +++ b/lib/include/service.h @@ -91,5 +91,13 @@ void del_srv_list(service_list_t *list); */ service_t *srv_tsort(service_t *list); +const char *svc_type_to_string(int type); + +int svc_type_from_string(const char *type); + +const char *svc_target_to_string(int target); + +int svc_target_from_string(const char *target); + #endif /* SERVICE_H */ |