aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/monitor.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-08 03:19:05 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-08 03:19:05 +0000
commitd46511efe793ff7ffc1963ffb9b7bd42809b0513 (patch)
tree61c67984acefb9af69a4400154e405424f2c2fc9 /include/asterisk/monitor.h
parent0d79aec3bd5ed13d1b7de7b13958482aa9adf39a (diff)
whitespace cleanup, don't include unnecessary header
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7016 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/monitor.h')
-rwxr-xr-xinclude/asterisk/monitor.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/include/asterisk/monitor.h b/include/asterisk/monitor.h
index 8793f70c2..ff482f847 100755
--- a/include/asterisk/monitor.h
+++ b/include/asterisk/monitor.h
@@ -23,36 +23,33 @@
#ifndef _ASTERISK_MONITOR_H
#define _ASTERISK_MONITOR_H
-#include <stdio.h>
-
#include "asterisk/channel.h"
struct ast_channel;
/*! Responsible for channel monitoring data */
-struct ast_channel_monitor
-{
+struct ast_channel_monitor {
struct ast_filestream *read_stream;
struct ast_filestream *write_stream;
- char read_filename[ FILENAME_MAX ];
- char write_filename[ FILENAME_MAX ];
- char filename_base[ FILENAME_MAX ];
+ char read_filename[FILENAME_MAX];
+ char write_filename[FILENAME_MAX];
+ char filename_base[FILENAME_MAX];
int filename_changed;
char *format;
int joinfiles;
- int (*stop)( struct ast_channel *chan, int need_lock);
+ int (*stop)(struct ast_channel *chan, int need_lock);
};
/* Start monitoring a channel */
-int ast_monitor_start( struct ast_channel *chan, const char *format_spec,
- const char *fname_base, int need_lock );
+int ast_monitor_start(struct ast_channel *chan, const char *format_spec,
+ const char *fname_base, int need_lock );
/* Stop monitoring a channel */
-int ast_monitor_stop( struct ast_channel *chan, int need_lock);
+int ast_monitor_stop(struct ast_channel *chan, int need_lock);
/* Change monitoring filename of a channel */
-int ast_monitor_change_fname( struct ast_channel *chan,
- const char *fname_base, int need_lock );
+int ast_monitor_change_fname(struct ast_channel *chan,
+ const char *fname_base, int need_lock);
void ast_monitor_setjoinfiles(struct ast_channel *chan, int turnon);