2
0

agent.x 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*******************************************************************************
  2. **
  3. ** agent.x
  4. **
  5. ** static char sccsid[] = "@(#)agent.x 1.5 94/07/16 Copyr 1991 Sun Microsystems, Inc.";
  6. **
  7. ** $XConsortium: agent.x /main/1 1996/04/21 19:21:23 drk $
  8. **
  9. ** RESTRICTED CONFIDENTIAL INFORMATION:
  10. **
  11. ** The information in this document is subject to special
  12. ** restrictions in a confidential disclosure agreement between
  13. ** HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
  14. ** document outside HP, IBM, Sun, USL, SCO, or Univel without
  15. ** Sun's specific written approval. This document and all copies
  16. ** and derivative works thereof must be returned or destroyed at
  17. ** Sun's request.
  18. **
  19. ** Copyright 1993 Sun Microsystems, Inc. All rights reserved.
  20. **
  21. *******************************************************************************/
  22. %#include "rtable4.h"
  23. enum Update_Status {
  24. update_succeeded=0,
  25. update_failed=1
  26. };
  27. /* The AGENTPROG actually isn't used for callback.
  28. A transient number will be generated instead. It's
  29. just declared here as a "syntax" holder for rpcgen
  30. */
  31. program AGENTPROG {
  32. version AGENTVERS {
  33. Update_Status update_callback(Table_Res_4) = 1;
  34. }=1;
  35. }=00;