home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / comm / tcp / amitcp-sdk / src / netlib / dummy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-29  |  539 b   |  22 lines

  1. RCS_ID_C="$Id: dummy.c,v 4.1 1994/09/29 23:09:02 jraja Exp $";
  2. /*
  3.  *      dummy.c - unimplemented netdb functions 
  4.  *
  5.  *      Copyright © 1994 AmiTCP/IP Group, 
  6.  *                       Network Solutions Development Inc.
  7.  *                       All rights reserved.
  8.  */
  9.  
  10. #include <netdb.h>
  11. #if !__SASC
  12. #define NULL ((void *) 0)
  13. #endif
  14. struct hostent  *gethostent(void)
  15. { return NULL; }
  16. struct netent  *getnetent(void)
  17. { return NULL; }
  18. struct servent  *getservent(void)
  19. { return NULL; }
  20. struct protoent *getprotoent(void)
  21. { return NULL; }
  22.