X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/531a8ecd1dc7d4f827db9a2fc2090d9c4878ea17..eea34c085e661c3315196e2e6f5bd73fab8fdbe0:/lib/client-stubs.h diff --git a/lib/client-stubs.h b/lib/client-stubs.h index d487772..8182213 100644 --- a/lib/client-stubs.h +++ b/lib/client-stubs.h @@ -427,6 +427,14 @@ int disorder_set(disorder_client *c, const char *track, const char *pref, const */ int disorder_set_global(disorder_client *c, const char *pref, const char *value); +/** @brief Request server shutdown + * + * Requires the 'admin' right. + * + * @return 0 on success, non-0 on error + */ +int disorder_shutdown(disorder_client *c); + /** @brief Get server statistics * * The details of what the server reports are not really defined. The returned strings are intended to be printed out one to a line..