* src/ejabberd_ctl.erl: Partially rewritten

* src/ejabberd_ctl.hrl: Definitions of exit status codes moved
here

SVN Revision: 506
This commit is contained in:
Alexey Shchepin 2006-02-13 04:05:13 +00:00
parent 3eb1b59e64
commit 904300ce04
2 changed files with 14 additions and 0 deletions

View File

@ -1,6 +1,8 @@
2006-02-13 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_ctl.erl: Partially rewritten
* src/ejabberd_ctl.hrl: Definitions of exit status codes moved
here
2006-02-12 Alexey Shchepin <alexey@sevcom.net>

12
src/ejabberd_ctl.hrl Normal file
View File

@ -0,0 +1,12 @@
%%%----------------------------------------------------------------------
%%% File : ejabberd_ctl.hrl
%%% Author : Alexey Shchepin <alexey@sevcom.net>
%%% Purpose :
%%% Created : 13 Feb 2006 by Alexey Shchepin <alexey@sevcom.net>
%%% Id : $Id$
%%%----------------------------------------------------------------------
-define(STATUS_SUCCESS, 0).
-define(STATUS_ERROR, 1).
-define(STATUS_USAGE, 2).
-define(STATUS_BADRPC, 3).