Ignore:
Timestamp:
Mar 14, 2013 7:18:13 AM (8 years ago)
Author:
riza
Message:

Re #1643: add initial support for CLI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/errno.h

    r3553 r4440  
    387387#define PJLIB_UTIL_EHTTPLOST        (PJLIB_UTIL_ERRNO_START+155)/* 320155 */ 
    388388 
     389/************************************************************ 
     390 * CLI ERROR 
     391 ***********************************************************/ 
     392 
     393/** 
     394 * @hideinitializer 
     395 * End the current session. This is a special error code returned by 
     396 * pj_cli_sess_exec() to indicate that "exit" or equivalent command has been 
     397 * called to end the current session. 
     398 */ 
     399#define PJ_CLI_EEXIT                (PJLIB_UTIL_ERRNO_START+201)/* 320201 */ 
     400/** 
     401 * @hideinitializer 
     402 * A required CLI argument is not specified. 
     403 */ 
     404#define PJ_CLI_EMISSINGARG          (PJLIB_UTIL_ERRNO_START+202)/* 320202 */ 
     405 /** 
     406 * @hideinitializer 
     407 * Too many CLI arguments. 
     408 */ 
     409#define PJ_CLI_ETOOMANYARGS         (PJLIB_UTIL_ERRNO_START+203)/* 320203 */ 
     410/** 
     411 * @hideinitializer 
     412 * Invalid CLI argument. Typically this is caused by extra characters 
     413 * specified in the command line which does not match any arguments. 
     414 */ 
     415#define PJ_CLI_EINVARG              (PJLIB_UTIL_ERRNO_START+204)/* 320204 */ 
     416/** 
     417 * @hideinitializer 
     418 * CLI command with the specified name already exist. 
     419 */ 
     420#define PJ_CLI_EBADNAME             (PJLIB_UTIL_ERRNO_START+205)/* 320205 */ 
     421/** 
     422 * @hideinitializer 
     423 * CLI command with the specified id already exist. 
     424 */ 
     425#define PJ_CLI_EBADID               (PJLIB_UTIL_ERRNO_START+206)/* 320206 */ 
     426/** 
     427 * @hideinitializer 
     428 * Invalid XML format for CLI command specification. 
     429 */ 
     430#define PJ_CLI_EBADXML              (PJLIB_UTIL_ERRNO_START+207)/* 320207 */ 
     431/** 
     432 * @hideinitializer 
     433 * CLI command entered by user match with more than one command/argument  
     434 * specification. 
     435 */ 
     436#define PJ_CLI_EAMBIGUOUS           (PJLIB_UTIL_ERRNO_START+208)/* 320208 */ 
     437/** 
     438 * @hideinitializer 
     439 * Telnet connection lost. 
     440 */ 
     441#define PJ_CLI_ETELNETLOST          (PJLIB_UTIL_ERRNO_START+211)/* 320211 */ 
     442 
    389443/** 
    390444 * @} 
Note: See TracChangeset for help on using the changeset viewer.