#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <limits.h>
#include <errno.h>
#include <assert.h>
#include <sofia-sip/su_alloc.h>
#include <sofia-sip/su.h>
#include "msg_internal.h"
#include "sofia-sip/msg_parser.h"
#include "sofia-sip/msg_mclass.h"
Include dependency graph for msg.c:

Functions | |
| msg_pub_t * | msg_object (msg_t const *msg) |
| Retrieve public message structure. | |
| void | msg_addr_zero (msg_t *msg) |
| Zero the message address. | |
| socklen_t * | msg_addrlen (msg_t *msg) |
| Get pointer to address length. | |
| su_sockaddr_t * | msg_addr (msg_t *msg) |
| Get pointer to socket address structure. | |
| int | msg_get_address (msg_t *msg, su_sockaddr_t *su, socklen_t *return_len) |
| Get message address. | |
| int | msg_set_address (msg_t *msg, su_sockaddr_t const *su, socklen_t sulen) |
| Set message address. | |
| su_addrinfo_t * | msg_addrinfo (msg_t *msg) |
| Get addrinfo structure. | |
| void | msg_addr_copy (msg_t *dst, msg_t const *src) |
| Copy message address. | |
| unsigned | msg_extract_errors (msg_t const *msg) |
| Get error classification flags. | |
| int | msg_errno (msg_t const *msg) |
| Get error number associated with message. | |
| void | msg_set_errno (msg_t *msg, int err) |
| Set error number associated with message. | |
| su_sockaddr_t* msg_addr | ( | msg_t * | msg | ) |
Get pointer to socket address structure.
| socklen_t* msg_addrlen | ( | msg_t * | msg | ) |
Retrieve public message structure.
This function returns a pointer to the public message structure.
| msg | pointer to msg object |