RTS API Documentation  1.10.11
switch_core_event_hook.c
Go to the documentation of this file.
1 /*
2  * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
3  * Copyright (C) 2005-2014, Anthony Minessale II <anthm@freeswitch.org>
4  *
5  * Version: MPL 1.1
6  *
7  * The contents of this file are subject to the Mozilla Public License Version
8  * 1.1 (the "License"); you may not use this file except in compliance with
9  * the License. You may obtain a copy of the License at
10  * http://www.mozilla.org/MPL/
11  *
12  * Software distributed under the License is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14  * for the specific language governing rights and limitations under the
15  * License.
16  *
17  * The Original Code is FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
18  *
19  * The Initial Developer of the Original Code is
20  * Anthony Minessale II <anthm@freeswitch.org>
21  * Portions created by the Initial Developer are Copyright (C)
22  * the Initial Developer. All Rights Reserved.
23  *
24  * Contributor(s):
25  *
26  * Anthony Minessale II <anthm@freeswitch.org>
27  *
28  * switch_core_event_hook.c Core Event Hooks
29  *
30  */
31 #include "switch.h"
33 
34 NEW_HOOK_DECL(outgoing_channel)
35 NEW_HOOK_DECL(receive_message)
36 NEW_HOOK_DECL(receive_event)
37 NEW_HOOK_DECL(state_change)
38 NEW_HOOK_DECL(state_run)
39 NEW_HOOK_DECL(read_frame)
40 NEW_HOOK_DECL(write_frame)
41 NEW_HOOK_DECL(video_read_frame)
42 NEW_HOOK_DECL(video_write_frame)
43 NEW_HOOK_DECL(text_read_frame)
44 NEW_HOOK_DECL(text_write_frame)
45 NEW_HOOK_DECL(kill_channel)
46 NEW_HOOK_DECL(send_dtmf)
47 NEW_HOOK_DECL(recv_dtmf)
48 
49 /* For Emacs:
50  * Local Variables:
51  * mode:c
52  * indent-tabs-mode:t
53  * tab-width:4
54  * c-basic-offset:4
55  * End:
56  * For VIM:
57  * vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
58  */
#define NEW_HOOK_DECL(_NAME)
Main Library Header.