Differences From Artifact [b7c9f96c1f]:
- File src/socket.h — part of check-in [2a1546da86] at 2018-07-28 18:29:59 on branch trunk — Add of_socket_address_parse_ip() (user: js, size: 3347) [annotate] [blame] [check-ins using]
To Artifact [2892632dc8]:
- File
src/socket.h
— part of check-in
[8aeee6680a]
at
2018-07-28 20:21:01
on branch trunk
— Add of_socket_address_ip_string()
This replaces of_address_to_string_and_port(). (user: js, size: 3792) [annotate] [blame] [check-ins using]
︙ | |||
147 148 149 150 151 152 153 154 155 156 157 158 | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | + + + + + + + + + + + | /*! * @brief Returns the hash for the specified of_socket_address_t. * * @param address The address to hash * @return The hash for the specified of_socket_address_t */ extern uint32_t of_socket_address_hash(of_socket_address_t *address); /*! * @brief Converts the specified of_socket_address_t to an IP string and port. * * @param address The address to convert to a string * @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 * @return The address as an IP string */ extern OFString *_Nonnull of_socket_address_ip_string( const of_socket_address_t *_Nonnull address, uint16_t *_Nullable port); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END |