summaryrefslogtreecommitdiff
path: root/toxdns/toxdns.c
AgeCommit message (Collapse)Author
2017-01-19Update license headers and remove redundant file name comment.iphydf
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project".
2016-12-22Wrap all sodium/nacl functions in crypto_core.c.iphydf
2016-09-30Remove return after no-return situation (and other cleanups).iphydf
Cleanups: - Fix header guards to not use reserved names. - Avoid name shadowing. - Removed an unused variable found by avoiding name shadowing.
2016-09-24Make toxcore code C++ compatible.iphydf
It is still C code, so still compatible with C compilers as well. This change lets us see more clearly where implicit conversions occur by making them explicit.
2016-09-16Ensure that all TODOs have an owner.iphydf
In the future, all TODOs added either need a bug number (TODO(#NN)) or a person's github user name. By default, I made irungentoo the owner of all toxcore TODOs, mannol the owner of toxav TODOs, and myself the owner of API TODOs.
2016-08-31Add braces to all if statements.iphydf
2016-08-27Move logging to a callback.iphydf
This removes the global logger (which by the way was deleted when the first tox was killed, so other toxes would then stop logging). Various bits of the code now carry a logger or pass it around. It's a bit less transparent now, but now there is no need to have a global logger, and clients can decide what to log and where.
2016-08-12Check code formatting on Travis.iphydf
We run astyle on Travis and check if there is a diff. The build terminates if git finds a difference.
2015-11-03Astyle.irungentoo
2015-05-01Fixed some non standard C.irungentoo
2014-09-09spelling correctionscgar
2014-06-23Merge branch 'notsecure-split-video'irungentoo
2014-06-23unrelated: got rid of some warningsnotsecure
2014-06-19dns3_test now automatically does the DNS request.irungentoo
tox_decrypt_dns3_TXT no longer needs id_record to be null terminated.
2014-06-17Small fixes.irungentoo
Added toxdns.h include to toxdns.c. Removed default "Online" status message.
2014-06-14Fixed some issues in toxdns and added a test.irungentoo
Added request_id. request_id must be obtained with tox_generate_dns3_string, stored, then passed to tox_decrypt_dns3_TXT when we want to decrypt the received response.
2014-06-14Added toxdns.irungentoo
toxdns currently contains functions to make it easier for clients to create tox dns3 requests and handle tox dns3 responses: an encrypted way of querying Tox DNS id servers for Tox ids from usernames.