home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / pocketbk / comms / x_sun_psio / code / psmain.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-21  |  1.6 KB  |  45 lines

  1. /* (C) Tim Graves 20th April 1994
  2.    This code is supplied AS IS. no warrantee either expressed or implied 
  3.    is provided. This code may be freeley modified and modified as long as my
  4.    origional authorship is acknowledged. 
  5.    
  6.    Tim Graves
  7.     Sun Microsystems
  8.      
  9.      */
  10. /* this file contains data definitions and structure definitions for the psmain.c file */
  11. struct cmdstruct {
  12.     char * cmdname ;
  13.     int maxargs ;
  14.     int minargs ;
  15.     int (*cmdfn)() ;
  16.     char * usage ;
  17.     char * helptext ;} ;
  18.  
  19. extern char ** environ ;
  20. /* minimum version of suncom required */
  21. #define SUNCOM_VERSION_REQUIRED "3.7"
  22. /* minimum version of suncom required for backups, info and rlist cmds */
  23. #define MINIMUM_FILE_STAT_REQUIRED "2.8"
  24. /* minimum version for checksums */
  25. #define MINIMUM_FILE_CHECKSUM_REQUIRED "2.30"
  26. /* minimum version for rcd (remote cd */
  27. #define MINIMUM_RCD_REQUIRED "2.18"
  28. /* min version required for remote pwd */
  29. #define MINIMUM_RPWD_REQUIRED "2.19"
  30. /* nim version required for debugging on the psion */
  31. #define MINIMUM_DEBUG_REQUIRED "2.22"
  32. /* min version required for handling xmodem transfer protocol */
  33. #define MINIMUM_XMDM_REQUIRED "2.23"
  34. /* min version for internal file transfers with checksumming */
  35. #define MINIMUM_FILE_CHKSUM_REQUIRED "3.8"
  36. /* min version for process operations */
  37. #define MINIMUM_PROCESS_REQUIRED "3.24"
  38. /* nin version for process shutdown operations */
  39. #define MINIMUM_PROCESS_SHUTDOWN_REQUIRED "3.27"
  40.  
  41. /* default file to log the comms stuff */
  42. #define DEFAULTLOG "/tmp/psion.log"
  43. /* default file on the psion to log stuff */
  44. #define PSIONLOG "M:\\debug.txt"
  45.