LibIRCClient 1.10 Used by Probotic
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

37 lines
1.2KB

  1. /*
  2. * Copyright (C) 2004-2012 George Yunaev gyunaev@ulduzsoft.com
  3. *
  4. * This library is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU Lesser General Public License as published by
  6. * the Free Software Foundation; either version 3 of the License, or (at your
  7. * option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
  12. * License for more details.
  13. */
  14. #ifndef INCLUDE_IRC_PARAMS_H
  15. #define INCLUDE_IRC_PARAMS_H
  16. #define LIBIRC_VERSION_HIGH 1
  17. #define LIBIRC_VERSION_LOW 10
  18. #define LIBIRC_BUFFER_SIZE 1024
  19. #define LIBIRC_DCC_BUFFER_SIZE 1024
  20. #define LIBIRC_STATE_INIT 0
  21. #define LIBIRC_STATE_LISTENING 1
  22. #define LIBIRC_STATE_CONNECTING 2
  23. #define LIBIRC_STATE_CONNECTED 3
  24. #define LIBIRC_STATE_DISCONNECTED 4
  25. #define LIBIRC_STATE_CONFIRM_SIZE 5 // Used only by DCC send to confirm the amount of sent data
  26. #define LIBIRC_STATE_REMOVED 10 // this state is used only in DCC
  27. #define SSL_PREFIX '#'
  28. #endif /* INCLUDE_IRC_PARAMS_H */