42 #ifndef LIBSWOCCLIENT_H
43 #define LIBSWOCCLIENT_H
45 #include <libmgec/mge-portability.h>
BEGIN_C_DECLS char locks_held[]
Holds the number of locks currently held during swc_client_wait().
Definition: optionproc.c:106
void libswocclient_print_src_version(void)
Print the source version string to stdout.
Definition: version.c:76
int swc_set_lock(void)
Set lock flag on server.
Definition: optionproc.c:314
int swc_client_wait(char *cnumlocks)
Wait until only a maximum of cnumlocks for this client remains.
Definition: optionproc.c:416
int swc_reset(void)
Reset the client on the server to 0 locks and unblocked.
Definition: optionproc.c:495
void libswocclient_print_pkg_version(void)
Print the package version string to stdout.
Definition: version.c:67
int swc_block(void)
Set block flag on server to prevent this client from setting any more locks.
Definition: optionproc.c:216
int swc_show_status(void)
Display client's lock status.
Definition: optionproc.c:113
int swc_show_srv_block_status(void)
Display status of server blocking.
Definition: optionproc.c:165
int swc_unblock(void)
Remove block flag on server to allow this client to set locks.
Definition: optionproc.c:265
char * libswocclient_get_pkg_version(void)
Get the git-describe based package version.
Definition: version.c:50
int swc_rel_lock(void)
Release lock flag on server.
Definition: optionproc.c:363
char * libswocclient_get_src_version(void)
Get the source version.
Definition: version.c:59