mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 23:28:59 +00:00
Version 0.1.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Mark Spencer <markster@marko.net>
|
||||
*
|
||||
* Copyright(C) 1999, Adtran, Inc.
|
||||
* Copyright(C) Mark Spencer
|
||||
*
|
||||
* Distributed under the terms of the GNU General Public License (GPL) Version 2
|
||||
*
|
||||
@@ -38,10 +38,10 @@ extern "C" {
|
||||
struct io_context;
|
||||
|
||||
/* Create a context for I/O operations */
|
||||
struct io_context *io_context_create();
|
||||
extern struct io_context *io_context_create(void);
|
||||
|
||||
/* Destroy a context for I/O operations */
|
||||
void io_context_destroy(struct io_context *ioc);
|
||||
extern void io_context_destroy(struct io_context *ioc);
|
||||
|
||||
typedef int (*ast_io_cb)(int *id, int fd, short events, void *cbdata);
|
||||
#define AST_IO_CB(a) ((ast_io_cb)(a))
|
||||
|
Reference in New Issue
Block a user