aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-07 00:52:22 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-07 00:52:22 +0000
commitea452d3fd8f99256d987297e5afa8d1c226b465e (patch)
tree013c8875e1fadab5b15ed1bc8d53c2bb3ca5c990 /include
parentc43fe99fe03d3d87973e7c874f870c437af65988 (diff)
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@235 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/module.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index e7bda62d6..9a8a7153c 100755
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -25,6 +25,17 @@ int unload_module(void); /* Cleanup all module structures,
sockets, etc */
int usecount(void); /* How many channels provided by this module are in use? */
char *description(void); /* Description of this module */
+char *key(void); /* Return the below mentioned key, unmodified */
+
+int reload(void);
+
+#define ASTERISK_GPL_KEY \
+ "This paragraph is Copyright (C) 2000, Linux Support Services, Inc. \
+In order for your module to load, it must return this key via a function \
+called \"key\". Any code which includes this paragraph must be licensed under \
+the GNU General Public License version 2 or later (at your option). Linux \
+Support Services, Inc. reserves the right to allow other parties to license \
+this paragraph under other terms as well."
#define AST_MODULE_CONFIG "modules.conf" /* Module configuration file */