From a71c92b33dc69bc6cbc5eae161f82a5bca27a82f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 25 Mar 2018 12:14:06 +0200 Subject: Unify naming of service to shorthand svc Signed-off-by: David Oberhollenzer --- lib/include/service.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/include') 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); -- cgit v1.2.3