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:
Mark Spencer
1999-12-16 13:44:30 +00:00
parent d73d60a578
commit 0ed9477395
13 changed files with 1750 additions and 68 deletions

View File

@@ -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)
}

View File

@@ -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))