1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 19:26:35 +01:00

merge wit upstream

This commit is contained in:
Jfreegman
2015-03-11 18:52:28 -04:00
16 changed files with 569 additions and 35 deletions

View File

@@ -47,7 +47,7 @@
#define MAX_CMDNAME_SIZE 64
#define TOXIC_MAX_NAME_LENGTH 32 /* Must be <= TOX_MAX_NAME_LENGTH */
#define KEY_IDENT_DIGITS 3 /* number of hex digits to display for the pub-key based identifier */
#define TIME_STR_SIZE 16
#define TIME_STR_SIZE 32
/* ASCII key codes */
#define T_KEY_ESC 0x1B /* ESC key */
@@ -90,6 +90,9 @@ typedef enum _FATAL_ERRS {
Uncomment if necessary */
/* #define URXVT_FIX */
void lock_status ();
void unlock_status ();
void exit_toxic_success(Tox *m);
void exit_toxic_err(const char *errmsg, int errcode);