gnunet-daemon-hostlist.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. This file is part of GNUnet.
  3. (C) 2009 Christian Grothoff (and other contributing authors)
  4. GNUnet is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published
  6. by the Free Software Foundation; either version 3, or (at your
  7. option) any later version.
  8. GNUnet is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GNUnet; see the file COPYING. If not, write to the
  14. Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  15. Boston, MA 02111-1307, USA.
  16. */
  17. /**
  18. * @file hostlist/gnunet-daemon-hostlist.h
  19. * @brief common internal definitions for hostlist daemon
  20. * @author Matthias Wachs
  21. */
  22. #include <stdlib.h>
  23. #include "platform.h"
  24. #include "hostlist-client.h"
  25. #include "hostlist-server.h"
  26. #include "gnunet_core_service.h"
  27. #include "gnunet_getopt_lib.h"
  28. #include "gnunet_protocols.h"
  29. #include "gnunet_program_lib.h"
  30. #include "gnunet_statistics_service.h"
  31. #include "gnunet_strings_lib.h"
  32. #include "gnunet_time_lib.h"
  33. #include "gnunet_util_lib.h"
  34. /**
  35. * General hostlist daemon debugging.
  36. */
  37. #define DEBUG_HOSTLIST GNUNET_NO
  38. #define MAX_URL_LEN 1000
  39. #define MAX_BYTES_PER_HOSTLISTS 500000
  40. /* end of gnunet-daemon-hostlist.h */