zabbix-agent2/src/libs/zbxsysinfo/sysinfo.c
/******************************************************************************
 *                                                                            *
 * Function: init_request                                                     *
 *                                                                            *
 * Purpose: initialize the request structure                                  *
 *                                                                            *
 * Parameters: request - pointer to the structure                             *
 *                                                                            *
 ******************************************************************************/
init_request

Purpose: initialize the request structure

Parameters: request - pointer to the structure
init_request Purpose : initialize the request structure Parameters : request - pointer to the structure
void	init_request(AGENT_REQUEST *request)
{
	request->key = NULL;
	request->nparam = 0;
	request->params = NULL;
	request->types = NULL;
	request->lastlogsize = 0;
	request->mtime = 0;
}
void init_request ( AGENT_REQUEST * request ) { request -> key = NULL ; request -> nparam = 0 ; request -> params = NULL ; request -> types = NULL ; request -> lastlogsize = 0 ; request -> mtime = 0 ; }
Function: init_request                                                     
                                                                            
 Purpose: initialize the request structure                                  
                                                                            
 Parameters: request - pointer to the structure
Function : init_request Purpose : initialize the request structure Parameters : request - pointer to the structure