Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

http_www_authenticate_t* http_www_authenticate_format ( su_home_t home,
char const *  fmt,

Make a WWW-Authenticate header from formatting result.

The function http_www_authenticate_format() makes a new WWW-Authenticate header object using formatting result as its value. The function first prints the arguments according to the format fmt specified. Then it allocates a new header structure, and uses the formatting result as the header value.

home memory home used to allocate new header structure.
fmt string used as a printf()-style format
... argument list for format
This function is usually implemented as a macro calling msg_header_format().
The function http_www_authenticate_format() returns a pointer to newly makes header structure, or NULL upon an error.

Generated by  Doxygen 1.6.0   Back to index