X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.h;fp=net.h;h=143fb812f4c1be20368b93cbb60be26eaeb826fe;hp=c515779975343a19b3bffb4162d6dc273eb3186b;hb=b6e25b286c553ac1f971f3c8e0a736f9e731d2b7;hpb=74f1fd1880177e9d58213e4ec44e9980434820d3 diff --git a/net.h b/net.h index c5157799..143fb812 100644 --- a/net.h +++ b/net.h @@ -48,6 +48,9 @@ #define DCCP_SOCKOPT_TX_CCID 14 /**< Set/get the TX CCID. */ #endif +/** The maximum length of the host component in an URL. */ +#define MAX_HOSTLEN 256 + /** * Flowopts: Transport-layer independent encapsulation of socket options * that need to be registered prior to setting up a connection.