Exemplo n.º 1
0
/**
 * parse httpcon module parameter
 */
int curl_con_param(modparam_t type, void *val)
{
	if(val == NULL) {
		goto error;
	}

	LM_DBG("**** HTTP_CLIENT got modparam httpcon \n");
	return curl_parse_param((char*)val);
error:
	return -1;

}
Exemplo n.º 2
0
/**
 * parse curlcon module parameter
 */
int curl_con_param(modparam_t type, void *val)
{
	if(val == NULL) {
		goto error;
	}

	LM_DBG("**** CURL got modparam curlcon \n");
	return curl_parse_param((char*)val);
error:
	return -1;

}