Ignore:
Timestamp:
Jun 30, 2010 5:29:59 AM (12 years ago)
Author:
ming
Message:

Implemented CLI (re #1098)

  • pjlib-util:
    • implement telnet CLI
  • pjsip-apps/samples:
    • sample CLI demo application
  • build:
    • VS6 and Makefile
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/cli/pjlib-util/src/pjlib-util/errno.c

    r3087 r3231  
    9696    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPINSBUF,       "Insufficient buffer"), 
    9797    PJ_BUILD_ERR( PJLIB_UTIL_EHTTPLOST,         "Connection lost"), 
     98 
     99    /* CLI */ 
     100    PJ_BUILD_ERR( PJ_CLI_EEXIT,                 "Exit current session"), 
     101    PJ_BUILD_ERR( PJ_CLI_EMISSINGARG,           "Missing argument"), 
     102    PJ_BUILD_ERR( PJ_CLI_ETOOMANYARGS,          "Too many arguments"), 
     103    PJ_BUILD_ERR( PJ_CLI_EINVARG,               "Invalid argument"), 
     104    PJ_BUILD_ERR( PJ_CLI_EBADNAME,              "Command name already exists"), 
     105    PJ_BUILD_ERR( PJ_CLI_EBADXML,               "Invalid XML format"), 
     106    PJ_BUILD_ERR( PJ_CLI_ETELNETLOST,           "Connection lost"), 
    98107}; 
    99108#endif  /* PJ_HAS_ERROR_STRING */ 
Note: See TracChangeset for help on using the changeset viewer.