52 #ifndef LIBSWOCSERVER_H
53 #define LIBSWOCSERVER_H
55 #include <portability.h>
char * libswocserver_get_src_version(void)
Get the source version.
Definition: version.c:53
int sws_srv_unblock(void)
Request removal of server blocking.
Definition: optionproc.c:271
int sws_end_daemon(void)
Terminate the daemon.
Definition: optionproc.c:597
int sws_show_status(void)
Display clients with active locks to stdout.
Definition: optionproc.c:116
BEGIN_C_DECLS char locks_held[]
Holds the number of locks currently held during swc_client_wait().
Definition: optionproc.c:103
int sws_show_block_status(void)
Display status of server blocking.
Definition: optionproc.c:172
int sws_show_cli_blocklist(void)
Display list of blocked clients to stdout.
Definition: optionproc.c:319
int sws_srv_block(void)
Request server blocking.
Definition: optionproc.c:223
void libswocserver_print_pkg_version(void)
Print the package version string to stdout.
Definition: version.c:61
char * libswocserver_get_pkg_version(void)
Get the git-describe based package version.
Definition: version.c:44
int sws_cli_unblock(char *blockname)
Unblock a client block.
Definition: optionproc.c:544
int sws_reload_config(void)
Request the daemon to reload the config file.
Definition: optionproc.c:647
int sws_release(char *lockname)
Remove a lock.
Definition: optionproc.c:435
void libswocserver_print_src_version(void)
Print the source version string to stdout.
Definition: version.c:70
int sws_server_wait(void)
Wait until no client locks remain.
Definition: optionproc.c:374
int sws_cli_block(char *blockname)
Set a client to blocked.
Definition: optionproc.c:491