1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 10:36:45 +02:00

Finalized and documented the Python scripting interface.

This commit is contained in:
jakob
2017-05-16 20:31:23 -04:00
parent 90210daca7
commit b3ed8bc35c
24 changed files with 649 additions and 23 deletions

View File

@ -1,7 +1,7 @@
/* api.h
*
*
* Copyright (C) 2014 Toxic All Rights Reserved.
* Copyright (C) 2017 Jakob Kreuze <jakob@memeware.net>
*
* This file is part of Toxic.
*
@ -31,6 +31,12 @@ FriendsList api_get_friendslist(void);
char *api_get_nick(void);
TOX_USER_STATUS api_get_status(void);
char *api_get_status_message(void);
void api_send(const char *msg);
void api_execute(const char *input, int mode);
int do_plugin_command(int num_args, char (*args)[MAX_STR_SIZE]);
int num_registered_handlers(void);
int help_max_width(void);
void draw_handler_help(WINDOW *win);
void invoke_autoruns(WINDOW *w, ToxWindow *self);
#endif /* #define API_H */