GNUnet  0.10.x
Macros
gnunet-daemon-hostlist.h File Reference

common internal definitions for hostlist daemon More...

#include <stdlib.h>
#include "platform.h"
#include "gnunet_core_service.h"
#include "gnunet_protocols.h"
#include "gnunet_statistics_service.h"
#include "gnunet_util_lib.h"
Include dependency graph for gnunet-daemon-hostlist.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_URL_LEN   1000
 How long can hostlist URLs be? More...
 
#define MAX_BYTES_PER_HOSTLISTS   500000
 How many bytes do we download at most from a hostlist server? More...
 

Detailed Description

common internal definitions for hostlist daemon

Author
Matthias Wachs

Definition in file gnunet-daemon-hostlist.h.

Macro Definition Documentation

◆ MAX_URL_LEN

#define MAX_URL_LEN   1000

How long can hostlist URLs be?

Definition at line 36 of file gnunet-daemon-hostlist.h.

Referenced by GNUNET_HOSTLIST_server_start(), and load_hostlist_file().

◆ MAX_BYTES_PER_HOSTLISTS

#define MAX_BYTES_PER_HOSTLISTS   500000

How many bytes do we download at most from a hostlist server?

Definition at line 41 of file gnunet-daemon-hostlist.h.

Referenced by host_processor(), and task_download().