We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d60a6 commit 0e61ed7Copy full SHA for 0e61ed7
src/svc.h
@@ -286,6 +286,7 @@ static inline void svc_started (svc_t *svc) { if (svc) svc->starting = 0;
286
static inline int svc_is_starting (svc_t *svc) { return svc && 0 != svc->starting; }
287
static inline int svc_is_running (svc_t *svc) { return svc && svc->state == SVC_RUNNING_STATE; }
288
static inline int svc_is_stopping (svc_t *svc) { return svc && svc->state == SVC_STOPPING_STATE; }
289
+static inline int svc_is_stopped (svc_t *svc) { return svc && svc->block == SVC_BLOCK_USER; }
290
291
static inline int svc_is_removed (svc_t *svc) { return svc && svc->removed; }
292
static inline int svc_is_changed (svc_t *svc) { return svc && 0 != svc->dirty; }
0 commit comments