mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add missing MAX_HOSTNAME_LENGTH doc.
This commit is contained in:
parent
5b14542d3b
commit
72863b9b80
|
@ -786,6 +786,7 @@ bool bootstrap(string host, uint16_t port, const uint8_t[PUBLIC_KEY_SIZE] public
|
|||
* bootstrap nodes.
|
||||
*
|
||||
* @param host The hostname or IP address (IPv4 or IPv6) of the TCP relay.
|
||||
* Must be at most $MAX_HOSTNAME_LENGTH chars, including the NUL byte.
|
||||
* @param port The port on the host on which the TCP relay is listening.
|
||||
* @param public_key The long term public key of the TCP relay
|
||||
* ($PUBLIC_KEY_SIZE bytes).
|
||||
|
|
|
@ -943,6 +943,7 @@ bool tox_bootstrap(Tox *tox, const char *host, uint16_t port, const uint8_t *pub
|
|||
* bootstrap nodes.
|
||||
*
|
||||
* @param host The hostname or IP address (IPv4 or IPv6) of the TCP relay.
|
||||
* Must be at most TOX_MAX_HOSTNAME_LENGTH chars, including the NUL byte.
|
||||
* @param port The port on the host on which the TCP relay is listening.
|
||||
* @param public_key The long term public key of the TCP relay
|
||||
* (TOX_PUBLIC_KEY_SIZE bytes).
|
||||
|
|
Loading…
Reference in New Issue
Block a user