Thu Feb 5 16:25:47 2009

Asterisk developer's documentation


global_datastores.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- An open source telephony toolkit.
00003  *
00004  * Copyright (C) 1999 - 2007, Digium, Inc.
00005  *
00006  * Mark Michelson <mmichelson@digium.com>
00007  *
00008  * See http://www.asterisk.org for more information about
00009  * the Asterisk project. Please do not directly contact
00010  * any of the maintainers of this project for assistance;
00011  * the project provides a web site, mailing lists and IRC
00012  * channels for your use.
00013  *
00014  * This program is free software, distributed under the terms of
00015  * the GNU General Public License Version 2. See the LICENSE file
00016  * at the top of the source tree.
00017  */
00018 
00019 /*! \file
00020  * \brief globally accessible channel datastores
00021  * \author Mark Michelson <mmichelson@digium.com>
00022  */
00023 
00024 #ifndef _ASTERISK_GLOBAL_DATASTORE_H
00025 #define _ASTERISK_GLOBAL_DATASTORE_H
00026 
00027 #include "asterisk/channel.h"
00028 
00029 #define MAX_DIAL_FEATURE_OPTIONS 30
00030 
00031 extern const struct ast_datastore_info dialed_interface_info;
00032 
00033 extern const struct ast_datastore_info dial_features_info;
00034 
00035 struct ast_dialed_interface {
00036    AST_LIST_ENTRY(ast_dialed_interface) list;
00037    char interface[1];
00038 };
00039 
00040 struct ast_dial_features {
00041    struct ast_flags features_caller;
00042    struct ast_flags features_callee;
00043    char options[MAX_DIAL_FEATURE_OPTIONS];
00044    int is_caller;
00045 };
00046 
00047 #endif

Generated on Thu Feb 5 16:25:47 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7