Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:00:58 2007

Asterisk developer's documentation :: Codename Pineapple


zapata.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- An open source telephony toolkit.
00003  *
00004  * Copyright (C) 2007, Digium, Inc.
00005  *
00006  * See http://www.asterisk.org for more information about
00007  * the Asterisk project. Please do not directly contact
00008  * any of the maintainers of this project for assistance;
00009  * the project provides a web site, mailing lists and IRC
00010  * channels for your use.
00011  *
00012  * This program is free software, distributed under the terms of
00013  * the GNU General Public License Version 2. See the LICENSE file
00014  * at the top of the source tree.
00015  *
00016  * Sometimes one really wonders why we need a copyright
00017  * for less than ten lines of preprocessor directives...
00018  */
00019 
00020 /*
00021  * Stub to find the zaptel headers. The configure script will
00022  * define HAVE_ZAPTEL_VERSION according to what it has found.
00023  * Applications should include "zapata.h" and not (directly)
00024  * <foo/zaptel.h> or <foo/tonezone.h>.
00025  * For the mapping of version numbers to location see below.
00026  *
00027  */
00028 #ifndef _AST_ZAPATA_H
00029 #define  _AST_ZAPATA_H
00030 
00031 #ifdef HAVE_ZAPTEL
00032 #include <sys/ioctl.h>
00033 
00034 #if defined(HAVE_ZAPTEL_VERSION) && HAVE_ZAPTEL_VERSION < 100
00035 /* Very old versions of zaptel drivers on FreeBSD install in ${PREFIX} */
00036 #include <zaptel.h>
00037 #include <tonezone.h>
00038 #else
00039 /* newer versions install in ${PREFIX}/zaptel */
00040 #include <zaptel/zaptel.h>
00041 #include <zaptel/tonezone.h>
00042 #endif   /* HAVE_ZAPTEL_VERSION < 100 */
00043 
00044 #endif   /* HAVE_ZAPTEL */
00045 
00046 #endif   /* _AST_ZAPATA_H */

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen