From: Tollef Fog Heen Date: Fri, 18 Jul 2008 08:49:45 +0000 (+0200) Subject: Remove completely wrong function documentation X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1a1984415b62539f43b38dc57cc8c847197667;p=backuppcd Remove completely wrong function documentation --- diff --git a/backuppcd.c b/backuppcd.c index 7bbf7ba..5a1dafa 100644 --- a/backuppcd.c +++ b/backuppcd.c @@ -1367,21 +1367,6 @@ static void backuppc_bufuse(struct backuppc_client_info *node, const size_t amou return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ); - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_bufmemcpy(struct backuppc_client_info *src, void *dst, size_t n) { if (src->bufsize < n) { @@ -1397,21 +1382,6 @@ static int backuppc_bufmemcpy(struct backuppc_client_info *src, void *dst, size_ return(1); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ); - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_outbufmemcpy(struct backuppc_client_info *dst, const void *src, size_t n) { size_t bytesleft; unsigned long newoutbufsize; @@ -1463,23 +1433,6 @@ static int backuppc_outbufmemcpy(struct backuppc_client_info *dst, const void *s return(1); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ); - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * For type = BPC_DT_STRING_PTR, must be a pointer to (char *) NULL initially, or allocated - * size + 1 or greater. - * - */ static int backuppc_readvalues(struct backuppc_client_info *client, backuppc_recv_mark_t rmid, ...) { struct backuppc_client_prochandle *ph; backuppc_datatypes_t typeid; @@ -1601,21 +1554,6 @@ static int backuppc_readvalues(struct backuppc_client_info *client, backuppc_rec return(1); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_writevalues(struct backuppc_client_info *client, backuppc_send_mark_t smid, ...) { struct backuppc_client_prochandle *ph; backuppc_datatypes_t typeid; @@ -1703,21 +1641,6 @@ static int backuppc_writevalues(struct backuppc_client_info *client, backuppc_se return(1); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static void backuppc_process_listget_init(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; int i; @@ -1739,21 +1662,6 @@ static void backuppc_process_listget_init(struct backuppc_client_info *client) { return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static void backuppc_process_listget_fini(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; int i; @@ -1778,21 +1686,6 @@ static void backuppc_process_listget_fini(struct backuppc_client_info *client) { return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_process_listget(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; ssize_t read_ret, get_attr_ret; @@ -2082,21 +1975,6 @@ static int backuppc_process_listget(struct backuppc_client_info *client) { return(0); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static void backuppc_process_auth_init(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; @@ -2108,21 +1986,6 @@ static void backuppc_process_auth_init(struct backuppc_client_info *client) { return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static void backuppc_process_auth_fini(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; @@ -2164,21 +2027,6 @@ static char * sha1sum(char *string) { return(ret); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_process_auth(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; backuppc_status_t auth_stat = BPC_STATUS_UNKNOWN; @@ -2263,21 +2111,6 @@ static int backuppc_process_auth(struct backuppc_client_info *client) { return(0);; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static void backuppc_process_client_init(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; int i; @@ -2312,21 +2145,6 @@ static void backuppc_process_client_init(struct backuppc_client_info *client) { return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static void backuppc_process_client_fini(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; @@ -2348,21 +2166,6 @@ static void backuppc_process_client_fini(struct backuppc_client_info *client) { return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_process_client(struct backuppc_client_info *client) { struct backuppc_client_prochandle *ph; uint8_t tmp_cmd; @@ -2437,21 +2240,6 @@ static int backuppc_process_client(struct backuppc_client_info *client) { return(0); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ static int backuppc_verify_addr(uint32_t addr) { return(1); } @@ -3670,22 +3458,6 @@ static void daemon_start(int argc, char **argv) { return; } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ); - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ - static int backuppc_opt_remove_svc(void) { if (daemon_remove() < 0) { exit(EXIT_FAILURE); @@ -3694,22 +3466,6 @@ static int backuppc_opt_remove_svc(void) { exit(EXIT_SUCCESS); } -/* - * SYNOPSIS: - * static void backuppc_pathmangle( - * char *pathname - * ) - * - * ARGUMENTS: - * char *pathname Pathname to mangle. - * - * RETURN VALUE: - * (none) - * - * NOTES: - * - */ - static int backuppc_opt_stop_svc(void) { if (daemon_stop() < 0) { exit(EXIT_FAILURE);