From 96342de68d0d6de71a062d984dafd2a0905ed9fe Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 13 Aug 2012 13:58:01 +0200 Subject: service: add options RestartPreventExitStatus and SuccessExitStatus In some cases, like wrong configuration, restarting after error does not help, so administrator can specify statuses by RestartPreventExitStatus which will not cause restart of a service. Sometimes you have non-standart exit status, so this can be specified by SuccessfulExitStatus. --- src/shared/set.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/set.h') diff --git a/src/shared/set.h b/src/shared/set.h index c7b6231eed..a6c1d76b0e 100644 --- a/src/shared/set.h +++ b/src/shared/set.h @@ -40,6 +40,7 @@ int set_ensure_allocated(Set **s, hash_func_t hash_func, compare_func_t compare_ int set_put(Set *s, void *value); int set_replace(Set *s, void *value); void *set_get(Set *s, void *value); +bool set_contains(Set *s, void *value); void *set_remove(Set *s, void *value); int set_remove_and_put(Set *s, void *old_value, void *new_value); -- cgit v1.2.3-54-g00ecf