mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Misc.
This commit is contained in:
parent
8b70171f4b
commit
30d652e2a5
@ -19,7 +19,7 @@
|
||||
*
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________.
|
||||
* $Id: ibmgr.h,v 1.11 2005-12-30 15:59:19 alexpeshkoff Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef UTILITIES_IBMGR_H
|
||||
@ -97,41 +97,41 @@ struct ibmgr_data_t {
|
||||
};
|
||||
|
||||
|
||||
/* Messages tag definitions
|
||||
*/
|
||||
const USHORT MSG_PROMPT = 1; /* "FBMGR> " (the prompt) */
|
||||
const USHORT MSG_VERSION = 2; /* ibmgr version */
|
||||
// Messages tag definitions
|
||||
|
||||
const USHORT MSG_OPSPEC = 5; /* operation already specified */
|
||||
const USHORT MSG_NOOPSPEC = 6; /* no operation specified */
|
||||
const USHORT MSG_INVSW = 7; /* invalid switch */
|
||||
const USHORT MSG_INVOP = 8; /* invalid operation */
|
||||
const USHORT MSG_INVSWSW = 9; /* invalid switch combination */
|
||||
const USHORT MSG_INVSWOP = 10; /* invalid operation/switch combination */
|
||||
const USHORT MSG_AMBSW = 11; /* ambiguous switch */
|
||||
const USHORT MSG_INVPAR = 12; /* invalid parameter, no switch specified */
|
||||
const USHORT MSG_SWNOPAR = 13; /* switch does not take any parameter */
|
||||
const USHORT MSG_SHUTDOWN = 14; /* shutdown is in progress */
|
||||
const USHORT MSG_CANTSHUT = 15; /* can not start another shutdown */
|
||||
const USHORT MSG_CANTQUIT = 16; /* can not quit ibmgr now */
|
||||
const USHORT MSG_CANTCHANGE = 17; /* can not change host, password or user */
|
||||
const USHORT MSG_WARNPASS = 18; /* warning: only 8 significant bytes of password used */
|
||||
const USHORT MSG_INVUSER = 19; /* invalid user (only 32 bytes allowed) */
|
||||
const USHORT MSG_REQPAR = 20; /* switch requires parameter */
|
||||
const USHORT MSG_SYNTAX = 21; /* syntax error in command line */
|
||||
const USHORT MSG_PROMPT = 1; // "FBMGR> " (the prompt)
|
||||
const USHORT MSG_VERSION = 2; // fbmgr version
|
||||
|
||||
const USHORT MSG_GETPWFAIL = 25; /* can not get password entry */
|
||||
const USHORT MSG_ATTFAIL = 26; /* can not attach to server */
|
||||
const USHORT MSG_SSHUTFAIL = 27; /* can not start server shutdown */
|
||||
const USHORT MSG_SHUTOK = 28; /* server shutdown completed */
|
||||
const USHORT MSG_STARTERR = 29; /* can not start server */
|
||||
const USHORT MSG_STARTFAIL = 30; /* can not start server */
|
||||
const USHORT MSG_SRVUP = 31; /* server is alreary running */
|
||||
const USHORT MSG_SRVUPOK = 32; /* server has been successfully started */
|
||||
const USHORT MSG_NOPERM = 33; /* no permissions to perform operation */
|
||||
const USHORT MSG_PRPOOLFAIL = 34; /* Failed to print pool info */
|
||||
const USHORT MSG_PRPOOLOK = 35; /* Print pool successfull */
|
||||
const USHORT MSG_FLNMTOOLONG = 36; /* FIle name too long */
|
||||
const USHORT MSG_OPSPEC = 5; // operation already specified
|
||||
const USHORT MSG_NOOPSPEC = 6; // no operation specified
|
||||
const USHORT MSG_INVSW = 7; // invalid switch
|
||||
const USHORT MSG_INVOP = 8; // invalid operation
|
||||
const USHORT MSG_INVSWSW = 9; // invalid switch combination
|
||||
const USHORT MSG_INVSWOP = 10; // invalid operation/switch combination
|
||||
const USHORT MSG_AMBSW = 11; // ambiguous switch
|
||||
const USHORT MSG_INVPAR = 12; // invalid parameter, no switch specified
|
||||
const USHORT MSG_SWNOPAR = 13; // switch does not take any parameter
|
||||
const USHORT MSG_SHUTDOWN = 14; // shutdown is in progress
|
||||
const USHORT MSG_CANTSHUT = 15; // can not start another shutdown
|
||||
const USHORT MSG_CANTQUIT = 16; // can not quit fbmgr now
|
||||
const USHORT MSG_CANTCHANGE = 17; // can not change host, password or user
|
||||
const USHORT MSG_WARNPASS = 18; // warning: only 8 significant bytes of password used
|
||||
const USHORT MSG_INVUSER = 19; // invalid user (only 32 bytes allowed)
|
||||
const USHORT MSG_REQPAR = 20; // switch requires parameter
|
||||
const USHORT MSG_SYNTAX = 21; // syntax error in command line
|
||||
|
||||
const USHORT MSG_GETPWFAIL = 25; // can not get password entry
|
||||
const USHORT MSG_ATTFAIL = 26; // can not attach to server
|
||||
const USHORT MSG_SSHUTFAIL = 27; // can not start server shutdown
|
||||
const USHORT MSG_SHUTOK = 28; // server shutdown completed
|
||||
const USHORT MSG_STARTERR = 29; // can not start server
|
||||
const USHORT MSG_STARTFAIL = 30; // can not start server
|
||||
const USHORT MSG_SRVUP = 31; // server is alreary running
|
||||
const USHORT MSG_SRVUPOK = 32; // server has been successfully started
|
||||
const USHORT MSG_NOPERM = 33; // no permissions to perform operation
|
||||
const USHORT MSG_PRPOOLFAIL = 34; // Failed to print pool info
|
||||
const USHORT MSG_PRPOOLOK = 35; // Print pool successfull
|
||||
const USHORT MSG_FLNMTOOLONG = 36; // File name too long
|
||||
|
||||
|
||||
#endif // UTILITIES_IBMGR_H
|
||||
|
@ -223,7 +223,7 @@ gds__msg_format (0, MSG_FAC, number, MSG_LEN, msg,
|
||||
rs = "can not change host, password or user";
|
||||
break;
|
||||
case MSG_VERSION:
|
||||
rs = "ibmgr version";
|
||||
rs = "fbmgr version";
|
||||
break;
|
||||
case MSG_INVSW:
|
||||
rs = "invalid switch";
|
||||
|
Loading…
Reference in New Issue
Block a user