diff options
author | cotox <39076296+cotox@users.noreply.github.com> | 2018-06-26 11:22:51 +0000 |
---|---|---|
committer | cotox <39076296+cotox@users.noreply.github.com> | 2018-06-27 02:58:56 +0000 |
commit | 72863b9b8052f08ca033f26afef0e01575fb1305 (patch) | |
tree | 7ddc4a233c4bb97f4918303eb0ddd02850d4773d /toxcore/tox.api.h | |
parent | 5b14542d3b5af207170536c3e84fd80f6035cc03 (diff) |
Add missing MAX_HOSTNAME_LENGTH doc.
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r-- | toxcore/tox.api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h index 694d7465..ae10f688 100644 --- a/toxcore/tox.api.h +++ b/toxcore/tox.api.h | |||
@@ -786,6 +786,7 @@ bool bootstrap(string host, uint16_t port, const uint8_t[PUBLIC_KEY_SIZE] public | |||
786 | * bootstrap nodes. | 786 | * bootstrap nodes. |
787 | * | 787 | * |
788 | * @param host The hostname or IP address (IPv4 or IPv6) of the TCP relay. | 788 | * @param host The hostname or IP address (IPv4 or IPv6) of the TCP relay. |
789 | * Must be at most $MAX_HOSTNAME_LENGTH chars, including the NUL byte. | ||
789 | * @param port The port on the host on which the TCP relay is listening. | 790 | * @param port The port on the host on which the TCP relay is listening. |
790 | * @param public_key The long term public key of the TCP relay | 791 | * @param public_key The long term public key of the TCP relay |
791 | * ($PUBLIC_KEY_SIZE bytes). | 792 | * ($PUBLIC_KEY_SIZE bytes). |