Tagged argument lists. More...
#include <sofia-sip/su_tag.h>
Go to the source code of this file.
Data Structures | |
struct | ta_list |
Structure for accessing tagged argument lists. More... | |
Defines | |
#define | SU_TAGARG_H |
Defined when <sofia-sip/su_tagarg.h> has been included. | |
#define | ta_start(ta, t, v) |
Macro initializing a ta_list object. | |
#define | ta_args(ta) |
Macro accessing tagged argument list. | |
#define | ta_tags(ta) |
Macro passing tagged argument list as an argument to another function. | |
#define | ta_end(ta) |
Handle return from function with tagged argument list. |
Tagged argument lists.
#define SU_TAGARG_H |
Defined when <sofia-sip/su_tagarg.h> has been included.
#define ta_args | ( | ta | ) |
Macro accessing tagged argument list.
The ta_args() returns a pointer to tag list containing the arguments.
#define ta_end | ( | ta | ) |
Handle return from function with tagged argument list.
The ta_end() macro handles return from function whose tagged argument list was initialized by ta_start().
The ta_end() macro returns no value.
#define ta_start | ( | ta, | ||
t, | ||||
v | ||||
) |
Macro initializing a ta_list object.
The ta_start() macro initializes ta for subsequent use by ta_args(), ta_tags() and ta_end(), and must be called first.
The parameters t and v are the names of the tag
and value
in the first tag list item before the variable argument list (...).
The ta_start() macro returns no value.
#define ta_tags | ( | ta | ) |
Macro passing tagged argument list as an argument to another function.
The ta_tags() macro expands to an tag list that can be given as arguments to a function taking an variable tag item list as an argument.