[asterisk-dev] Janitor project ast_module_load_result ??
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Oct 25 12:22:01 CDT 2007
On Thu, Oct 25, 2007 at 02:09:02PM -0300, Eliel Sardanons wrote:
> I think we could start a new janitor project to replace every 'return' on
> load_module's with:
>
> enum ast_module_load_result {
> AST_MODULE_LOAD_SUCCESS = 0, /*!< Module loaded and configured */
> AST_MODULE_LOAD_DECLINE = 1, /*!< Module is not configured */
> AST_MODULE_LOAD_SKIP = 2, /*!< Module was skipped for some
> reason */
> AST_MODULE_LOAD_FAILURE = -1, /*!< Module could not be loaded
> properly */
> };
What do those return values mean? Does a return value of -1 mean that
Asterisk should die?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list