commit de lancement : 2.0.1-1
[asterisk-app-conference.git] / cli.h
CommitLineData
c575c500
TN
1
2// $Id: cli.h 880 2007-04-25 15:23:59Z jpgrayson $
3
4/*
5 * app_conference
6 *
7 * A channel independent conference application for Asterisk
8 *
9 * Copyright (C) 2002, 2003 Junghanns.NET GmbH
10 * Copyright (C) 2003, 2004 HorizonLive.com, Inc.
11 * Copyright (C) 2005, 2006 HorizonWimba, Inc.
12 * Copyright (C) 2007 Wimba, Inc.
13 *
14 * Klaus-Peter Junghanns <kapejod@ns1.jnetdns.de>
15 *
16 * Video Conferencing support added by
17 * Neil Stratford <neils@vipadia.com>
18 * Copyright (C) 2005, 2005 Vipadia Limited
19 *
20 * VAD driven video conferencing, text message support
21 * and miscellaneous enhancements added by
22 * Mihai Balea <mihai at hates dot ms>
23 *
24 * This program may be modified and distributed under the
25 * terms of the GNU General Public License. You should have received
26 * a copy of the GNU General Public License along with this
27 * program; if not, write to the Free Software Foundation, Inc.
28 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 */
30
31#ifndef _APP_CONF_CLI_H
32#define _APP_CONF_CLI_H
33
34//
35// includes
36//
37
38#include "app_conference.h"
39#include "common.h"
40
41//
42// function declarations
43//
44
45int conference_show_stats( int fd, int argc, char *argv[] ) ;
46int conference_show_stats_name( int fd, const char* name ) ;
47
48int conference_restart( int fd, int argc, char *argv[] );
49
50int conference_debug( int fd, int argc, char *argv[] ) ;
51int conference_no_debug( int fd, int argc, char *argv[] ) ;
52
53int conference_list( int fd, int argc, char *argv[] ) ;
54int conference_kick( int fd, int argc, char *argv[] ) ;
55int conference_kickchannel( int fd, int argc, char *argv[] ) ;
56
57int conference_mute( int fd, int argc, char *argv[] ) ;
58int conference_unmute( int fd, int argc, char *argv[] ) ;
59int conference_mutechannel( int fd, int argc, char *argv[] ) ;
60int conference_unmutechannel( int fd, int argc, char *argv[] ) ;
61int conference_viewstream( int fd, int argc, char *argv[] ) ;
62int conference_viewchannel( int fd, int argc, char *argv[] ) ;
63
64int conference_play_sound( int fd, int argc, char *argv[] ) ;
65int conference_stop_sounds( int fd, int argc, char *argv[] ) ;
66
67int conference_play_video( int fd, int argc, char *argv[] ) ;
68int conference_stop_videos( int fd, int argc, char *argv[] ) ;
69
70int conference_end( int fd, int argc, char *argv[] ) ;
71
72int conference_lock( int fd, int argc, char *argv[] ) ;
73int conference_lockchannel( int fd, int argc, char *argv[] ) ;
74int conference_unlock( int fd, int argc, char *argv[] ) ;
75
76int conference_set_default(int fd, int argc, char *argv[] ) ;
77int conference_set_defaultchannel(int fd, int argc, char *argv[] ) ;
78
79int conference_video_mute(int fd, int argc, char *argv[] ) ;
80int conference_video_mutechannel(int fd, int argc, char *argv[] ) ;
81int conference_video_unmute(int fd, int argc, char *argv[] ) ;
82int conference_video_unmutechannel(int fd, int argc, char *argv[] ) ;
83
84int conference_text( int fd, int argc, char *argv[] ) ;
85int conference_textchannel( int fd, int argc, char *argv[] ) ;
86int conference_textbroadcast( int fd, int argc, char *argv[] ) ;
87
88int conference_drive( int fd, int argc, char *argv[] ) ;
89int conference_drivechannel(int fd, int argc, char *argv[] );
90
91int manager_conference_end(struct mansession *s, const struct message *m);
92
93void register_conference_cli( void ) ;
94void unregister_conference_cli( void ) ;
95
96
97#endif