diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2022-01-05 00:50:10 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2022-01-05 00:50:10 +0300 |
commit | 9d822c6f5ead1480d71f3e4d8b31fa2a9391020b (patch) | |
tree | 6ed3e6693afcd38fc32da689f0168d87cf709d4b /src/libs/zbxcomms | |
parent | 729a48cff3694ccaa49ef292adb5913894de8c9a (diff) |
.......... [DEV-2051] removed functions names from the function comments
Diffstat (limited to 'src/libs/zbxcomms')
-rw-r--r-- | src/libs/zbxcomms/comms.c | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/libs/zbxcomms/comms.c b/src/libs/zbxcomms/comms.c index 2a56b617c12..b03c52f0d50 100644 --- a/src/libs/zbxcomms/comms.c +++ b/src/libs/zbxcomms/comms.c @@ -52,8 +52,6 @@ extern int CONFIG_TCP_MAX_BACKLOG_SIZE; /****************************************************************************** * * - * Function: zbx_socket_strerror * - * * * Purpose: return string describing tcp error * * * * Return value: pointer to the null terminated string * @@ -86,8 +84,6 @@ static void zbx_set_socket_strerror(const char *fmt, ...) /****************************************************************************** * * - * Function: zbx_socket_peer_ip_save * - * * * Purpose: get peer IP address info from a socket early while it is * * connected. Connection can be terminated due to various errors at * * any time and peer IP address will not be available anymore. * @@ -129,8 +125,6 @@ static int zbx_socket_peer_ip_save(zbx_socket_t *s) #ifndef _WINDOWS /****************************************************************************** * * - * Function: zbx_gethost_by_ip * - * * * Purpose: retrieve 'hostent' by IP address * * * * Author: Alexei Vladishev * @@ -187,8 +181,6 @@ void zbx_gethost_by_ip(const char *ip, char *host, size_t hostlen) /****************************************************************************** * * - * Function: zbx_getip_by_host * - * * * Purpose: retrieve IP address by host name * * * ******************************************************************************/ @@ -228,8 +220,6 @@ out: #ifdef _WINDOWS /****************************************************************************** * * - * Function: zbx_is_win_ver_or_greater * - * * * Purpose: check Windows version * * * * Parameters: major - [IN] major windows version * @@ -261,8 +251,6 @@ static int zbx_is_win_ver_or_greater(zbx_uint32_t major, zbx_uint32_t minor, zbx /****************************************************************************** * * - * Function: zbx_socket_start * - * * * Purpose: Initialize Windows Sockets APIs * * * * Parameters: error - [OUT] the error message * @@ -290,8 +278,6 @@ int zbx_socket_start(char **error) /****************************************************************************** * * - * Function: zbx_socket_clean * - * * * Purpose: initialize socket * * * * Author: Alexei Vladishev * @@ -306,8 +292,6 @@ static void zbx_socket_clean(zbx_socket_t *s) /****************************************************************************** * * - * Function: zbx_socket_free * - * * * Purpose: free socket's dynamic buffer * * * * Author: Alexei Vladishev * @@ -321,8 +305,6 @@ static void zbx_socket_free(zbx_socket_t *s) /****************************************************************************** * * - * Function: zbx_socket_timeout_set * - * * * Purpose: set timeout for socket operations * * * * Parameters: s - [IN] socket descriptor * @@ -355,8 +337,6 @@ void zbx_socket_timeout_set(zbx_socket_t *s, int timeout) /****************************************************************************** * * - * Function: zbx_socket_timeout_cleanup * - * * * Purpose: clean up timeout for socket operations * * * * Parameters: s - [OUT] socket descriptor * @@ -377,8 +357,6 @@ static void zbx_socket_timeout_cleanup(zbx_socket_t *s) /****************************************************************************** * * - * Function: zbx_socket_connect * - * * * Purpose: connect to the specified address with an optional timeout value * * * * Parameters: s - [IN] socket descriptor * @@ -488,8 +466,6 @@ static int zbx_socket_connect(zbx_socket_t *s, const struct sockaddr *addr, sock /****************************************************************************** * * - * Function: zbx_socket_create * - * * * Purpose: connect the socket of the specified type to external host * * * * Parameters: s - [OUT] socket descriptor * @@ -793,8 +769,6 @@ static ssize_t zbx_tcp_write(zbx_socket_t *s, const char *buf, size_t len) /****************************************************************************** * * - * Function: zbx_tcp_send_ext * - * * * Purpose: send data * * * * Return value: SUCCEED - success * @@ -951,8 +925,6 @@ cleanup: /****************************************************************************** * * - * Function: zbx_tcp_close * - * * * Purpose: close open TCP socket * * * * Author: Alexei Vladishev * @@ -970,8 +942,6 @@ void zbx_tcp_close(zbx_socket_t *s) /****************************************************************************** * * - * Function: get_address_family * - * * * Purpose: return address family * * * * Parameters: addr - [IN] address or hostname * @@ -1021,8 +991,6 @@ out: /****************************************************************************** * * - * Function: zbx_tcp_listen * - * * * Purpose: create socket for listening * * * * Return value: SUCCEED - success * @@ -1410,8 +1378,6 @@ void zbx_tcp_unlisten(zbx_socket_t *s) /****************************************************************************** * * - * Function: zbx_tcp_accept * - * * * Purpose: permits an incoming connection attempt on a socket * * * * Return value: SUCCEED - success * @@ -1535,8 +1501,6 @@ out: /****************************************************************************** * * - * Function: zbx_tcp_unaccept * - * * * Purpose: close accepted connection * * * * Author: Eugene Grigorjev * @@ -1561,8 +1525,6 @@ void zbx_tcp_unaccept(zbx_socket_t *s) /****************************************************************************** * * - * Function: zbx_socket_find_line * - * * * Purpose: finds the next line in socket data buffer * * * * Parameters: s - [IN] the socket * @@ -1595,8 +1557,6 @@ static const char *zbx_socket_find_line(zbx_socket_t *s) /****************************************************************************** * * - * Function: zbx_tcp_recv_line * - * * * Purpose: reads next line from a socket * * * * Parameters: s - [IN] the socket * @@ -1768,8 +1728,6 @@ static ssize_t zbx_tcp_read(zbx_socket_t *s, char *buf, size_t len) /****************************************************************************** * * - * Function: zbx_tcp_recv_ext * - * * * Purpose: receive data * * * * Return value: number of bytes received - success, * @@ -2035,8 +1993,6 @@ out: /****************************************************************************** * * - * Function: zbx_tcp_recv_raw_ext * - * * * Purpose: receive data till connection is closed * * * * Return value: number of bytes received - success, * @@ -2145,8 +2101,6 @@ static int subnet_match(int af, unsigned int prefix_size, const void *address1, /****************************************************************************** * * - * Function: zbx_ip_cmp * - * * * Purpose: check if the address belongs to the given subnet * * * * Parameters: prefix_size - [IN] subnet prefix size * @@ -2299,8 +2253,6 @@ int zbx_validate_peer_list(const char *peer_list, char **error) /****************************************************************************** * * - * Function: zbx_tcp_check_allowed_peers * - * * * Purpose: check if connection initiator is in list of peers * * * * Parameters: s - [IN] socket descriptor * @@ -2383,8 +2335,6 @@ int zbx_tcp_check_allowed_peers(const zbx_socket_t *s, const char *peer_list) /****************************************************************************** * * - * Function: zbx_tcp_connection_type_name * - * * * Purpose: translate connection type code to name * * * ******************************************************************************/ |