chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stub + document shutdown command
[disorder]
/
lib
/
client-stubs.h
diff --git
a/lib/client-stubs.h
b/lib/client-stubs.h
index d487772682f7c134d3b1292af7a9be6cb30236b8..81822136720ce74483848fe8e79c79985a8449f8 100644
(file)
--- 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);
*/
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..
/** @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..