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 / params.h < prev    next >
C/C++ Source or Header  |  1998-04-23  |  622b  |  20 lines

  1. #ifndef __PARAMS_H
  2. #define __PARAMS_H
  3.  
  4. enum
  5. {
  6.     RET_ERR_PARAM = -1, /* g_return_val_if_fail() failed */
  7.     RET_ERROR = 0, /* just some error, reason already printed to screen */
  8.     RET_OK = 1, /* function worked just fine */
  9.     RET_NOT_ENOUGH_PARAMS, /* not enough parameters given */
  10.     RET_NOT_CONNECTED, /* not connected to IRC server */
  11.     RET_NOT_JOINED, /* not joined to any channels in this window */
  12.     RET_ERR_GETSOCKNAME, /* getsockname() failed */
  13.     RET_ERR_LISTEN, /* listen() failed */
  14.     RET_MULTIPLE_MATCHES, /* multiple matches found, didn't do anything */
  15. };
  16.  
  17. extern char *ret_texts[];
  18.  
  19. #endif
  20.