mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +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 @@
|
||||
*
|
||||
* Private channel definitions for channel implementations only.
|
||||
*
|
||||
* Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC
|
||||
* Copyright (C) 1999, Mark Spencer
|
||||
*
|
||||
* Mark Spencer <markster@linux-support.net>
|
||||
*
|
||||
@@ -40,8 +40,8 @@ struct ast_channel_pvt {
|
||||
};
|
||||
|
||||
/* Create a channel structure */
|
||||
struct ast_channel *ast_channel_alloc();
|
||||
#define ast_channel_free(a) free(a)
|
||||
struct ast_channel *ast_channel_alloc(void);
|
||||
void ast_channel_free(struct ast_channel *);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
|
@@ -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