home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / inetray / intryst1.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-05  |  535 b   |  28 lines

  1. /*
  2.  * Please do not edit this file.
  3.  * It was generated using rpcgen.
  4.  */
  5.  
  6. #include <rpc/rpc.h>
  7. #include "inetray.start.h"
  8. #ifndef ITIMER_REAL
  9. #include    <sys/time.h>        /* for A/UX */
  10. #endif
  11.  
  12. /* Default timeout can be changed using clnt_control() */
  13. static struct timeval TIMEOUT = { 25, 0 };
  14.  
  15. void *
  16. start_1(argp, clnt)
  17.     sPrm *argp;
  18.     CLIENT *clnt;
  19. {
  20.     static char res;
  21.  
  22.     bzero((char *)&res, sizeof(res));
  23.     if (clnt_call(clnt, START, xdr_sPrm, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) {
  24.         return (NULL);
  25.     }
  26.     return ((void *)&res);
  27. }
  28.