summaryrefslogtreecommitdiff
path: root/lib/include/service.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 12:14:06 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 12:14:06 +0200
commita71c92b33dc69bc6cbc5eae161f82a5bca27a82f (patch)
tree917eaeb4b2460345e122a00cbc32c7398f438d39 /lib/include/service.h
parenta108beaaf7b19198acbcc5435708d4ff0c8fb5df (diff)
Unify naming of service to shorthand svc
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/include/service.h')
-rw-r--r--lib/include/service.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/include/service.h b/lib/include/service.h
index dd7700c..28d73f1 100644
--- a/lib/include/service.h
+++ b/lib/include/service.h
@@ -71,9 +71,9 @@ typedef struct {
/*
Read a service from a file.
*/
-service_t *rdsrv(int dirfd, const char *filename);
+service_t *rdsvc(int dirfd, const char *filename);
-void delsrv(service_t *srv);
+void delsvc(service_t *svc);
/*
Rebuild a service list by scanning a directory and parsing all
@@ -82,14 +82,14 @@ void delsrv(service_t *srv);
Returns 0 on success, -1 on failure. The function takes care of
printing error messages on failure.
*/
-int srvscan(const char *directory, service_list_t *list);
+int svcscan(const char *directory, service_list_t *list);
-void del_srv_list(service_list_t *list);
+void del_svc_list(service_list_t *list);
/*
Sort a list of services by dependencies.
*/
-service_t *srv_tsort(service_t *list);
+service_t *svc_tsort(service_t *list);
const char *svc_type_to_string(int type);