home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / yagirc-0.51.tar.gz / yagirc-0.51.tar / yagirc-0.51 / misc.h < prev    next >
C/C++ Source or Header  |  1998-05-06  |  505b  |  19 lines

  1. #ifndef __MISC_H
  2. #define __MISC_H
  3.  
  4. GList *glist_find_string(GList *list, char *str);
  5. GList *glist_case_find_string(GList *list, char *str);
  6.  
  7. /* Read line from somewhere..
  8.  
  9.     socket : 0 = read from file/pipe, 1 = read from socket
  10.     handle : file/socket handle to read from
  11.     str    : where to put line
  12.     buf    : temp buffer
  13.     bufsize: temp buffer size
  14.     bufpos : current position in temp buffer
  15. */
  16. int read_line(int socket, int handle, char *str, char *buf, int bufsize, int *bufpos);
  17.  
  18. #endif
  19.