Wed Oct 28 11:46:24 2009

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 1072 of file chan_sip.c.


Field Documentation

const char* s

Definition at line 1074 of file chan_sip.c.

Referenced by map_s_x(), and map_x_s().

int x

Definition at line 1073 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 Wed Oct 28 11:46:24 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6