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:267
int sws_end_daemon(void)
Terminate the daemon.
Definition: optionproc.c:589
int sws_show_status(void)
Display clients with active locks to stdout.
Definition: optionproc.c:112
BEGIN_C_DECLS char locks_held[]
Holds the number of locks currently held during swc_client_wait().
Definition: optionproc.c:100
int sws_show_block_status(void)
Display status of server blocking.
Definition: optionproc.c:168
int sws_show_cli_blocklist(void)
Display list of blocked clients to stdout.
Definition: optionproc.c:315
int sws_srv_block(void)
Request server blocking.
Definition: optionproc.c:219
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:537
int sws_reload_config(void)
Request the daemon to reload the config file.
Definition: optionproc.c:639
int sws_release(char *lockname)
Remove a lock.
Definition: optionproc.c:430
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:370
int sws_cli_block(char *blockname)
Set a client to blocked.
Definition: optionproc.c:485