diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-23 14:18:04 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-23 14:18:04 +0000 |
commit | 9be597bb661434bfd781acfd4d7166a72c43bcbe (patch) | |
tree | d3a2cba0fc575ecf1cb259212eb28b7c47a07ecd /main/asterisk.c | |
parent | c303e37b2085e683f4917c819b7189793961e83a (diff) |
introduce two functions, map_x_s() and map_s_x(), to map
between integers and strings using a single translation table,
and use them in a few places instead of ad-hoc routines
that duplicate the table.
On passing, note that REFER_CONFIRMED is never used, and add a
few comments.
Nothing to backport here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76547 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
0 files changed, 0 insertions, 0 deletions