Creates and initialises a new Tox instance with the options passed.
This function will bring the instance into a valid state. Running the event loop with a new instance will operate correctly.
If loading failed or succeeded only partially, the new or partially loaded instance is returned and an error code is set.
options |
An options object as described above. If this parameter is NULL, the default options are used. |
A new Tox instance pointer on success or NULL on failure. |