X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/4d80373d26cd9ce5da4cbf5b0ddbf36650f25b11..8ab2aa9fd51a89e06d92a4f7c3792aaa4a08cc71:/lib/client.h diff --git a/lib/client.h b/lib/client.h index 4210b60..c06d1e4 100644 --- a/lib/client.h +++ b/lib/client.h @@ -18,6 +18,9 @@ /** @file lib/client.h * @brief Simple C client * + * See @ref lib/client-stubs.h for the (generated) per-command entry + * points. + * * See @ref lib/eclient.h for an asynchronous-capable client * implementation. */ @@ -36,6 +39,11 @@ struct kvp; struct sink; disorder_client *disorder_new(int verbose); +void disorder_force_unpriv(disorder_client *c); +int disorder_client_sockname(disorder_client *c, + struct sockaddr *sa, socklen_t *len_inout); +int disorder_client_peername(disorder_client *c, + struct sockaddr *sa, socklen_t *len_inout); int disorder_connect(disorder_client *c); int disorder_connect_user(disorder_client *c, const char *username,