Data Structures | Defines

sofia-sip/su_tagarg.h File Reference

Tagged argument lists. More...

#include <sofia-sip/su_tag.h>
Include dependency graph for su_tagarg.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.

Detailed Description

Tagged argument lists.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Tue Feb 20 19:48:18 2001 ppessi

Define Documentation

#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.

 All Data Structures Files Functions Variables Typedefs Enumerator Defines

Sofia-SIP 1.12.11 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.