home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / bsd / rpcsvc / ypupdate_prot.x < prev    next >
Text File  |  1990-01-22  |  737b  |  39 lines

  1. %
  2. %/* @(#)ypupdate_prot.x    1.2 88/03/31 4.0NFSSRC; from 1.4 88/02/08 Copyr 1986, Sun Micro */
  3. %
  4. %/*
  5. % * Compiled from ypupdate_prot.x using rpcgen
  6. % * This is NOT source code!
  7. % * DO NOT EDIT THIS FILE!
  8. % */
  9.  
  10. /*
  11.  * YP update service protocol
  12.  */
  13. const MAXMAPNAMELEN = 255;
  14. const MAXYPDATALEN  = 1023;
  15. const MAXERRMSGLEN  = 255;
  16.  
  17. program YPU_PROG {
  18.     version YPU_VERS {
  19.         u_int YPU_CHANGE(ypupdateargs) = 1;
  20.         u_int YPU_INSERT(ypupdateargs) = 2;
  21.         u_int YPU_DELETE(ypdeleteargs) = 3;
  22.         u_int YPU_STORE(ypupdateargs)  = 4;
  23.     } = 1;
  24. } = 100028;
  25.  
  26. typedef opaque yp_buf<MAXYPDATALEN>;
  27.  
  28. struct ypupdate_args {
  29.     string mapname<MAXMAPNAMELEN>;
  30.     yp_buf key;
  31.     yp_buf datum;
  32. };
  33.  
  34. struct ypdelete_args {
  35.     string mapname<MAXMAPNAMELEN>;
  36.     yp_buf key;
  37. };
  38.  
  39.