diff options
author | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-09-11 16:27:03 -0700 |
---|---|---|
committer | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-09-17 14:05:51 -0700 |
commit | 21f8db12c45bd56293262cd4abfb73cd9abec821 (patch) | |
tree | 580729367d00e1eb7e0c4d533777d22af7d7ffc5 /toxcore/tox.h | |
parent | 5da85c582d97d746887da407153afc0acf0a4215 (diff) |
Make ToxAV stateless
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index a8488aeb..61c4227a 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -1237,6 +1237,10 @@ typedef enum TOX_ERR_FRIEND_DELETE { | |||
1237 | * function, this client will appear offline to the friend and no communication | 1237 | * function, this client will appear offline to the friend and no communication |
1238 | * can occur between the two. | 1238 | * can occur between the two. |
1239 | * | 1239 | * |
1240 | * WARNING, calling tox_friend_delete while there's an active ToxAV call will | ||
1241 | * result in undefined behavior. It's the client's responsibility to end all | ||
1242 | * ToxAV calls before deleting a friend. | ||
1243 | * | ||
1240 | * @param friend_number Friend number for the friend to be deleted. | 1244 | * @param friend_number Friend number for the friend to be deleted. |
1241 | * | 1245 | * |
1242 | * @return true on success. | 1246 | * @return true on success. |