@@ -47,11 +47,11 @@ * address struct * * @return An array of results. The list is terminated by NULL and should be * free'd after use. */ -extern __nullable of_resolver_result_t **__nonnull +extern of_resolver_result_t *OF_NULLABLE *OF_NONNULL of_resolve_host(OFString *host, uint16_t port, int protocol); /*! * @brief Converts the specified address to a string and port pair. * @@ -62,20 +62,20 @@ * @param port A pointer to an uint16_t which should be set to the port of the * address or NULL if the port is not needed */ extern void of_address_to_string_and_port(struct sockaddr *address, socklen_t addressLength, - __nonnull OFString *__autoreleasing *__nullable host, - __nullable uint16_t *port); + OFString *__autoreleasing OF_NONNULL *OF_NULLABLE host, + uint16_t *OF_NULLABLE port); /*! * @brief Frees the results returned by @ref of_resolve_host. * * @param results The results returned by @ref of_resolve_host */ extern void of_resolver_free( - __nullable of_resolver_result_t **__nonnull results); + of_resolver_result_t *OF_NULLABLE *OF_NONNULL results); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END