Added License banner and #ifndef/#endif for multiple inclusion.

This commit is contained in:
Morten Rolland 1999-03-09 20:54:26 +00:00
parent d9cd504479
commit ba3efe5f2d
1 changed files with 32 additions and 4 deletions

View File

@ -1,11 +1,37 @@
/* $Id$
* ISDNfax module layer
* (c) 1998 Andreas Beck <becka@ggi-project.org>
*/
******************************************************************************
Fax program for ISDN.
Module layer.
Copyright (C) 1998 Andreas Beck [becka@ggi-project.org]
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************************
*/
#include <stdlib.h>
#include <stdarg.h>
#ifndef _IFAX_MODULE_H
#define _IFAX_MODULE_H
/*
* The ideas here were stolen from the EvStack concept, that was developed
* mainly be me and Jason McMullan for the GGI project
@ -102,3 +128,5 @@ void ifax_handle_demand(struct ifax_module *self, size_t len);
/* Send a command to a module. Semantics are defined by the module.
*/
int ifax_command(struct ifax_module *self, int command, ...);
#endif