home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / fingercl.zip / tcp.h < prev    next >
C/C++ Source or Header  |  1992-10-01  |  1KB  |  39 lines

  1. /* tcp.h -- What we need to finger with TCP protocol. */
  2.  
  3. /* Copyright (C) 1988, 1990, 1992 Free Software Foundation, Inc.
  4.  
  5.    This file is part of GNU Finger.
  6.  
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License as published by
  9.    the Free Software Foundation; either version 2, or (at your option)
  10.    any later version.
  11.  
  12.    This program is distributed in the hope that it will be useful,
  13.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.    GNU General Public License for more details.
  16.  
  17.    You should have received a copy of the GNU General Public License
  18.    along with this program; if not, write to the Free Software
  19.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. #if !defined (_TCP_H_)
  22. #define _TCP_H_
  23.  
  24. /* Don't forget to include sys/types.h before sys/socket.h. */
  25.  
  26. /* #include <sys/types.h> */
  27. #include <sys/socket.h>
  28. #ifdef _AIX
  29. #include <netinet/in.h>
  30. #endif /* _AIX */
  31.  
  32. #ifdef __STDC__
  33. extern int host_cmp (char *, char *);
  34. #else
  35. extern int host_cmp ();
  36. #endif
  37.  
  38. #endif /* _TCP_H_ */
  39.