aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-30 18:32:10 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-30 18:32:10 +0000
commit3c4140b8b100b2e54e8ab6db85354576483c9ec5 (patch)
tree6a1252e074cadda423d1a34d51882f28a67a4092
parent410e2e9c48ce7f05be14febc7080b1f6c93a9ce8 (diff)
major header file cleanup: license, copyrights, descriptions, markers, etc.
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xLICENSE2
-rwxr-xr-xMakefile2
-rwxr-xr-xconfig.c2
-rwxr-xr-xconfig_old.c72
-rwxr-xr-xinclude/asterisk/acl.h21
-rwxr-xr-xinclude/asterisk/adsi.h32
-rwxr-xr-xinclude/asterisk/aes.h10
-rwxr-xr-xinclude/asterisk/agi.h25
-rwxr-xr-xinclude/asterisk/alaw.h23
-rwxr-xr-xinclude/asterisk/app.h20
-rwxr-xr-xinclude/asterisk/ast_expr.h13
-rwxr-xr-xinclude/asterisk/astdb.h23
-rwxr-xr-xinclude/asterisk/astmm.h27
-rwxr-xr-xinclude/asterisk/astobj.h21
-rwxr-xr-xinclude/asterisk/astosp.h24
-rwxr-xr-xinclude/asterisk/callerid.h25
-rwxr-xr-xinclude/asterisk/causes.h21
-rwxr-xr-xinclude/asterisk/cdr.h20
-rwxr-xr-xinclude/asterisk/channel.h19
-rwxr-xr-xinclude/asterisk/chanvars.h27
-rwxr-xr-xinclude/asterisk/cli.h23
-rwxr-xr-xinclude/asterisk/compiler.h19
-rwxr-xr-xinclude/asterisk/config.h23
-rwxr-xr-xinclude/asterisk/config_old.h42
-rwxr-xr-xinclude/asterisk/crypto.h23
-rwxr-xr-xinclude/asterisk/cvsid.h61
-rwxr-xr-xinclude/asterisk/devicestate.h21
-rwxr-xr-xinclude/asterisk/dlfcn-compat.h11
-rwxr-xr-xinclude/asterisk/dns.h17
-rwxr-xr-xinclude/asterisk/dnsmgr.h19
-rwxr-xr-xinclude/asterisk/dsp.h24
-rwxr-xr-xinclude/asterisk/dundi.h23
-rwxr-xr-xinclude/asterisk/endian.h19
-rwxr-xr-xinclude/asterisk/enum.h24
-rwxr-xr-xinclude/asterisk/features.h24
-rwxr-xr-xinclude/asterisk/file.h25
-rwxr-xr-xinclude/asterisk/frame.h22
-rwxr-xr-xinclude/asterisk/fskmodem.h29
-rwxr-xr-xinclude/asterisk/image.h23
-rwxr-xr-xinclude/asterisk/indications.h12
-rwxr-xr-xinclude/asterisk/inline_api.h19
-rwxr-xr-xinclude/asterisk/io.h30
-rwxr-xr-xinclude/asterisk/linkedlists.h21
-rwxr-xr-xinclude/asterisk/localtime.h22
-rwxr-xr-xinclude/asterisk/lock.h19
-rwxr-xr-xinclude/asterisk/logger.h30
-rwxr-xr-xinclude/asterisk/manager.h26
-rwxr-xr-xinclude/asterisk/md5.h24
-rwxr-xr-xinclude/asterisk/module.h22
-rwxr-xr-xinclude/asterisk/monitor.h28
-rwxr-xr-xinclude/asterisk/musiconhold.h25
-rwxr-xr-xinclude/asterisk/netsock.h21
-rwxr-xr-xinclude/asterisk/options.h25
-rwxr-xr-xinclude/asterisk/pbx.h25
-rwxr-xr-xinclude/asterisk/poll-compat.h10
-rwxr-xr-xinclude/asterisk/privacy.h23
-rwxr-xr-xinclude/asterisk/res_odbc.h36
-rwxr-xr-xinclude/asterisk/rtp.h21
-rwxr-xr-xinclude/asterisk/say.h23
-rwxr-xr-xinclude/asterisk/sched.h27
-rwxr-xr-xinclude/asterisk/slinfactory.h23
-rwxr-xr-xinclude/asterisk/srv.h23
-rwxr-xr-xinclude/asterisk/strings.h19
-rwxr-xr-xinclude/asterisk/tdd.h29
-rwxr-xr-xinclude/asterisk/term.h23
-rwxr-xr-xinclude/asterisk/time.h19
-rwxr-xr-xinclude/asterisk/transcap.h17
-rwxr-xr-xinclude/asterisk/translate.h23
-rwxr-xr-xinclude/asterisk/ulaw.h23
-rwxr-xr-xinclude/asterisk/unaligned.h19
-rwxr-xr-xinclude/asterisk/utils.h19
-rwxr-xr-xinclude/asterisk/vmodem.h20
72 files changed, 1040 insertions, 607 deletions
diff --git a/LICENSE b/LICENSE
index a52b16e40..aa2ebac66 100755
--- a/LICENSE
+++ b/LICENSE
@@ -3,7 +3,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff --git a/Makefile b/Makefile
index adfabcfc4..a0fe9b020 100755
--- a/Makefile
+++ b/Makefile
@@ -323,7 +323,7 @@ OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
cdr.o tdd.o acl.o rtp.o manager.o asterisk.o \
dsp.o chanvars.o indications.o autoservice.o db.o privacy.o \
astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o \
- utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate.o \
+ utils.o plc.o jitterbuf.o dnsmgr.o devicestate.o \
netsock.o slinfactory.o ast_expr2.o ast_expr2f.o
ifeq (${OSARCH},Darwin)
diff --git a/config.c b/config.c
index 46234ce83..bdd550825 100755
--- a/config.c
+++ b/config.c
@@ -394,7 +394,7 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
} else if (!strcasecmp(cur, "+")) {
*cat = category_get(cfg, catname, 1);
if (!*cat) {
- ast_destroy(cfg);
+ ast_config_destroy(cfg);
if (newcat)
ast_category_destroy(newcat);
ast_log(LOG_WARNING, "Category addition requested, but category '%s' does not exist, line %d of %s\n", catname, lineno, configfile);
diff --git a/config_old.c b/config_old.c
deleted file mode 100755
index d4f366794..000000000
--- a/config_old.c
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Asterisk -- A telephony toolkit for Linux.
- *
- * Configuration File Parser (Deprecated APIs)
- *
- * Copyright (C) 2005, Digium, Inc.
- *
- * Mark Spencer <markster@digium.com>
- *
- * This program is free software, distributed under the terms of
- * the GNU General Public License
- */
-
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-
-#include "asterisk.h"
-
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include "asterisk/config.h"
-#include "asterisk/logger.h"
-
-struct ast_config *ast_load(char *configfile)
-{
- static int warning = 0;
-
- if (!warning) {
- ast_log(LOG_WARNING, "ast_load is deprecated, use ast_config_load instead!\n");
- warning = 1;
- }
-
- return ast_config_load(configfile);
-}
-
-void ast_destroy(struct ast_config *config)
-{
- static int warning = 0;
-
- if (!warning) {
- ast_log(LOG_WARNING, "ast_destroy is deprecated, use ast_config_destroy instead!\n");
- warning = 1;
- }
- ast_config_destroy(config);
-}
-
-void ast_destroy_realtime(struct ast_variable *var)
-{
- static int warning = 0;
-
- if (!warning) {
- ast_log(LOG_WARNING, "ast_destroy_realtime is deprecated, use ast_variables_destroy instead!\n");
- warning = 1;
- }
- ast_variables_destroy(var);
-}
-
-struct ast_config *ast_internal_load(const char *configfile, struct ast_config *cfg)
-{
- static int warning = 0;
-
- if (!warning) {
- ast_log(LOG_WARNING, "ast_internal_load is deprecated, use ast_config_internal_load instead!\n");
- warning = 1;
- }
-
- return ast_internal_load(configfile, cfg);
-}
-
diff --git a/include/asterisk/acl.h b/include/asterisk/acl.h
index 45553d51d..5079b7dbb 100755
--- a/include/asterisk/acl.h
+++ b/include/asterisk/acl.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Access Control of various sorts
- *
- * Copyright (C) 1999-2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Access Control of various sorts
*/
#ifndef _ASTERISK_ACL_H
@@ -44,4 +53,4 @@ extern int ast_str2tos(const char *value, int *tos);
}
#endif
-#endif
+#endif /* _ASTERISK_ACL_H */
diff --git a/include/asterisk/adsi.h b/include/asterisk/adsi.h
index b56b8db2f..c0fb36019 100755
--- a/include/asterisk/adsi.h
+++ b/include/asterisk/adsi.h
@@ -1,21 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * ADSI Support (built upon Caller*ID)
- *
- * Copyright (C) 1999, Mark Spencer
- *
- * Mark Spencer <markster@linux-support.net>
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
+ * Mark Spencer <markster@digium.com>
*
- * Includes code and algorithms from the Zapata library.
+ * 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.
+ */
+
+/*
+ * ADSI Support (built upon Caller*ID)
*/
-#ifndef _ADSI_H
-#define _ADSI_H
+#ifndef _ASTERISK_ADSI_H
+#define _ASTERISK_ADSI_H
+
#include "asterisk/callerid.h"
/* ADSI Message types */
@@ -342,4 +349,5 @@ extern int adsi_input_control(unsigned char *buf, int page, int line, int displa
*
*/
extern int adsi_input_format(unsigned char *buf, int num, int dir, int wrap, unsigned char *format1, unsigned char *format2);
-#endif
+
+#endif /* _ASTERISK_ADSI_H */
diff --git a/include/asterisk/aes.h b/include/asterisk/aes.h
index 2e4c4b219..c77ea8f98 100755
--- a/include/asterisk/aes.h
+++ b/include/asterisk/aes.h
@@ -1,4 +1,14 @@
/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * 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.
+ */
+
+/*
---------------------------------------------------------------------------
Copyright (c) 2003, Dr Brian Gladman <brg@gladman.me.uk>, Worcester, UK.
All rights reserved.
diff --git a/include/asterisk/agi.h b/include/asterisk/agi.h
index a488dfb26..0d3fcc659 100755
--- a/include/asterisk/agi.h
+++ b/include/asterisk/agi.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * AGI Extension interfaces
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * AGI Extension interfaces
*/
#ifndef _ASTERISK_AGI_H
@@ -44,6 +53,4 @@ void agi_unregister(agi_command *cmd);
}
#endif
-
-
-#endif
+#endif /* _ASTERISK_AGI_H */
diff --git a/include/asterisk/alaw.h b/include/asterisk/alaw.h
index 9a0664d0e..b2e0fae19 100755
--- a/include/asterisk/alaw.h
+++ b/include/asterisk/alaw.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * A-Law to Signed linear conversion
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * A-Law to Signed linear conversion
*/
#ifndef _ASTERISK_ALAW_H
@@ -31,4 +40,4 @@ extern short __ast_alaw[256];
#define AST_LIN2A(a) (__ast_lin2a[((unsigned short)(a)) >> 3])
#define AST_ALAW(a) (__ast_alaw[(int)(a)])
-#endif
+#endif /* _ASTERISK_ALAW_H */
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index 79fee2905..6f0f0d955 100755
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -1,15 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Application convenience functions, designed to give consistent
- * look and feel to asterisk apps.
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Application convenience functions, designed to give consistent
+ * look and feel to Asterisk apps.
*/
#ifndef _ASTERISK_APP_H
@@ -197,4 +205,4 @@ int ast_record_review(struct ast_channel *chan, const char *playfile, const char
}
#endif
-#endif
+#endif /* _ASTERISK_APP_H */
diff --git a/include/asterisk/ast_expr.h b/include/asterisk/ast_expr.h
index c5981a204..bc0331309 100755
--- a/include/asterisk/ast_expr.h
+++ b/include/asterisk/ast_expr.h
@@ -1,12 +1,19 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
*/
#ifndef _ASTERISK_EXPR_H
diff --git a/include/asterisk/astdb.h b/include/asterisk/astdb.h
index 547ffedea..c1012cda7 100755
--- a/include/asterisk/astdb.h
+++ b/include/asterisk/astdb.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Persistant data storage (akin to *doze registry)
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Persistant data storage (akin to *doze registry)
*/
#ifndef _ASTERISK_ASTDB_H
@@ -40,4 +49,4 @@ void ast_db_freetree(struct ast_db_entry *entry);
}
#endif
-#endif
+#endif /* _ASTERISK_ASTDB_H */
diff --git a/include/asterisk/astmm.h b/include/asterisk/astmm.h
index 88dd5486b..3c86b7b9b 100755
--- a/include/asterisk/astmm.h
+++ b/include/asterisk/astmm.h
@@ -1,19 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Asterisk debugging
- *
- * Copyright (C) 2002, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
+ *
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Asterisk memory usage debugging
*/
#ifndef NO_AST_MM
-#ifndef _ASTMM_H
-#define _ASTMM_H
+#ifndef _ASTERISK_ASTMM_H
+#define _ASTERISK_ASTMM_H
#define __AST_DEBUG_MALLOC
@@ -66,5 +75,5 @@ void __ast_mm_init(void);
#else
#error "NEVER INCLUDE astmm.h DIRECTLY!!"
-#endif
+#endif /* _ASTERISK_ASTMM_H */
#endif
diff --git a/include/asterisk/astobj.h b/include/asterisk/astobj.h
index 96876ba18..8e373c6c5 100755
--- a/include/asterisk/astobj.h
+++ b/include/asterisk/astobj.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Object Model for Asterisk
- *
- * Copyright (C) 2004 - 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Object Model for Asterisk
*/
#ifndef _ASTERISK_ASTOBJ_H
@@ -740,4 +749,4 @@ extern "C" {
}
#endif
-#endif
+#endif /* _ASTERISK_ASTOBJ_H */
diff --git a/include/asterisk/astosp.h b/include/asterisk/astosp.h
index 977933f4e..9baf3f0b4 100755
--- a/include/asterisk/astosp.h
+++ b/include/asterisk/astosp.h
@@ -1,18 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * OSP support
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * OSP support
*/
#ifndef _ASTERISK_OSP_H
#define _ASTERISK_OSP_H
+
#include "asterisk/channel.h"
#include <netinet/in.h>
#include <time.h>
@@ -35,4 +45,4 @@ int ast_osp_terminate(int handle, int cause, time_t start, time_t duration);
int ast_osp_validate(char *provider, char *token, int *handle, unsigned int *timeout, char *callerid, struct in_addr addr, char *extension);
-#endif
+#endif /* _ASTERISK_OSP_H */
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h
index ce3387915..ba84a54dd 100755
--- a/include/asterisk/callerid.h
+++ b/include/asterisk/callerid.h
@@ -1,21 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * CallerID (and other GR30) Generation support
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
+ * 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.
+ */
+
+/*
+ * CallerID (and other GR30) Generation support
* Includes code and algorithms from the Zapata library.
- *
*/
-#ifndef _CALLERID_H
-#define _CALLERID_H
+#ifndef _ASTERISK_CALLERID_H
+#define _ASTERISK_CALLERID_H
#define MAX_CALLERID_SIZE 32000
@@ -271,4 +278,4 @@ static inline float callerid_getcarrier(float *cr, float *ci, int bit)
int ast_parse_caller_presentation(const char *data);
const char *ast_describe_caller_presentation(int data);
-#endif
+#endif /* _ASTERISK_CALLERID_H */
diff --git a/include/asterisk/causes.h b/include/asterisk/causes.h
index 6d23ba31e..7311e89cf 100755
--- a/include/asterisk/causes.h
+++ b/include/asterisk/causes.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Internal Asterisk's hangup causes
- *
- * Copyright (C) 2003, Digium
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Martin Pycko <martinp@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Internal Asterisk hangup causes
*/
#ifndef _ASTERISK_CAUSES_H
@@ -70,4 +79,4 @@
#define AST_CAUSE_NOTDEFINED 0
#define AST_CAUSE_NOSUCHDRIVER AST_CAUSE_CHAN_NOT_IMPLEMENTED
-#endif
+#endif /* _ASTERISK_CAUSES_H */
diff --git a/include/asterisk/cdr.h b/include/asterisk/cdr.h
index e42a4e690..6cb75e415 100755
--- a/include/asterisk/cdr.h
+++ b/include/asterisk/cdr.h
@@ -1,17 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Call Detail Record API
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
- *
- * Includes code and algorithms from the Zapata library.
+ * 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.
+ */
+
+/*
+ * Call Detail Record API
*/
#ifndef _ASTERISK_CDR_H
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 87d29d956..40f686784 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * General Asterisk channel definitions.
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * General Asterisk channel definitions.
*/
#ifndef _ASTERISK_CHANNEL_H
@@ -1083,4 +1092,4 @@ extern char *ast_print_group(char *buf, int buflen, ast_group_t group);
}
#endif
-#endif
+#endif /* _ASTERISK_CHANNEL_H */
diff --git a/include/asterisk/chanvars.h b/include/asterisk/chanvars.h
index b03824c4e..434874ba9 100755
--- a/include/asterisk/chanvars.h
+++ b/include/asterisk/chanvars.h
@@ -1,18 +1,27 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Channel Variables
- *
- * Copyright (C) 2002, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Channel Variables
*/
-#ifndef _ASTERISK_CHANVARS_INCLUDE
-#define _ASTERISK_CHANVARS_INCLUDE
+#ifndef _ASTERISK_CHANVARS_H
+#define _ASTERISK_CHANVARS_H
#include "asterisk/linkedlists.h"
@@ -28,4 +37,4 @@ char *ast_var_name(struct ast_var_t *var);
char *ast_var_full_name(struct ast_var_t *var);
char *ast_var_value(struct ast_var_t *var);
-#endif
+#endif /* _ASTERISK_CHANVARS_H */
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h
index 993b61687..20a259be1 100755
--- a/include/asterisk/cli.h
+++ b/include/asterisk/cli.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Standard Command Line Interface
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Standard Command Line Interface
*/
#ifndef _ASTERISK_CLI_H
@@ -100,4 +109,4 @@ extern char **ast_cli_completion_matches(char *, char *);
}
#endif
-#endif
+#endif /* _ASTERISK_CLI_H */
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h
index 137e9e146..3cd622038 100755
--- a/include/asterisk/compiler.h
+++ b/include/asterisk/compiler.h
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Compiler-specific macros and other items
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Copyright (C) 2005, 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Compiler-specific macros and other items
*/
#ifndef _ASTERISK_COMPILER_H
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index 69bef1fe9..5a6e2b22d 100755
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Configuration File Parser
- *
- * Copyright (C) 1999-2005, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Configuration File Parser
*/
#ifndef _ASTERISK_CONFIG_H
@@ -36,8 +45,6 @@ struct ast_variable {
char stuff[0];
};
-#include "asterisk/config_old.h"
-
typedef struct ast_config *config_load_func(const char *database, const char *table, const char *configfile, struct ast_config *config);
typedef struct ast_variable *realtime_var_get(const char *database, const char *table, va_list ap);
typedef struct ast_config *realtime_multi_get(const char *database, const char *table, va_list ap);
@@ -197,4 +204,4 @@ struct ast_config *ast_config_internal_load(const char *configfile, struct ast_c
}
#endif
-#endif
+#endif /* _ASTERISK_CONFIG_H */
diff --git a/include/asterisk/config_old.h b/include/asterisk/config_old.h
deleted file mode 100755
index dcde09932..000000000
--- a/include/asterisk/config_old.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Asterisk -- A telephony toolkit for Linux.
- *
- * Configuration File Parser (Deprecated APIs)
- *
- * Copyright (C) 1999-2005, Mark Spencer
- *
- * Mark Spencer <markster@digium.com>
- *
- * This program is free software, distributed under the terms of
- * the GNU General Public License
- */
-
-#ifndef _ASTERISK_CONFIG_OLD_H
-#define _ASTERISK_CONFIG_OLD_H
-
-/*! Load a config file */
-/*!
- * \param configfile path of file to open. If no preceding '/' character, path is considered relative to AST_CONFIG_DIR
- * Create a config structure from a given configuration file.
- * Returns NULL on error, or an ast_config data structure on success
- */
-struct ast_config *ast_load(char *configfile);
-
-/*! Removes a config */
-/*!
- * \param config config data structure associated with the config.
- * Free memory associated with a given config
- * Returns nothing
- */
-void ast_destroy(struct ast_config *config);
-
-/*! Free variable list */
-/*!
- * \param var the linked list of variables to free
- * This function frees a list of variables.
- */
-void ast_destroy_realtime(struct ast_variable *var);
-
-struct ast_config *ast_internal_load(const char *configfile, struct ast_config *cfg);
-
-#endif
diff --git a/include/asterisk/crypto.h b/include/asterisk/crypto.h
index a869de80a..69010714c 100755
--- a/include/asterisk/crypto.h
+++ b/include/asterisk/crypto.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Provide cryptographic signature routines
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Provide cryptographic signature routines
*/
#ifndef _ASTERISK_CRYPTO_H
@@ -112,4 +121,4 @@ extern int ast_decrypt_bin(unsigned char *dst, const unsigned char *src, int src
}
#endif
-#endif
+#endif /* _ASTERISK_CRYPTO_H */
diff --git a/include/asterisk/cvsid.h b/include/asterisk/cvsid.h
deleted file mode 100755
index 4ac5b2a08..000000000
--- a/include/asterisk/cvsid.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Asterisk -- A telephony toolkit for Linux.
- *
- * CVSID Macro for including CVS file Id in source files.
- *
- * Copyright (C) 2004 - 2005, William Waites
- *
- * William Waites <ww@styx.org>
- *
- * This program is free software, distributed under the following
- * terms:
- *
- * 1. Any copies of this file must retain this copyright
- * notice intact.
- * 2. A non-exclusive, non-cancellible license is given
- * to Digium Inc. (Linux Support Services) in order that
- * they may license this file to third parties under terms
- * of their choosing on the condition that if they do so
- * they must also make this file, or any derivative of
- * it, available under terms of the the GNU General Public
- * License.
- * 3. If you have not recieved this file under a proprietary
- * license from Digium or one of their licensees, or the
- * author, it is distributed to you under terms of the GNU
- * General Public License.
- *
- * If you do not have a copy of the GNU GPL, which should be
- * available in the root directory of this source tree, it can
- * be found at:
- *
- * http://www.gnu.org/licenses/gpl.html
- *
- */
-
-/*
- * To use this macro, in the source file put the lines:
- *
- * #include "asterisk/cvsid.h"
- * #ifndef lint
- * CVSID("$Id$");
- * #endif
- *
- * You will then be able to run strings(1) on the resulting
- * binary and find out what revisions of each source file were
- * used to build it, since when checked into a CVS repository,
- * the portion of the string between the dollar signs will be
- * replaced with version information for the file.
- */
-
-#ifndef ASTERISK_CVSID_H
-#define ASTERISK_CVSID_H
-
-#ifdef __GNUC__
-#define CVSID(x) static char __cvsid[] __attribute__ ((unused)) = x
-#else
-#define CVSID(x) static char __cvsid[] = x
-#endif
-
-#endif /* ASTERISK_CVSID_H */
-
-
diff --git a/include/asterisk/devicestate.h b/include/asterisk/devicestate.h
index 771f33b51..687e6819f 100755
--- a/include/asterisk/devicestate.h
+++ b/include/asterisk/devicestate.h
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Device state management
- *
- * Copyright (C) 2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
+ *
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Device state management
*/
#ifndef _ASTERISK_DEVICESTATE_H
diff --git a/include/asterisk/dlfcn-compat.h b/include/asterisk/dlfcn-compat.h
index 40dfd0578..2ce827a6a 100755
--- a/include/asterisk/dlfcn-compat.h
+++ b/include/asterisk/dlfcn-compat.h
@@ -1,4 +1,14 @@
/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * 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.
+ */
+
+/*
Copyright (c) 2002 Jorge Acereda <jacereda@users.sourceforge.net> &
Peter O'Gorman <ogorman@users.sourceforge.net>
@@ -28,6 +38,7 @@ 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.
*/
+
#ifndef _DLFCN_H_
#define _DLFCN_H_
diff --git a/include/asterisk/dns.h b/include/asterisk/dns.h
index 66715febd..c1a0c3afd 100755
--- a/include/asterisk/dns.h
+++ b/include/asterisk/dns.h
@@ -1,12 +1,23 @@
/*
- * DNS support
- *
+ * Asterisk -- An open source telephony toolkit.
+ *
* Written by Thorsten Lockert <tholo@trollphone.org>
*
* Funding provided by Troll Phone Networks AS
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * DNS support
*/
#ifndef _ASTERISK_DNS_H
diff --git a/include/asterisk/dnsmgr.h b/include/asterisk/dnsmgr.h
index e0841a953..c5da2d9b0 100755
--- a/include/asterisk/dnsmgr.h
+++ b/include/asterisk/dnsmgr.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Background DNS update manager
- *
- * Copyright (C) 2005, Kevin P. Fleming
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Kevin P. Fleming <kpfleming@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Background DNS update manager
*/
#ifndef _ASTERISK_DNSMGR_H
diff --git a/include/asterisk/dsp.h b/include/asterisk/dsp.h
index 07e74c947..c189f9d03 100755
--- a/include/asterisk/dsp.h
+++ b/include/asterisk/dsp.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Convenient Signal Processing routines
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Convenient Signal Processing routines
*/
#ifndef _ASTERISK_DSP_H
@@ -97,4 +106,5 @@ int ast_dsp_get_tstate(struct ast_dsp *dsp);
/* Get tcount (Threshold counter) */
int ast_dsp_get_tcount(struct ast_dsp *dsp);
-#endif
+
+#endif /* _ASTERISK_DSP_H */
diff --git a/include/asterisk/dundi.h b/include/asterisk/dundi.h
index 080b9da75..ef6b89fce 100755
--- a/include/asterisk/dundi.h
+++ b/include/asterisk/dundi.h
@@ -1,13 +1,25 @@
/*
- * Distributed Universal Number Discovery (DUNDi)
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Copyright (C) 2004 - 2005, Digium Inc.
+ * Mark Spencer <markster@digium.com>
*
- * Written by Mark Spencer <markster@digium.com>
+ * 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
- * of the GNU General Public License.
+ * 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.
+ */
+
+/*
+ * Distributed Universal Number Discovery (DUNDi)
*/
+
#ifndef _ASTERISK_DUNDI_H
#define _ASTERISK_DUNDI_H
@@ -209,4 +221,5 @@ int dundi_query_eid(struct dundi_entity_info *dei, const char *dcontext, dundi_e
/* Pre-cache to push upstream peers */
int dundi_precache(const char *dcontext, const char *number);
+
#endif /* _ASTERISK_DUNDI_H */
diff --git a/include/asterisk/endian.h b/include/asterisk/endian.h
index f5e20fb07..49a5a8fdd 100755
--- a/include/asterisk/endian.h
+++ b/include/asterisk/endian.h
@@ -1,16 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Asterisk architecture endianess compatibility definitions
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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 Lesser General Public License. Other components of
- * Asterisk are distributed under The GNU General Public License
- * only.
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Asterisk architecture endianess compatibility definitions
*/
#ifndef _ASTERISK_ENDIAN_H
diff --git a/include/asterisk/enum.h b/include/asterisk/enum.h
index 15c059836..e52d1db20 100755
--- a/include/asterisk/enum.h
+++ b/include/asterisk/enum.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * ENUM support
- *
- * Copyright (C) 1999-2005, Digium, inc
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * ENUM support
*/
/*! \file enum.h
@@ -17,7 +26,9 @@
#ifndef _ASTERISK_ENUM_H
#define _ASTERISK_ENUM_H
+
#include "asterisk/channel.h"
+
/*! \brief Lookup entry in ENUM Returns 1 if found, 0 if not found, -1 on hangup
\param chan Channel
\param number Number in E164 format without the + (for e164.arpa) or format
@@ -43,4 +54,5 @@ extern int ast_get_txt(struct ast_channel *chan, const char *number, char *locat
extern int ast_enum_init(void);
extern int ast_enum_reload(void);
-#endif
+
+#endif /* _ASTERISK_ENUM_H */
diff --git a/include/asterisk/features.h b/include/asterisk/features.h
index fb6bf382d..4fa3e6daa 100755
--- a/include/asterisk/features.h
+++ b/include/asterisk/features.h
@@ -1,17 +1,24 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Call Parking and Pickup API
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
+ * 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.
+ */
+
+/*
+ * Call Parking and Pickup API
* Includes code and algorithms from the Zapata library.
- *
*/
#ifndef _AST_FEATURES_H
@@ -82,5 +89,4 @@ extern void ast_register_feature(struct ast_call_feature *feature);
\param feature the ast_call_feature object which was registered before*/
extern void ast_unregister_feature(struct ast_call_feature *feature);
-
#endif /* _AST_FEATURES_H */
diff --git a/include/asterisk/file.h b/include/asterisk/file.h
index 7c4442f67..faf614b33 100755
--- a/include/asterisk/file.h
+++ b/include/asterisk/file.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Generic File Format Support.
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Generic File Format Support.
*/
#ifndef _ASTERISK_FILE_H
@@ -318,6 +327,4 @@ extern int ast_file_init(void);
}
#endif
-
-
-#endif
+#endif /* _ASTERISK_FILE_H */
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index 364aaa4cc..ae42b6cae 100755
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -1,16 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Asterisk internal frame definitions.
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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 Lesser General Public License. Other components of
- * Asterisk are distributed under The GNU General Public License
- * only.
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Asterisk internal frame definitions.
*/
#ifndef _ASTERISK_FRAME_H
@@ -413,5 +420,4 @@ static inline int ast_codec_interp_len(int format)
}
#endif
-
-#endif
+#endif /* _ASTERISK_FRAME_H */
diff --git a/include/asterisk/fskmodem.h b/include/asterisk/fskmodem.h
index 61a77449f..5f919c0f4 100755
--- a/include/asterisk/fskmodem.h
+++ b/include/asterisk/fskmodem.h
@@ -1,21 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * FSK Modem Support
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
+ * 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.
+ */
+
+/*
+ * FSK Modem Support
* Includes code and algorithms from the Zapata library.
- *
*/
-#ifndef _FSKMODEM_H
-#define _FSKMODEM_H
+#ifndef _ASTERISK_FSKMODEM_H
+#define _ASTERISK_FSKMODEM_H
#define PARITY_NONE 0
#define PARITY_EVEN 1
@@ -60,4 +67,4 @@ typedef struct {
He must be called with at least 80 bytes of buffer. */
extern int fsk_serie(fsk_data *fskd, short *buffer, int *len, int *outbyte);
-#endif
+#endif /* _ASTERISK_FSKMODEM_H */
diff --git a/include/asterisk/image.h b/include/asterisk/image.h
index 8eb9b1881..b4044c974 100755
--- a/include/asterisk/image.h
+++ b/include/asterisk/image.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * General Asterisk channel definitions.
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * General Asterisk channel definitions.
*/
#ifndef _ASTERISK_IMAGE_H
@@ -84,4 +93,4 @@ extern void ast_image_unregister(struct ast_imager *imgdrv);
*/
extern int ast_image_init(void);
-#endif
+#endif /* _ASTERISK_IMAGE_H */
diff --git a/include/asterisk/indications.h b/include/asterisk/indications.h
index 2aec759d2..bc5f8b431 100755
--- a/include/asterisk/indications.h
+++ b/include/asterisk/indications.h
@@ -1,4 +1,14 @@
/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * 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.
+ */
+
+/*
* BSD Telephony Of Mexico "Tormenta" Tone Zone Support 2/22/01
*
* This program is free software; you can redistribute it and/or modify
@@ -74,4 +84,4 @@ void ast_playtones_stop(struct ast_channel *chan);
extern struct tone_zone *tone_zones;
extern ast_mutex_t tzlock;
-#endif
+#endif /* _ASTERISK_INDICATIONS_H */
diff --git a/include/asterisk/inline_api.h b/include/asterisk/inline_api.h
index 217f3be3f..52b5673f6 100755
--- a/include/asterisk/inline_api.h
+++ b/include/asterisk/inline_api.h
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Inlinable API function macro
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Kevin P. Fleming <kpfleming@digium.com>
*
- * Copyright (C) 2005, 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Inlinable API function macro
*/
#ifndef __ASTERISK_INLINEAPI_H
diff --git a/include/asterisk/io.h b/include/asterisk/io.h
index 2973c5c69..a9be35703 100755
--- a/include/asterisk/io.h
+++ b/include/asterisk/io.h
@@ -1,18 +1,27 @@
/*
- * Asterisk
- *
- * Mark Spencer <markster@marko.net>
+ * Asterisk -- An open source telephony toolkit.
*
- * Copyright(C) Mark Spencer
- *
- * Distributed under the terms of the GNU General Public License (GPL) Version 2
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * I/O Managment (derived from Cheops-NG)
+ * Mark Spencer <markster@digium.com>
*
+ * 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.
+ */
+
+/*
+ * I/O Management (derived from Cheops-NG)
*/
-#ifndef _IO_H
-#define _IO_H
+#ifndef _ASTERISK_IO_H
+#define _ASTERISK_IO_H
#ifdef __APPLE__
#include "asterisk/poll-compat.h"
@@ -133,5 +142,4 @@ extern int ast_get_termcols(int fd);
}
#endif
-
-#endif
+#endif /* _ASTERISK_IO_H */
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h
index 72f19756c..9bf3b9036 100755
--- a/include/asterisk/linkedlists.h
+++ b/include/asterisk/linkedlists.h
@@ -1,3 +1,22 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
+ * Kevin P. Fleming <kpfleming@digium.com>
+ *
+ * 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.
+ */
+
#ifndef ASTERISK_LINKEDLISTS_H
#define ASTERISK_LINKEDLISTS_H
@@ -337,4 +356,4 @@ struct { \
} \
} while (0)
-#endif
+#endif /* _ASTERISK_LINKEDLISTS_H */
diff --git a/include/asterisk/localtime.h b/include/asterisk/localtime.h
index d7d6bbe22..c02dc43b6 100755
--- a/include/asterisk/localtime.h
+++ b/include/asterisk/localtime.h
@@ -1,14 +1,24 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Custom localtime functions for multiple timezones
- *
- * Copyright (C) 2003, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
+ * Mark Spencer <markster@digium.com>
* Tilghman Lesher <tlesher@vcch.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Custom localtime functions for multiple timezones
*/
#ifndef _ASTERISK_LOCALTIME_H
@@ -21,4 +31,4 @@ extern time_t ast_mktime(struct tm * const tmp, const char *zone);
extern char *ast_ctime(const time_t * const timep);
extern char *ast_ctime_r(const time_t * const timep, char *buf);
-#endif
+#endif /* _ASTERISK_LOCALTIME_H */
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index ce9a84350..7d1ff89ed 100755
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * General Asterisk channel definitions.
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * General Asterisk channel definitions.
*/
#ifndef _ASTERISK_LOCK_H
@@ -394,4 +403,4 @@ static inline int ast_mutex_trylock(ast_mutex_t *pmutex)
#define pthread_create __use_ast_pthread_create_instead__
#endif
-#endif
+#endif /* _ASTERISK_LOCK_H */
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index f0530d03c..8751ba20c 100755
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -1,27 +1,34 @@
/*
- * Asterisk
- *
- * Mark Spencer <markster@digium.com>
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Copyright(C) 1999-2005, Digium, Inc.
- *
- * Distributed under the terms of the GNU General Public License (GPL) Version 2
+ * Mark Spencer <markster@digium.com>
*
- * Logging routines
+ * 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.
*
- * $Revision$
+ * 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.
*/
+
/*!
\file logger.h
\brief Support for logging to various files, console and syslog
Configuration in file logger.conf
*/
-#ifndef _LOGGER_H
-#define _LOGGER_H
+#ifndef _ASTERISK_LOGGER_H
+#define _ASTERISK_LOGGER_H
+
#ifdef SOLARIS
#include <solaris-compat/compat.h>
#endif
+
#include <stdarg.h>
#if defined(__cplusplus) || defined(c_plusplus)
@@ -117,5 +124,4 @@ extern void ast_console_puts(const char *string);
}
#endif
-
-#endif
+#endif /* _ASTERISK_LOGGER_H */
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h
index 547c55cd1..9d2d77455 100755
--- a/include/asterisk/manager.h
+++ b/include/asterisk/manager.h
@@ -1,17 +1,24 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * AMI - Asterisk Management Interface
- * External call management support
- *
- * Copyright (C) 1999-2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
+ * 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.
*
- * $Revision$
+ * 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.
+ */
+
+/*
+ * AMI - Asterisk Management Interface
+ * External call management support
*/
#ifndef _ASTERISK_MANAGER_H
@@ -156,4 +163,5 @@ extern void astman_send_ack(struct mansession *s, struct message *m, char *msg);
extern int init_manager(void);
/*! Called by Asterisk initialization */
extern int reload_manager(void);
-#endif
+
+#endif /* _ASTERISK_MANAGER_H */
diff --git a/include/asterisk/md5.h b/include/asterisk/md5.h
index 30ac30c8c..b2d6eb3d7 100755
--- a/include/asterisk/md5.h
+++ b/include/asterisk/md5.h
@@ -1,5 +1,23 @@
-#ifndef MD5_H
-#define MD5_H
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
+ *
+ * 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.
+ */
+
+#ifndef _ASTERISK_MD5_H
+#define _ASTERISK_MD5_H
#include <inttypes.h>
@@ -15,4 +33,4 @@ void MD5Update(struct MD5Context *context, unsigned char const *buf,
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
-#endif /* !MD5_H */
+#endif /* _ASTERISK_MD5_H */
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 82445a403..df64c8f7a 100755
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -1,14 +1,19 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Module definitions
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
*/
/*! \file
@@ -394,9 +399,8 @@ void ast_unregister_atexit(void (*func)(void));
res = localusecnt; \
}
-
-
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
-#endif
+
+#endif /* _ASTERISK_MODULE_H */
diff --git a/include/asterisk/monitor.h b/include/asterisk/monitor.h
index 62439cad0..21f30f05c 100755
--- a/include/asterisk/monitor.h
+++ b/include/asterisk/monitor.h
@@ -1,5 +1,27 @@
-#ifndef _MONITOR_H
-#define _MONITOR_H
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
+ *
+ * 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.
+ */
+
+/*
+ * Channel monitoring
+ */
+
+#ifndef _ASTERISK_MONITOR_H
+#define _ASTERISK_MONITOR_H
#include <stdio.h>
@@ -34,4 +56,4 @@ int ast_monitor_change_fname( struct ast_channel *chan,
void ast_monitor_setjoinfiles(struct ast_channel *chan, int turnon);
-#endif /* _MONITOR_H */
+#endif /* _ASTERISK_MONITOR_H */
diff --git a/include/asterisk/musiconhold.h b/include/asterisk/musiconhold.h
index f6b46c99d..410e99e58 100755
--- a/include/asterisk/musiconhold.h
+++ b/include/asterisk/musiconhold.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Options provided by main asterisk program
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
+ *
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Music on hold handling
*/
#ifndef _ASTERISK_MOH_H
@@ -35,6 +44,4 @@ void ast_moh_cleanup(struct ast_channel *chan);
}
#endif
-
-
-#endif
+#endif /* _ASTERISK_MOH_H */
diff --git a/include/asterisk/netsock.h b/include/asterisk/netsock.h
index 2215e3d67..3e99e6875 100755
--- a/include/asterisk/netsock.h
+++ b/include/asterisk/netsock.h
@@ -1,15 +1,24 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Network socket handling
- *
- * Copyright (C) 2004-2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
* Kevin P. Fleming <kpfleming@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Network socket handling
*/
#ifndef _ASTERISK_NETSOCK_H
@@ -54,4 +63,4 @@ void *ast_netsock_data(const struct ast_netsock *ns);
}
#endif
-#endif
+#endif /* _ASTERISK_NETSOCK_H */
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 6e2863667..e00fb7696 100755
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Options provided by main asterisk program
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Options provided by main asterisk program
*/
#ifndef _ASTERISK_OPTIONS_H
@@ -52,6 +61,4 @@ extern char debug_filename[AST_FILENAME_MAX];
}
#endif
-
-
-#endif
+#endif /* _ASTERISK_OPTIONS_H */
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index f36d971bf..9828aa6bb 100755
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -1,15 +1,25 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Core PBX routines and definitions.
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
*/
+
+/*
+ * Core PBX routines and definitions.
+ */
+
#ifndef _ASTERISK_PBX_H
#define _ASTERISK_PBX_H
@@ -642,5 +652,4 @@ void ast_hint_state_changed(const char *device);
}
#endif
-
-#endif
+#endif /* _ASTERISK_PBX_H */
diff --git a/include/asterisk/poll-compat.h b/include/asterisk/poll-compat.h
index 0ea189f4a..5f795a894 100755
--- a/include/asterisk/poll-compat.h
+++ b/include/asterisk/poll-compat.h
@@ -1,3 +1,13 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * 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.
+ */
+
/*---------------------------------------------------------------------------*\
$Id$
diff --git a/include/asterisk/privacy.h b/include/asterisk/privacy.h
index 263bf4525..48d1518c5 100755
--- a/include/asterisk/privacy.h
+++ b/include/asterisk/privacy.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Persistant data storage (akin to *doze registry)
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Persistant data storage (akin to *doze registry)
*/
#ifndef _ASTERISK_PRIVACY_H
@@ -34,4 +43,4 @@ int ast_privacy_reset(char *dest);
}
#endif
-#endif
+#endif /* _ASTERISK_PRIVACY_H */
diff --git a/include/asterisk/res_odbc.h b/include/asterisk/res_odbc.h
index 66cc5661e..09c1e17ff 100755
--- a/include/asterisk/res_odbc.h
+++ b/include/asterisk/res_odbc.h
@@ -1,24 +1,34 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ * Copyright (C) 2004 - 2005, Anthony Minessale II
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
+ * Anthony Minessale <anthmct@yahoo.com>
*
- * res_odbc.h <ODBC resource manager>
- * Copyright (C) 2004 - 2005 Anthony Minessale II <anthmct@yahoo.com>
+ * 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.
+ */
+
+/*
+ * ODBC resource manager
*/
-#ifndef _RES_ODBC_H
-#define _RES_ODBC_H
+#ifndef _ASTERISK_RES_ODBC_H
+#define _ASTERISK_RES_ODBC_H
#include <sql.h>
#include <sqlext.h>
#include <sqltypes.h>
-
-
-
typedef struct odbc_obj odbc_obj;
typedef enum { ODBC_SUCCESS=0,ODBC_FAIL=-1} odbc_status;
@@ -36,9 +46,6 @@ struct odbc_obj {
};
-
-
-
/* functions */
odbc_obj *new_odbc_obj(char *name,char *dsn,char *username, char *password);
odbc_status odbc_obj_connect(odbc_obj *obj);
@@ -50,4 +57,5 @@ int odbc_dump_fd(int fd,odbc_obj *obj);
int odbc_sanity_check(odbc_obj *obj);
int odbc_smart_execute(odbc_obj *obj, SQLHSTMT stmt);
int odbc_smart_direct_execute(odbc_obj *obj, SQLHSTMT stmt, char *sql);
-#endif
+
+#endif /* _ASTERISK_RES_ODBC_H */
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 4053cd0b5..7bea249b2 100755
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Real-time Transport Protocol support
- *
- * Copyright (C) 1999-2005, Digium
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Real-time Transport Protocol support
*/
#ifndef _ASTERISK_RTP_H
@@ -125,4 +134,4 @@ void ast_rtp_reload(void);
}
#endif
-#endif
+#endif /* _ASTERISK_RTP_H */
diff --git a/include/asterisk/say.h b/include/asterisk/say.h
index 436281c5d..9634271f3 100755
--- a/include/asterisk/say.h
+++ b/include/asterisk/say.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Say numbers and dates (maybe words one day too)
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Say numbers and dates (maybe words one day too)
*/
#ifndef _ASTERISK_SAY_H
@@ -90,4 +99,4 @@ int ast_say_date_with_format(struct ast_channel *chan, time_t t, const char *int
}
#endif
-#endif
+#endif /* _ASTERISK_SAY_H */
diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h
index 3b239d87e..766342f0f 100755
--- a/include/asterisk/sched.h
+++ b/include/asterisk/sched.h
@@ -1,14 +1,23 @@
/*
- * Asterisk
- *
- * Mark Spencer <markster@marko.net>
+ * Asterisk -- An open source telephony toolkit.
*
- * Copyright(C) Mark Spencer
- *
- * Distributed under the terms of the GNU General Public License (GPL) Version 2
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Scheduler Routines (derived from cheops)
+ * Mark Spencer <markster@digium.com>
+ *
+ * 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.
+ */
+
+/*
+ * Scheduler Routines (derived from cheops)
*/
#ifndef _ASTERISK_SCHED_H
@@ -148,6 +157,4 @@ extern long ast_sched_when(struct sched_context *con,int id);
}
#endif
-
-
-#endif
+#endif /* _ASTERISK_SCHED_H */
diff --git a/include/asterisk/slinfactory.h b/include/asterisk/slinfactory.h
index 95c655cb2..fc7990000 100755
--- a/include/asterisk/slinfactory.h
+++ b/include/asterisk/slinfactory.h
@@ -1,15 +1,24 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * A machine to gather up arbitrary frames and convert them
- * to raw slinear on demand.
- *
- * Copyright (C) 2005, Anthony Minessale II.
+ * Copyright (C) 2005, Anthony Minessale II
*
* Anthony Minessale <anthmct@yahoo.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * A machine to gather up arbitrary frames and convert them
+ * to raw slinear on demand.
*/
#ifndef _ASTERISK_SLINFACTORY_H
@@ -44,4 +53,4 @@ int ast_slinfactory_read(struct ast_slinfactory *sf, short *buf, size_t bytes);
}
#endif
-#endif
+#endif /* _ASTERISK_SLINFACTORY_H */
diff --git a/include/asterisk/srv.h b/include/asterisk/srv.h
index 5afb1b469..cde9b6ac0 100755
--- a/include/asterisk/srv.h
+++ b/include/asterisk/srv.h
@@ -1,16 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * DNS SRV record support
- *
- * Copyright (C) 1999-2005, Digium, Inc.
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
- *
- * $Revision$
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * DNS SRV record support
*/
#ifndef _ASTERISK_SRV_H
@@ -37,4 +44,4 @@ struct ast_channel;
*/
extern int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, const char *service);
-#endif
+#endif /* _ASTERISK_SRV_H */
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h
index 187c3feef..651a576e9 100755
--- a/include/asterisk/strings.h
+++ b/include/asterisk/strings.h
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * String manipulation functions
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Copyright (C) 2005, 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * String manipulation functions
*/
#ifndef _ASTERISK_STRINGS_H
diff --git a/include/asterisk/tdd.h b/include/asterisk/tdd.h
index 669b68ce9..2e129fed4 100755
--- a/include/asterisk/tdd.h
+++ b/include/asterisk/tdd.h
@@ -1,21 +1,28 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * TTY/TDD Generation support
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
*
- * Mark Spencer <markster@linux-support.net>
+ * Mark Spencer <markster@digium.com>
*
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
+ * 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.
+ */
+
+/*
+ * TTY/TDD Generation support
* Includes code and algorithms from the Zapata library.
- *
*/
-#ifndef _TDD_H
-#define _TDD_H
+#ifndef _ASTERISK_TDD_H
+#define _ASTERISK_TDD_H
#define TDD_BYTES_PER_CHAR 2700
@@ -71,4 +78,4 @@ extern void tdd_free(struct tdd_state *tdd);
*/
extern int ast_tdd_gen_ecdisa(unsigned char *outbuf, int len);
-#endif
+#endif /* _ASTERISK_TDD_H */
diff --git a/include/asterisk/term.h b/include/asterisk/term.h
index f6069db65..fc0dab669 100755
--- a/include/asterisk/term.h
+++ b/include/asterisk/term.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Handy terminal functions for vt* terms
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Handy terminal functions for vt* terms
*/
#ifndef _ASTERISK_TERM_H
@@ -62,4 +71,4 @@ extern char *term_quit(void);
}
#endif
-#endif
+#endif /* _ASTERISK_TERM_H */
diff --git a/include/asterisk/time.h b/include/asterisk/time.h
index dbdfb446a..45fdb46ed 100755
--- a/include/asterisk/time.h
+++ b/include/asterisk/time.h
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Time-related functions and macros
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Copyright (C) 2004 - 2005, 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Time-related functions and macros
*/
#ifndef _ASTERISK_TIME_H
diff --git a/include/asterisk/transcap.h b/include/asterisk/transcap.h
index 1a77dd1ec..0187a7381 100755
--- a/include/asterisk/transcap.h
+++ b/include/asterisk/transcap.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * General Asterisk channel definitions.
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Matthew Fredrickson <creslin@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * General Asterisk channel definitions.
*/
#ifndef _ASTERISK_TRANSCAP_H
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h
index 507682ab5..aea3996e5 100755
--- a/include/asterisk/translate.h
+++ b/include/asterisk/translate.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Translate via the use of pseudo channels
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Translate via the use of pseudo channels
*/
#ifndef _ASTERISK_TRANSLATE_H
@@ -108,4 +117,4 @@ extern struct ast_frame *ast_translate(struct ast_trans_pvt *tr, struct ast_fram
}
#endif
-#endif
+#endif /* _ASTERISK_TRANSLATE_H */
diff --git a/include/asterisk/ulaw.h b/include/asterisk/ulaw.h
index 027d3df6a..58c1cb9d4 100755
--- a/include/asterisk/ulaw.h
+++ b/include/asterisk/ulaw.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * u-Law to Signed linear conversion
- *
- * Copyright (C) 1999, Mark Spencer
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Mark Spencer <markster@linux-support.net>
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * u-Law to Signed linear conversion
*/
#ifndef _ASTERISK_ULAW_H
@@ -31,4 +40,4 @@ extern short __ast_mulaw[256];
#define AST_LIN2MU(a) (__ast_lin2mu[((unsigned short)(a)) >> 2])
#define AST_MULAW(a) (__ast_mulaw[(a)])
-#endif
+#endif /* _ASTERISK_ULAW_H */
diff --git a/include/asterisk/unaligned.h b/include/asterisk/unaligned.h
index 80d38af32..f05369c75 100755
--- a/include/asterisk/unaligned.h
+++ b/include/asterisk/unaligned.h
@@ -1,16 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Handle unaligned data access
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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 Lesser General Public License. Other components of
- * Asterisk are distributed under The GNU General Public License
- * only.
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Handle unaligned data access
*/
#ifndef _ASTERISK_UNALIGNED_H
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index 83d9e2185..6d42b7a1c 100755
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -1,12 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Utility functions
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Mark Spencer <markster@digium.com>
*
- * Copyright (C) 2004 - 2005, 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Utility functions
*/
#ifndef _ASTERISK_UTILS_H
diff --git a/include/asterisk/vmodem.h b/include/asterisk/vmodem.h
index 1711f4c18..1ea57c6d6 100755
--- a/include/asterisk/vmodem.h
+++ b/include/asterisk/vmodem.h
@@ -1,14 +1,23 @@
/*
- * Asterisk -- A telephony toolkit for Linux.
+ * Asterisk -- An open source telephony toolkit.
*
- * Voice Modem Definitions
- *
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
+ * 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
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*
+ * Voice Modem Definitions
*/
#ifndef _ASTERISK_VMODEM_H
@@ -171,4 +180,5 @@ extern struct ast_channel *ast_modem_new(struct ast_modem_pvt *i, int state);
/*! Trim string of trailing stuff */
/*! Trim off trailing mess */
extern void ast_modem_trim(char *s);
-#endif
+
+#endif /* _ASTERISK_VMODEM_H */