mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'master' into Jeffail-master
This commit is contained in:
commit
2a074d1160
|
@ -47,6 +47,7 @@ configure for the normal user or suffer from being way too centralized.
|
||||||
### Documentation:
|
### Documentation:
|
||||||
|
|
||||||
- [Installation](/INSTALL.md)
|
- [Installation](/INSTALL.md)
|
||||||
|
- [Commands](/docs/commands.rst)
|
||||||
- [DHT Protocol](https://github.com/irungentoo/ProjectTox-Core/wiki/DHT)<br />
|
- [DHT Protocol](https://github.com/irungentoo/ProjectTox-Core/wiki/DHT)<br />
|
||||||
- [Lossless UDP Protocol](https://github.com/irungentoo/ProjectTox-Core/wiki/Lossless-UDP)<br />
|
- [Lossless UDP Protocol](https://github.com/irungentoo/ProjectTox-Core/wiki/Lossless-UDP)<br />
|
||||||
- [Crypto](https://github.com/irungentoo/ProjectTox-Core/wiki/Crypto)<br />
|
- [Crypto](https://github.com/irungentoo/ProjectTox-Core/wiki/Crypto)<br />
|
||||||
|
|
|
@ -71,12 +71,6 @@ int getfriend_id(uint8_t *client_id)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns number of friends */
|
|
||||||
int getnumfriends()
|
|
||||||
{
|
|
||||||
return numfriends;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* copies the public key associated to that friend id into client_id buffer.
|
/* copies the public key associated to that friend id into client_id buffer.
|
||||||
make sure that client_id is of size CLIENT_ID_SIZE.
|
make sure that client_id is of size CLIENT_ID_SIZE.
|
||||||
return 0 if success
|
return 0 if success
|
||||||
|
|
Loading…
Reference in New Issue
Block a user