home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / vsoup128.zip / util.hh < prev    next >
Text File  |  1997-01-20  |  890b  |  31 lines

  1. //  $Id: util.hh 1.13 1997/01/20 16:35:01 hardy Exp $
  2. //
  3. //  This progam/module was written by Hardy Griech based on ideas and
  4. //  pieces of code from Chin Huang (cthuang@io.org).  Bug reports should
  5. //  be submitted to rgriech@ibm.net.
  6. //
  7. //  This file is part of soup++ for OS/2.  Soup++ including this file
  8. //  is freeware.  There is no warranty of any kind implied.  The terms
  9. //  of the GNU Gernal Public Licence are valid for this piece of software.
  10. //
  11. //  NNTP client routines
  12. //
  13.  
  14.  
  15. #ifndef __UTIL_HH__
  16. #define __UTIL_HH__
  17.  
  18.  
  19. #include "mts.hh"
  20.  
  21.  
  22. const char *getHeader( TFile &handle, const char *header );
  23. unsigned hashi( const char *src, unsigned tabSize );
  24. int nhandles( int depth=0 );
  25. const char *extractAddress( const char *src );
  26. char *findAddressSep( const char *src );
  27. int isHeader( const char *buf, const char *header );
  28.  
  29.  
  30. #endif   // __UTIL_HH__
  31.