home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / Portable Patmos / usr / include / rpcsvc / spray.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-08  |  750 b   |  41 lines  |  [TEXT/R*ch]

  1. #ifndef _RPCSVC_SPRAY_H_
  2. #define _RPCSVC_SPRAY_H_
  3.  
  4. #define SPRAYOVERHEAD 86
  5. #define SPRAYMAX 8845
  6.  
  7. struct spraytimeval {
  8.     u_int sec;
  9.     u_int usec;
  10. };
  11. typedef struct spraytimeval spraytimeval;
  12. bool_t xdr_spraytimeval();
  13.  
  14.  
  15. struct spraycumul {
  16.     u_int counter;
  17.     spraytimeval clock;
  18. };
  19. typedef struct spraycumul spraycumul;
  20. bool_t xdr_spraycumul();
  21.  
  22.  
  23. typedef struct {
  24.     u_int sprayarr_len;
  25.     char *sprayarr_val;
  26. } sprayarr;
  27. bool_t xdr_sprayarr();
  28.  
  29.  
  30. #define SPRAYPROG ((u_long)100012)
  31. #define SPRAYVERS ((u_long)1)
  32. #define SPRAYPROC_SPRAY ((u_long)1)
  33. extern void *sprayproc_spray_1();
  34. #define SPRAYPROC_GET ((u_long)2)
  35. extern spraycumul *sprayproc_get_1();
  36. #define SPRAYPROC_CLEAR ((u_long)3)
  37. extern void *sprayproc_clear_1();
  38.  
  39.  
  40. #endif /* _RPCSVC_SPRAY_H_ */
  41.