summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
AgeCommit message (Collapse)Author
2015-03-14There are many scenarios where the user would want to modify theirungentoo
contents pointed by proxy_address.
2015-03-13Remove TOX_FILE_KIND typedef.irungentoo
2015-03-13Merge branch 'newer_api' of https://github.com/dubslow/toxcore into new_apiirungentoo
2015-03-13revert to TOX_FILE_KINDDubslow
2015-03-13File kind is now a uint32_t.irungentoo
This allows clients to agree on what numbers mean what without having it be set in core.
2015-03-13tox_file_send_chunk() must now send data the same length as requestedirungentoo
in the requested chunk callback. For zero size transfers if the data sent is not the same length, the file is assumed to be done.
2015-03-13tox_friend_get_public_key() now does nothing when public_key is NULL.irungentoo
2015-03-12Convert core code depending on the apiDubslow
2015-03-12Added position parameter to tox_file_send_chunk().irungentoo
This is done so that the function now has the same parameters as the request chunk callback.
2015-03-11 This is a combination of 11 commits.Dubslow
The first commit's message is: TOX_STATUS -> TOX_USER_STATUS, is more specific This is the 2nd commit message: I pretty strongly believe tox_iteration needs to be renamed to a verb There are several other noun functions in the API, but none of them *do* things. I think even tox_do is better than tox_iteration. tox_do_interval is one possibility, but I'm open to suggestions. This is the 3rd commit message: private_key -> secret_key This is more consistent with modern/NaCl/elliptic cryptography, and also "pk", meaning public key, is all over other toxcore code and documentation. This will eliminate ambiguity. This is the 4th commit message: Rename some functions for pseudo-namespace consistency The enum change results in long enum types, but I think consistency trumps having a few less characters. This is the 5th commit message: TOX_FILE_KIND -> TOX_FILE_TYPE This is more of an English thing than a consistency thing, but TOX_FILE_KIND sounds funnier/stranger to me than TOX_FILE_TYPE. This is the 6th commit message: More specific file control function names This is the 7th commit message: Rename custom packet functions for pseudo-namespace consistency This also has the issue with long enums... but I still think consistent enum names are better This is the 8th commit message: Rename functions for pseudo-namespace consistency This is the 9th commit message: Consistency with https://github.com/sonOfRa/tox4j/blob/master/doc/core-design.md#naming-conventions and the rest of the api This is the 10th commit message: Fix errors in previous function rename commits This is the 11th commit message: Shorten one error enum name
2015-03-10Added group chat functions to the public api.irungentoo
Since the functions are not new api like I put them in tox_old.{c,h}
2015-03-10Implementation of new api file transfers.irungentoo
Everything should work except resuming.
2015-03-05enums are no longer typedefed to uint8_t.irungentoo
2015-03-02Merge branch 'port_range_option' of https://github.com/saneki/toxcore into ↵irungentoo
new_api
2015-02-27Realign toxencryptsave with new APIDubslow
2015-02-27Allow for specifying the port range to use in Tox_Optionssaneki
2015-02-20Merge branch 'fixed-receipts' into new_apiirungentoo
2015-02-18Put const adjective before type nounsDubslow
(Done with two applications of "sed -i -r "s/(\\w+) const\\b/const \\1/g" toxcore/tox.*" ) Conflicts: toxcore/tox.c
2015-02-18Apparently enums are bad for wrappers and doing this makes wrappingirungentoo
toxcore easier.
2015-02-17More new api functions implemented.irungentoo
Some small self explainatory changes to the api.
2015-02-16More new api work done.irungentoo
m_copy_self_statusmessage no longer takes a buffer length argument.
2015-02-15New api progress.irungentoo
2015-02-14A bit of new api work done.irungentoo
2015-02-13Started implementing new Tox api.irungentoo
2015-01-29Api break.irungentoo
TOX_CLIENT_ID_SIZE renamed to TOX_PUBLIC_KEY_SIZE. Renamed client_id to public_ke in public api.
2014-12-26Make it possible to port clients to the new api by just replacingirungentoo
proxy_enabled with proxy_type.
2014-12-21Further refactoring of proxy codeMaxim Biro
2014-12-21Some refactoring of proxy codeMaxim Biro
2014-12-13Added HTTP proxy supportMaxim Biro
2014-12-10Add define for the maximum length of the friend request to the public api.irungentoo
2014-12-09Merge branch 'more_consistent_custom_packet_handlers' of ↵irungentoo
https://github.com/wrouesnel/toxcore
2014-12-09Change prototype for custom_packet_handler functionsWill Rouesnel
Change the custom_packet_handler callback function interface to be consistent with other callback interfaces. The new interface takes the Messenger object calling as the first parameter, and moves the user data object to be the last parameter. This makes it comparable to the callbacks for file transfer and the like, and should simplify building interfaces. The new prototype is: int (*)(Messenger *m, int32_t friendnumber, const uint8_t *data, uint32_t len, void *object)
2014-12-01Comment fix.irungentoo
2014-11-19get peer pubkey apidubslow
2014-11-15Some modifications to the last pull request.irungentoo
2014-11-14add api function to get group titleJfreegman
2014-11-13Merge branch 'titles' of https://github.com/dubslow/toxcoreirungentoo
2014-11-11fix type checkingdubslow
2014-11-11public api, finishing tweaksdubslow
2014-11-11Added function to get groupchat type.irungentoo
2014-11-10Group chats now have types.irungentoo
2014-10-30Missing cv-qualifiers in tox.h commentsTux3 / Mlkj / !Lev.uXFMLA
2014-10-15re-implement copy_chatlist functionJfreegman
2014-10-14Add function to check if the peernumber is ours for group chats.irungentoo
2014-10-02Fixed tox_load() comment.irungentoo
2014-09-28Merge branch 'unset_avatar' of https://github.com/JFreegman/toxcoreirungentoo
2014-09-27Merge branch 'update-avatar-docs' of https://github.com/ittner/toxcoreirungentoo
2014-09-26add API function to unset avatarJfreegman
2014-09-26Group chats are starting to work.irungentoo
2014-09-25Update avatar documentationAlexandre Erwin Ittner
Update the documentation to reflect the API changes introduced by commits 21be438b2b3f7aa1b65b76a7f528eacfe5b634db and d409bad30dd1657f6b54ea5e38a4d9155f718ae1