X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/4d80373d26cd9ce5da4cbf5b0ddbf36650f25b11..6735af5fd1a4ae3978c0c31ac6026f15742c0a90:/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,