50 #ifndef LIBSWOCSERVER_H 51 #define LIBSWOCSERVER_H 53 #include <portability.h> int sws_show_block_status(void)
Display status of server blocking.
Definition: optionproc.c:166
int sws_show_status(void)
Display clients with active locks to stdout.
Definition: optionproc.c:110
char * libswocserver_get_src_version(void)
Get the source version.
Definition: version.c:52
int sws_srv_block(void)
Request server blocking.
Definition: optionproc.c:217
int sws_cli_block(char *blockname)
Set a client to blocked.
Definition: optionproc.c:483
int sws_cli_unblock(char *blockname)
Unblock a client block.
Definition: optionproc.c:535
int sws_release(char *lockname)
Remove a lock.
Definition: optionproc.c:428
char * libswocserver_get_pkg_version(void)
Get the git-describe based package version.
Definition: version.c:43
int sws_server_wait(void)
Wait until no client locks remain.
Definition: optionproc.c:368
int sws_srv_unblock(void)
Request removal of server blocking.
Definition: optionproc.c:265
int sws_reload_config(void)
Request the daemon to reload the config file.
Definition: optionproc.c:637
int sws_end_daemon(void)
Terminate the daemon.
Definition: optionproc.c:587
BEGIN_C_DECLS char locks_held[]
Holds the number of locks currently held during swc_client_wait().
Definition: optionproc.c:98
int sws_show_cli_blocklist(void)
Display list of blocked clients to stdout.
Definition: optionproc.c:313
void libswocserver_print_pkg_version(void)
Print the package version string to stdout.
Definition: version.c:60
void libswocserver_print_src_version(void)
Print the source version string to stdout.
Definition: version.c:69