aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/module.h
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 15:55:56 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 15:55:56 +0000
commitbd041a8d8e91d922c6a8b11fd90096c6830f2f47 (patch)
treef4cacc01a944a8dac2060592a3a1f8398b7e7318 /include/asterisk/module.h
parent7b0f075035427d4380119acba04b55b1687105da (diff)
as discussed with kevin, move
ast_register_atexit()/ ast_unregister_atexit() into asterisk.h These are general functions, not restricted to modules, so move them in a more proper place. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19223 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/module.h')
-rw-r--r--include/asterisk/module.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 5447a614d..80d0b5793 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -260,20 +260,6 @@ int ast_module_reload(const char *name);
*/
char *ast_module_helper(const char *line, const char *word, int pos, int state, int rpos, int needsreload);
-/*!
- * \brief Register a function to be executed before Asterisk exits.
- * \param func The callback function to use.
- *
- * \return Zero on success, -1 on error.
- */
-int ast_register_atexit(void (*func)(void));
-
-/*!
- * \brief Unregister a function registered with ast_register_atexit().
- * \param func The callback function to unregister.
- */
-void ast_unregister_atexit(void (*func)(void));
-
/*!
* \brief Given a function address, find the corresponding module.
* This is required as a workaround to the fact that we do not