void cg_upnp_event_subscription_request_settimeout(void *subReq, long timeout)
{
    CgString *timeoutBuf;

    cg_log_debug_l4("Entering...\n");

    timeoutBuf = cg_string_new();
    cg_http_packet_setheadervalue(((CgHttpPacket*)subReq), CG_HTTP_TIMEOUT, cg_upnp_event_subscription_totimeoutheaderstring(timeout, timeoutBuf));
    cg_string_delete(timeoutBuf);

    cg_log_debug_l4("Leaving...\n");
}
void cg_upnp_event_subscription_response_settimeout(CgUpnpSubscriptionResponse *subRes, long value)
{
	CgString *buf;

	cg_log_debug_l4("Entering...\n");

	buf = cg_string_new();
	cg_http_packet_setheadervalue((CgHttpPacket*)subRes, CG_HTTP_TIMEOUT, cg_upnp_event_subscription_totimeoutheaderstring(value, buf));
	cg_string_delete(buf);

	cg_log_debug_l4("Leaving...\n");
}