mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
Refactor, create svc_find_by_cond() from api.c callback
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
12e341fe73
commit
e589c5b269
3 files changed
+26
-14
No files matched your search
@@ -201,6 +201,7 @@ void svc_validate (svc_t *svc);
|
||||
|
||||
svc_t *svc_find (char *name, char *id);
|
||||
svc_t *svc_find_by_pid (pid_t pid);
|
||||
svc_t *svc_find_by_cond (const char *cond);
|
||||
svc_t *svc_find_by_jobid (int job, char *id);
|
||||
svc_t *svc_find_by_tty (char *dev);
|
||||
svc_t *svc_find_by_pidfile (char *fn);
|
||||
|
||||
Reference in new issue
Block a user