[Asterisk-cvs] asterisk/include/asterisk monitor.h,1.6,1.7
kpfleming
kpfleming
Mon Nov 7 22:28:00 CST 2005
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv15295/include/asterisk
Modified Files:
monitor.h
Log Message:
whitespace cleanup, don't include unnecessary header
Index: monitor.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/monitor.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- monitor.h 24 Oct 2005 20:12:06 -0000 1.6
+++ monitor.h 8 Nov 2005 03:19:05 -0000 1.7
@@ -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);
More information about the svn-commits
mailing list