massive improvements all abound

This commit is contained in:
2019-07-02 21:53:29 +02:00
parent 9b4826f9cb
commit b307906cf4
15 changed files with 495 additions and 75 deletions

View File

@@ -57,4 +57,10 @@ bool dc_api_get_userinfo(dc_api_t api, dc_account_t login,
bool dc_api_get_userguilds(dc_api_t api, dc_account_t login,
GPtrArray **guilds);
/**
* Fetch a list of friends of the login account "login". Returns a GPtrArray
* of dc_account_t which automatically cleans itself up.
*/
bool dc_api_get_friends(dc_api_t api, dc_account_t login, GPtrArray **friends);
#endif