Wed Mar 3 23:09:55 2010

Asterisk developer's documentation


_map_x_s Struct Reference

generic struct to map between strings and integers. Fill it with x-s pairs, terminate with an entry with s = NULL; Then you can call map_x_s(...) to map an integer to a string, and map_s_x() for the string -> integer mapping. More...

Data Fields

const char * s
int x

Detailed Description

generic struct to map between strings and integers. Fill it with x-s pairs, terminate with an entry with s = NULL; Then you can call map_x_s(...) to map an integer to a string, and map_s_x() for the string -> integer mapping.

Definition at line 1149 of file chan_sip.c.


Field Documentation

const char* s

Definition at line 1151 of file chan_sip.c.

Referenced by map_s_x(), and map_x_s().

int x

Definition at line 1150 of file chan_sip.c.

Referenced by map_s_x(), and map_x_s().


The documentation for this struct was generated from the following file:

Generated on 3 Mar 2010 for Asterisk - the Open Source PBX by  doxygen 1.6.1