aboutsummaryrefslogtreecommitdiff
path: root/lib/include/service.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-21 22:19:43 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-22 13:41:18 +0200
commit160cd6b6aaffc12fb8cff0e6a9b8e1e0ba7053d0 (patch)
tree08caea2de35007173a168c65d41ff26fd71b8b0d /lib/include/service.h
parent32113521eb21b36cd26ebde5c15aac09c7212ee6 (diff)
Store original file name in service structure
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/include/service.h')
-rw-r--r--lib/include/service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/include/service.h b/lib/include/service.h
index 595c60e..c68ff90 100644
--- a/lib/include/service.h
+++ b/lib/include/service.h
@@ -53,6 +53,8 @@ typedef struct exec_t {
typedef struct service_t {
struct service_t *next;
+ char *fname; /* source file name */
+
int type; /* SVC_* service type */
int target; /* TGT_* service target */
char *desc; /* description string */