From a61bf8db90c196355975f6eda717a67d6381e331 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 23 Mar 2021 11:22:43 +1000 Subject: [PATCH] * f2b_csocket_*() : update docs --- src/csocket.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/csocket.h b/src/csocket.h index 498a698..0420159 100644 --- a/src/csocket.h +++ b/src/csocket.h @@ -17,15 +17,15 @@ typedef struct f2b_csock_t f2b_csock_t; */ /** - * @brief Create UNIX socket with given path - * @param path Path to socket endpoint - * @returns Socket fd + * @brief Create control socket + * @param spec String with socket path/address specification + * @returns Allocated socket struct */ -f2b_csock_t * f2b_csocket_create (const char *path); +f2b_csock_t * f2b_csocket_create (const char *spec); + /** - * @brief Close UNIX socket and unlink endpoint - * @param csock Socket fd - * @param path Path to socket endpoint + * @brief Destroy socket struct and free resources + * @param csock Socket struct */ void f2b_csocket_destroy(f2b_csock_t *csock);