Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv23387/include/asterisk
Modified Files:
channel.h file.h
Log Message:
Use FILE * instead of fd for files to support buffering
Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- channel.h 14 Oct 2005 00:46:13 -0000 1.105
+++ channel.h 16 Oct 2005 16:12:51 -0000 1.106
@@ -766,6 +766,9 @@
/*! Get channel by name prefix (locks channel) */
struct ast_channel *ast_get_channel_by_name_prefix_locked(const char *name,
const int namelen);
+/*! Get channel by name prefix (locks channel) */
+struct ast_channel *ast_walk_channel_by_name_prefix_locked(struct ast_channel
*chan, const char *name, const int namelen);
+
/*--- ast_get_channel_by_exten_locked: Get channel by exten (and optionally
context) and lock it */
struct ast_channel *ast_get_channel_by_exten_locked(const char *exten, const
char *context);
Index: file.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/file.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- file.h 30 Aug 2005 18:32:09 -0000 1.26
+++ file.h 16 Oct 2005 16:12:51 -0000 1.27
@@ -49,8 +49,8 @@
* returns 0 on success, -1 on failure
*/
int ast_format_register(const char *name, const char *exts, int format,
- struct ast_filestream *
(*open)(int fd),
- struct ast_filestream *
(*rewrite)(int fd, const char *comment),
+ struct ast_filestream *
(*open)(FILE *f),
+ struct ast_filestream *
(*rewrite)(FILE *f, const char *comment),
int (*write)(struct
ast_filestream *, struct ast_frame *),
int (*seek)(struct
ast_filestream *, long offset, int whence),
int (*trunc)(struct
ast_filestream *),
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs