diff --git a/src/twc.h b/src/twc.h index 525115e..7646201 100644 --- a/src/twc.h +++ b/src/twc.h @@ -22,5 +22,14 @@ extern struct t_weechat_plugin *weechat_plugin; +/// Return codes used throughout Tox-WeeChat. +enum t_twc_rc { + TWC_RC_OK, + /// Generic error return code. + TWC_RC_ERROR, + /// Malloc error return code. + TWC_RC_ERROR_MALLOC, +}; + #endif // TOX_WEECHAT_H