diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-12 17:27:55 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-12 17:27:55 +0000 |
commit | 490730a6b3bd90a5389cac88847e6977bf234f66 (patch) | |
tree | 4732aea57767a39cd0efe083ba0119911ee976a3 /include/asterisk/dahdi.h | |
parent | b97df61759759251c094187317c450b97088eeaf (diff) |
Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122234 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/dahdi.h')
-rw-r--r-- | include/asterisk/dahdi.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/asterisk/dahdi.h b/include/asterisk/dahdi.h new file mode 100644 index 000000000..0a37b891d --- /dev/null +++ b/include/asterisk/dahdi.h @@ -0,0 +1,42 @@ +/* + * Asterisk -- An open source telephony toolkit. + * + * Copyright (C) 2007, Digium, Inc. + * + * See http://www.asterisk.org for more information about + * the Asterisk project. Please do not directly contact + * any of the maintainers of this project for assistance; + * the project provides a web site, mailing lists and IRC + * channels for your use. + * + * This program is free software, distributed under the terms of + * the GNU General Public License Version 2. See the LICENSE file + * at the top of the source tree. + * + * Sometimes one really wonders why we need a copyright + * for less than ten lines of preprocessor directives... + */ + +/*! \file + * \brief Stub to find DAHDI headers +* + * Stub to find the DAHDI headers. The configure script will + * define HAVE_DAHDI_VERSION according to what it has found. + * Applications should include "user.h" and not (directly) + * <foo/user.h> + * For the mapping of version numbers to location see below. + * + */ +#ifndef _AST_DAHDI_H +#define _AST_DAHDI_H + +#ifdef HAVE_DAHDI +#include <sys/ioctl.h> + +/* newer versions install in ${PREFIX}/dahdi */ +#include <dahdi/user.h> +#include <dahdi/tonezone.h> + +#endif /* HAVE_DAHDI */ + +#endif /* _AST_DAHDI_H */ |