IRC client framework (wrapper around libircclient library).
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

params.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  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 8
  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 */