Copyright (c) 2002 Nokia Research Center. All rights reserved.
This source file has been divided into following sections: 1) engine 2) tport handling 3) client transactions
#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
#include <errno.h>
#include <sofia-sip/string0.h>
#include "sofia-sip/nth.h"
#include <sofia-sip/http_header.h>
#include <sofia-sip/http_tag.h>
#include <sofia-sip/http_status.h>
#include <sofia-sip/hostdomain.h>
#include <sofia-sip/msg_addr.h>
#include <sofia-sip/su_tagarg.h>
#include <sofia-sip/auth_client.h>
#include <sofia-sip/tport.h>
#include <sofia-sip/htable.h>
#include <sofia-sip/su_debug.h>
Include dependency graph for nth_client.c:
Defines | |
#define | NTH_INTERNAL_MSG |
http_flag telling that this message is internally generated. | |
Functions | |
msg_t * | nth_engine_msg_create (nth_engine_t *he, int flags) |
Create a new message. | |
void | nth_client_destroy (nth_client_t *hc) |
Destroy client request. | |
int | nth_client_status (nth_client_t const *hc) |
Gets client status. | |
http_method_t | nth_client_method (nth_client_t const *hc) |
Gets client method. | |
url_t const * | nth_client_url (nth_client_t const *hc) |
Get original Request-URI. | |
msg_t * | nth_client_request (nth_client_t *hc) |
Get request message. | |
msg_t * | nth_client_response (nth_client_t const *hc) |
Get response message. | |
int | nth_client_is_streaming (nth_client_t const *hc) |
Is client streaming response? | |
Variables | |
char const | NTH_DEBUG [] |
Environment variable determining the debug log level for nth module. | |
su_log_t | nth_client_log [] |
Debug log for nth module. | |
tagi_t | nth_client_tags [] |
List of all nth tags. |
http_method_t nth_client_method | ( | nth_client_t const * | hc | ) |
Gets client method.
hc | pointer to a nth client object |
int nth_client_status | ( | nth_client_t const * | hc | ) |
Gets client status.
hc | pointer to a nth client object |
Debug log for nth module.
The nth_client_log is the log object used by nth client. The level of nth_client_log is set using NTH_DEBUG environment variable.
Environment variable determining the debug log level for nth module.
The NTH_DEBUG environment variable is used to determine the debug logging level for nth module. The default level is 1.