summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorcotox <39076296+cotox@users.noreply.github.com>2018-06-26 11:22:51 +0000
committercotox <39076296+cotox@users.noreply.github.com>2018-06-27 02:58:56 +0000
commit72863b9b8052f08ca033f26afef0e01575fb1305 (patch)
tree7ddc4a233c4bb97f4918303eb0ddd02850d4773d /toxcore/tox.h
parent5b14542d3b5af207170536c3e84fd80f6035cc03 (diff)
Add missing MAX_HOSTNAME_LENGTH doc.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index f8cb5e5a..45ebf176 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -943,6 +943,7 @@ bool tox_bootstrap(Tox *tox, const char *host, uint16_t port, const uint8_t *pub
943 * bootstrap nodes. 943 * bootstrap nodes.
944 * 944 *
945 * @param host The hostname or IP address (IPv4 or IPv6) of the TCP relay. 945 * @param host The hostname or IP address (IPv4 or IPv6) of the TCP relay.
946 * Must be at most TOX_MAX_HOSTNAME_LENGTH chars, including the NUL byte.
946 * @param port The port on the host on which the TCP relay is listening. 947 * @param port The port on the host on which the TCP relay is listening.
947 * @param public_key The long term public key of the TCP relay 948 * @param public_key The long term public key of the TCP relay
948 * (TOX_PUBLIC_KEY_SIZE bytes). 949 * (TOX_PUBLIC_KEY_SIZE bytes).