gnunet_transport_service.h | gnunet_transport_service.h | |||
---|---|---|---|---|
skipping to change at line 269 | skipping to change at line 269 | |||
/** | /** | |||
* Handle to cancel a pending address lookup. | * Handle to cancel a pending address lookup. | |||
*/ | */ | |||
struct GNUNET_TRANSPORT_AddressToStringContext; | struct GNUNET_TRANSPORT_AddressToStringContext; | |||
/** | /** | |||
* Convert a binary address into a human readable address. | * Convert a binary address into a human readable address. | |||
* | * | |||
* @param cfg configuration to use | * @param cfg configuration to use | |||
* @param address address to convert (binary format) | * @param address address to convert (binary format) | |||
* @param addressLen number of bytes in address | ||||
* @param numeric should (IP) addresses be displayed in numeric form | * @param numeric should (IP) addresses be displayed in numeric form | |||
* (otherwise do reverse DNS lookup) | * (otherwise do reverse DNS lookup) | |||
* @param nameTrans name of the transport to which the address belongs | ||||
* @param timeout how long is the lookup allowed to take at most | * @param timeout how long is the lookup allowed to take at most | |||
* @param aluc function to call with the results | * @param aluc function to call with the results | |||
* @param aluc_cls closure for aluc | * @param aluc_cls closure for aluc | |||
* @return handle to cancel the operation, NULL on error | * @return handle to cancel the operation, NULL on error | |||
*/ | */ | |||
struct GNUNET_TRANSPORT_AddressToStringContext * | struct GNUNET_TRANSPORT_AddressToStringContext * | |||
GNUNET_TRANSPORT_address_to_string (const struct GNUNET_CONFIGURATION_Handl e | GNUNET_TRANSPORT_address_to_string (const struct GNUNET_CONFIGURATION_Handl e | |||
*cfg, | *cfg, | |||
const struct GNUNET_HELLO_Address *addr ess, | const struct GNUNET_HELLO_Address *addr ess, | |||
int numeric, | int numeric, | |||
skipping to change at line 344 | skipping to change at line 342 | |||
/** | /** | |||
* Handle for blacklisting peers. | * Handle for blacklisting peers. | |||
*/ | */ | |||
struct GNUNET_TRANSPORT_Blacklist; | struct GNUNET_TRANSPORT_Blacklist; | |||
/** | /** | |||
* Function that decides if a connection is acceptable or not. | * Function that decides if a connection is acceptable or not. | |||
* | * | |||
* @param cls closure | * @param cls closure | |||
* @param pid peer to approve or disapproave | * @param pid peer to approve or disapproave | |||
* @return GNUNET_OK if the connection is allowed | * @return GNUNET_OK if the connection is allowed, GNUNET_SYSERR if not | |||
*/ | */ | |||
typedef int (*GNUNET_TRANSPORT_BlacklistCallback) (void *cls, | typedef int (*GNUNET_TRANSPORT_BlacklistCallback) (void *cls, | |||
const struct | const struct | |||
GNUNET_PeerIdentity * pi d); | GNUNET_PeerIdentity * pi d); | |||
/** | /** | |||
* Install a blacklist callback. The service will be queried for all | * Install a blacklist callback. The service will be queried for all | |||
* existing connections as well as any fresh connections to check if | * existing connections as well as any fresh connections to check if | |||
* they are permitted. If the blacklisting callback is unregistered, | * they are permitted. If the blacklisting callback is unregistered, | |||
* all hosts that were denied in the past will automatically be | * all hosts that were denied in the past will automatically be | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |