|
glitchedhttps
|
glitchedhttps debugging/error handling code. Mostly for internal use! More...
#include "glitchedhttps_api.h"
Go to the source code of this file.
Functions | |
| GLITCHEDHTTPS_API int | glitchedhttps_set_error_callback (void(*error_callback)(const char *)) |
| GLITCHEDHTTPS_API int | glitchedhttps_unset_error_callback () |
glitchedhttps debugging/error handling code. Mostly for internal use!
| GLITCHEDHTTPS_API int glitchedhttps_set_error_callback | ( | void(*)(const char *) | error_callback | ) |
Sets the glitchedhttps error callback.
If errors occur, they'll be passed as a string into the provided callback function.
| error_callback | The function to call when errors occur. |
1 for true and 0 for false). | GLITCHEDHTTPS_API int glitchedhttps_unset_error_callback | ( | ) |
Clears the glitchedhttps error callback (errors won't be printed anymore).