home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / pocketbk / comms / x_sun_psio / code / psbackup.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-30  |  998 b   |  33 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 information for the backup subsystem, it is included by
  11. psbackup.c */
  12. /* defing the level at which to debug */
  13. #define BACKUPCALLDEBUG 3
  14. struct backupentry {
  15.     char *pname ;
  16.     int nodetype ;
  17.     int exclude ;
  18.     struct backupentry * next ;
  19.     struct backupentry * children ;} ;
  20. /* Node identifier defines */
  21. #define BACKUPNODEFILE 1
  22. #define BACKUPNODEDIR  2
  23. #define BACKUPNODEUNKNOWN 3 
  24.  
  25. /* filename to use when listing */
  26. #define BACKUPLISTNAME "/tmp/psionbackuplist"
  27.  
  28. /* define to allow some leway between the psion clock and the sun clock
  29.    so incremental backups will backup a file if it was changed immediatley 
  30.    after the backup 
  31.    currently we allow 10 mins variation */
  32. #define CLOCKDIFF 600 
  33.