zabbix-agent2/src/libs/zbxdbhigh/proxy.c
/******************************************************************************
 *                                                                            *
 * Function: zbx_strcatnl_alloc                                               *
 *                                                                            *
 * Purpose: appends text to the string on a new line                          *
 *                                                                            *
 ******************************************************************************/
zbx_strcatnl_alloc

Purpose: appends text to the string on a new line
zbx_strcatnl_alloc Purpose : appends text to the string on a new line
static void	zbx_strcatnl_alloc(char **info, size_t *info_alloc, size_t *info_offset, const char *text)
{
	if (0 != *info_offset)
		zbx_chrcpy_alloc(info, info_alloc, info_offset, '\n');
	zbx_strcpy_alloc(info, info_alloc, info_offset, text);
}
static void zbx_strcatnl_alloc ( char * * info , size_t * info_alloc , size_t * info_offset , const char * text ) { if ( 0 != * info_offset ) zbx_chrcpy_alloc ( info , info_alloc , info_offset , ' \n ' ) ; zbx_strcpy_alloc ( info , info_alloc , info_offset , text ) ; }
Function: zbx_strcatnl_alloc                                               
                                                                            
 Purpose: appends text to the string on a new line
Function : zbx_strcatnl_alloc Purpose : appends text to the string on a new line