286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
|
extern unsigned long OFSocketAddressHash(
const OFSocketAddress *_Nonnull address);
/**
* @brief Converts the specified @ref OFSocketAddress to a string.
*
* @param address The address to convert to a string
* @return The address as an IP string, without the port
*/
extern OFString *_Nonnull OFSocketAddressString(
const OFSocketAddress *_Nonnull address);
/**
* @brief Sets the IP port of the specified @ref OFSocketAddress.
*
* @param address The address on which to set the port
* @param port The port to set on the address
*/
extern void OFSocketAddressSetIPPort(OFSocketAddress *_Nonnull address,
|
|
>
>
>
>
>
>
>
>
>
>
>
|
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
|
extern unsigned long OFSocketAddressHash(
const OFSocketAddress *_Nonnull address);
/**
* @brief Converts the specified @ref OFSocketAddress to a string.
*
* @param address The address to convert to a string
* @return The address as a string, without the port
*/
extern OFString *_Nonnull OFSocketAddressString(
const OFSocketAddress *_Nonnull address);
/**
* @brief Returns a description for the specified @ref OFSocketAddress.
*
* This is similar to @ref OFSocketAddressString, but it also contains the port.
*
* @param address The address to return a description for
* @return The address as an string, with the port
*/
extern OFString *_Nonnull OFSocketAddressDescription(
const OFSocketAddress *_Nonnull address);
/**
* @brief Sets the IP port of the specified @ref OFSocketAddress.
*
* @param address The address on which to set the port
* @param port The port to set on the address
*/
extern void OFSocketAddressSetIPPort(OFSocketAddress *_Nonnull address,
|