home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / TELECOM / OS9_Unix.lzh / RSHSRC / rshd.h < prev    next >
Text File  |  1992-10-06  |  655b  |  21 lines

  1. /* RSHD.H
  2.  *    ip <pczip@chem.nott.ac.uk>
  3.  * definitions for rshd (shell server)
  4.  */
  5.  
  6. #define LOG_FILE    "/dd/rshd.log"
  7. #define HOSTS_EQUIV    "/dd/sys/hosts.equiv"
  8. #define R_SHELL_PATH    "PATH=/h0/cmds:/h0/local/cmds:/h0/isp/cmds"
  9. #define    DEF_SHELL    "/dd/cmds/shell"
  10. #define NQUEUE        3    /* no of sockets queuing up */
  11.  
  12. #define LOG_ERR        logflag>=0
  13. #define LOG_WARNING    logflag>0
  14. #define LOG_NOTICE    logflag>1
  15. #define LOG_INFO    logflag>2
  16. #define LOG_DEBUG    logflag>3
  17. #define TRACE(A)    if (logflag>3) _errmsg(0,"trace-%s\n",(A)) 
  18. #define TRACE2(A,B)    if (logflag>3) _errmsg(0,"trace-%s-%s\n",(A),(B)) 
  19. #define TRACE2D(A,B)    if (logflag>3) _errmsg(0,"trace-%s-%d\n",(A),(B)) 
  20.  
  21.