/* Asterisk INI to Property List File Conversion Utility -- Version 1.12 * * dialplandict.h * aini2plist * * Dialplan dictionary (stub to be included in keywords.c) * * Author: Benjamin Kowarsch * * (C) 2006 Sunrise Telephone Systems Ltd. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * In countries and territories where the above no-warranty disclaimer is * not permissible by applicable law, the following terms apply: * * NO PERMISSION TO USE THE SOFTWARE IS GRANTED AND THE SOFTWARE MUST NOT BE * USED AT ALL IN SUCH COUNTRIES AND TERRITORIES WHERE THE ABOVE NO-WARRANTY * DISCLAIMER IS NOT PERMISSIBLE AND INVALIDATED BY APPLICABLE LAW. HOWEVER, * THE COPYRIGHT HOLDERS HEREBY WAIVE THEIR RIGHT TO PURSUE OFFENDERS AS LONG * AS THEY OTHERWISE ABIDE BY THE TERMS OF THE LICENSE AS APPLICABLE FOR USE * OF THE SOFTWARE IN COUNTRIES AND TERRITORIES WHERE THE ABOVE NO-WARRANTY * DISCLAIMER IS PERMITTED BY APPLICABLE LAW. THIS WAIVER DOES NOT CONSTITUTE * A LICENSE TO USE THE SOFTWARE IN COUNTRIES AND TERRITORIES WHERE THE ABOVE * NO-WARRANTY DISCLAIMER IS NOT PERMISSIBLE AND INVALIDATED BY APPLICABLE * LAW. ANY LIABILITY OF ANY KIND IS CATEGORICALLY RULED OUT AT ALL TIMES. */ // -------------------------------------------------------------------------- // Keyword translations // -------------------------------------------------------------------------- // no translations // -------------------------------------------------------------------------- // Relocation targets // -------------------------------------------------------------------------- // no targets // -------------------------------------------------------------------------- // Key specific value tables // -------------------------------------------------------------------------- // no value tables // -------------------------------------------------------------------------- // Section specific key tables // -------------------------------------------------------------------------- const static KeyTableEntry _extensions_general_table[] = { /* keys in section "general" of extensions.conf */ { KEYWORD_STATIC, NO_TRANSLATION, NO_RELOCATION, SINGLE_VALUE, ARBITRARY }, { KEYWORD_WRITEPROTECT, NO_TRANSLATION, NO_RELOCATION, SINGLE_VALUE, ARBITRARY }, { END_OF_TABLE, NO_TRANSLATION, NO_RELOCATION, OBSOLETE, ARBITRARY } }; // end _extensions_general_table const static KeyTableEntry _extensions_table[] = { /* keys in other sections of extensions.conf */ { KEYWORD_EXTEN, NO_TRANSLATION, NO_RELOCATION, MULTIPLE_VALUES, ARBITRARY }, { KEYWORD_INCLUDE, NO_TRANSLATION, NO_RELOCATION, MULTIPLE_UNIQUE_VALUES, ARBITRARY }, { KEYWORD_IGNOREPAT,NO_TRANSLATION, NO_RELOCATION, SINGLE_VALUE, ARBITRARY }, { KEYWORD_SWITCH, NO_TRANSLATION, NO_RELOCATION, SINGLE_VALUE, ARBITRARY }, { END_OF_TABLE, NO_TRANSLATION, NO_RELOCATION, OBSOLETE, ARBITRARY } }; // end _extensions_table // -------------------------------------------------------------------------- // Master configuration file specific section table // -------------------------------------------------------------------------- const static SectionTableEntry _extensionsconf_table[] = { /* sections in file extensions.conf */ { KEYWORD_GENERAL, NO_TRANSLATION, &_extensions_general_table }, { KEYWORD_GLOBALS, NO_TRANSLATION, ARBITRARY }, { MATCH_ANY, NO_TRANSLATION, &_extensions_table }, { END_OF_TABLE, NO_TRANSLATION, ARBITRARY } }; // end _extensionsconf_table // -------------------------------------------------------------------------- // Dialplan mode specific dictionary // -------------------------------------------------------------------------- const static ConfigFileTableEntry _dialplan_dictionary[] = { { EXTENSIONSCONF, &_extensionsconf_table }, { END_OF_TABLE, ARBITRARY } }; // end _dialplan_dictionary // END OF FILE