diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-09 17:35:19 +0100 |
---|---|---|
committer | rodarima <rodarima@gmail.com> | 2024-03-09 18:43:51 +0100 |
commit | 4c56214b8c2e130d3709bdca2513aef20b7b0fab (patch) | |
tree | b8cd0c6dafb5850ba116221f6f39a62e84983aa5 /dpid | |
parent | bde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff) |
Use Doxygen comments for C files
Diffstat (limited to 'dpid')
-rw-r--r-- | dpid/dpidc.c | 2 | ||||
-rw-r--r-- | dpid/main.c | 6 | ||||
-rw-r--r-- | dpid/misc_new.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/dpid/dpidc.c b/dpid/dpidc.c index 1e0bb39f..ca610127 100644 --- a/dpid/dpidc.c +++ b/dpid/dpidc.c @@ -41,7 +41,7 @@ static void error(char *msg) exit(1); } -/* +/** * Read dpid's communication keys from its saved file. * Return value: 1 on success, -1 on error. */ diff --git a/dpid/main.c b/dpid/main.c index 823a243e..2c3c3271 100644 --- a/dpid/main.c +++ b/dpid/main.c @@ -53,7 +53,7 @@ int srs_fd; // end of fix -/* Start a dpi filter plugin after accepting the pending connection +/** Start a dpi filter plugin after accepting the pending connection * \Return * \li Child process ID on success * \li 0 on failure @@ -188,7 +188,7 @@ static int get_command(Dsh *sh, char *dpi_tag) return (COMMAND); } -/* +/** * Check whether a dpi server is running */ static int server_is_running(char *server_id) @@ -205,7 +205,7 @@ static int server_is_running(char *server_id) } -/* +/** * Get MAX open FD limit (yes, it's tricky --Jcid). */ static int get_open_max(void) diff --git a/dpid/misc_new.c b/dpid/misc_new.c index 50867bc3..94b4d320 100644 --- a/dpid/misc_new.c +++ b/dpid/misc_new.c @@ -125,7 +125,7 @@ int a_Misc_nohang_rdtag(int socket, int timeout, Dstr **tag) } */ -/* +/** * Alternative to mkdtemp(). * Not as strong as mkdtemp, but enough for creating a directory. */ @@ -141,8 +141,8 @@ char *a_Misc_mkdtemp(char *template) return template; } -/* - * Return a new, nonexistent file name from a template +/** + * Return a new, nonexistent file name from a template. * (adapted from dietlibc; alternative to mkdtemp()) */ char *a_Misc_mkfname(char *template) @@ -176,7 +176,7 @@ char *a_Misc_mkfname(char *template) } } -/* +/** * Return a new, random hexadecimal string of 'nchar' characters. */ char *a_Misc_mksecret(int nchar) |