3 * Asterisk -- An open source telephony toolkit.
5 * Copyright (C) 1999 - 2012, Digium, Inc.
7 * See http://www.asterisk.org for more information about
8 * the Asterisk project. Please do not directly contact
9 * any of the maintainers of this project for assistance;
10 * the project provides a web site, mailing lists and IRC
11 * channels for your use.
13 * This program is free software, distributed under the terms of
14 * the GNU General Public License Version 2. See the LICENSE file
15 * at the top of the source tree.
19 * \brief Internal channel functions for channel.c to use
22 #define ast_channel_internal_alloc(destructor) __ast_channel_internal_alloc(destructor, __FILE__, __LINE__, __PRETTY_FUNCTION__)
23 struct ast_channel *__ast_channel_internal_alloc(void (*destructor)(void *obj), const char *file, int line, const char *function);
24 void ast_channel_internal_finalize(struct ast_channel *chan);
25 int ast_channel_internal_is_finalized(struct ast_channel *chan);
26 void ast_channel_internal_cleanup(struct ast_channel *chan);
29 * Asterisk -- An open source telephony toolkit.
31 * Copyright (C) 1999 - 2012, Digium, Inc.
33 * See http://www.asterisk.org for more information about
34 * the Asterisk project. Please do not directly contact
35 * any of the maintainers of this project for assistance;
36 * the project provides a web site, mailing lists and IRC
37 * channels for your use.
39 * This program is free software, distributed under the terms of
40 * the GNU General Public License Version 2. See the LICENSE file
41 * at the top of the source tree.
45 * \brief Internal channel functions for channel.c to use
48 #define ast_channel_internal_alloc(destructor) __ast_channel_internal_alloc(destructor, __FILE__, __LINE__, __PRETTY_FUNCTION__)
49 struct ast_channel *__ast_channel_internal_alloc(void (*destructor)(void *obj), const char *file, int line, const char *function);
50 void ast_channel_internal_finalize(struct ast_channel *chan);
51 int ast_channel_internal_is_finalized(struct ast_channel *chan);
52 void ast_channel_internal_cleanup(struct ast_channel *chan);
55 * Asterisk -- An open source telephony toolkit.
57 * Copyright (C) 1999 - 2012, Digium, Inc.
59 * See http://www.asterisk.org for more information about
60 * the Asterisk project. Please do not directly contact
61 * any of the maintainers of this project for assistance;
62 * the project provides a web site, mailing lists and IRC
63 * channels for your use.
65 * This program is free software, distributed under the terms of
66 * the GNU General Public License Version 2. See the LICENSE file
67 * at the top of the source tree.
71 * \brief Internal channel functions for channel.c to use
74 #define ast_channel_internal_alloc(destructor) __ast_channel_internal_alloc(destructor, __FILE__, __LINE__, __PRETTY_FUNCTION__)
75 struct ast_channel *__ast_channel_internal_alloc(void (*destructor)(void *obj), const char *file, int line, const char *function);
76 void ast_channel_internal_finalize(struct ast_channel *chan);
77 int ast_channel_internal_is_finalized(struct ast_channel *chan);
78 void ast_channel_internal_cleanup(struct ast_channel *chan);