summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 5497d9e7..26378067 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -727,6 +727,12 @@ typedef enum TOX_ERR_OPTIONS_NEW {
727struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error); 727struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error);
728 728
729/** 729/**
730 * Allocates a new Tox_Options object and initialises it with the values from the
731 * passed object.
732 */
733void tox_options_copy(struct Tox_Options *options, const struct Tox_Options *rhs);
734
735/**
730 * Releases all resources associated with an options objects. 736 * Releases all resources associated with an options objects.
731 * 737 *
732 * Passing a pointer that was not returned by tox_options_new results in 738 * Passing a pointer that was not returned by tox_options_new results in