54 #ifndef LIBSWOCSERVER_H
55 #define LIBSWOCSERVER_H
57 #include <libmgec/mge-portability.h>
char * libswocserver_get_src_version(void)
Get the source version.
Definition: version.c:55
int sws_srv_unblock(void)
Request removal of server blocking.
Definition: optionproc.c:274
int sws_end_daemon(void)
Terminate the daemon.
Definition: optionproc.c:600
int sws_show_status(void)
Display clients with active locks to stdout.
Definition: optionproc.c:119
BEGIN_C_DECLS char locks_held[]
Holds the number of locks currently held during swc_client_wait().
Definition: optionproc.c:106
int sws_show_block_status(void)
Display status of server blocking.
Definition: optionproc.c:175
int sws_show_cli_blocklist(void)
Display list of blocked clients to stdout.
Definition: optionproc.c:322
int sws_srv_block(void)
Request server blocking.
Definition: optionproc.c:226
void libswocserver_print_pkg_version(void)
Print the package version string to stdout.
Definition: version.c:63
char * libswocserver_get_pkg_version(void)
Get the git-describe based package version.
Definition: version.c:46
int sws_cli_unblock(char *blockname)
Unblock a client block.
Definition: optionproc.c:547
int sws_reload_config(void)
Request the daemon to reload the config file.
Definition: optionproc.c:650
int sws_release(char *lockname)
Remove a lock.
Definition: optionproc.c:438
void libswocserver_print_src_version(void)
Print the source version string to stdout.
Definition: version.c:72
int sws_server_wait(void)
Wait until no client locks remain.
Definition: optionproc.c:377
int sws_cli_block(char *blockname)
Set a client to blocked.
Definition: optionproc.c:494