mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-30 12:46:45 +02:00
refactor friend/blocklist, dynamically allocate memory
This commit is contained in:
@ -32,6 +32,13 @@
|
||||
#define AC_NUM_GLOB_COMMANDS 14
|
||||
#endif /* _AUDIO */
|
||||
|
||||
#define MAX_FRIEND_REQUESTS 32
|
||||
|
||||
typedef struct {
|
||||
int index;
|
||||
uint8_t list[MAX_FRIEND_REQUESTS][TOX_CLIENT_ID_SIZE];
|
||||
} _FriendRequests;
|
||||
|
||||
ToxWindow new_prompt(void);
|
||||
void prep_prompt_win(void);
|
||||
void prompt_init_statusbar(ToxWindow *self, Tox *m);
|
||||
|
Reference in New Issue
Block a user