Skip to content

Commit 1291931

Browse files
committed
add documentation for wolfsentry_inet4_ntoa() and wolfsentry_inet6_ntoa().
1 parent 21ddf18 commit 1291931

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

doc/wolfSentry_refman.pdf

3.66 KB
Binary file not shown.

wolfsentry/wolfsentry.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3338,8 +3338,10 @@ WOLFSENTRY_API wolfsentry_errcode_t wolfsentry_user_values_iterate_end(
33383338
/*!< \brief End an iteration loop started with wolfsentry_user_values_iterate_start(). Caller must have a lock on the context at entry. */
33393339

33403340
WOLFSENTRY_API int wolfsentry_inet4_ntoa(const byte *addr, unsigned int addr_bits, char *buf, int *buflen);
3341+
/*!< \brief Convert a network order IPv4 binary address with prefix length into ASCII presentation form (without string termination), with `buflen` supplying available space and returning used space. */
33413342

33423343
WOLFSENTRY_API int wolfsentry_inet6_ntoa(const byte *addr, unsigned int addr_bits, char *buf, int *buflen);
3344+
/*!< \brief Convert a network order IPv6 binary address with prefix length into ASCII presentation form (without string termination), with `buflen` supplying available space and returning used space. */
33433345

33443346
#define WOLFSENTRY_BASE64_DECODED_BUFSPC(buf, len) \
33453347
(((((len)+3)/4)*3) - ((len) > 1 ? \

0 commit comments

Comments
 (0)