Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
_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...

#include <sip.h>

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 927 of file sip.h.

Field Documentation

◆ s

const char* s

Definition at line 929 of file sip.h.

Referenced by map_s_x(), and map_x_s().

◆ x

int x

Definition at line 928 of file sip.h.

Referenced by map_s_x(), and map_x_s().


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