SYMBOL INDEX (593 symbols across 14 files) FILE: event-old.h type evutil_socket_t (line 13) | typedef int evutil_socket_t; type event (line 15) | struct event type event_base (line 15) | struct event_base type event (line 16) | struct event type event_base (line 16) | struct event_base type event (line 17) | struct event type event (line 23) | struct event type event_base (line 23) | struct event_base type event (line 24) | struct event type event_base (line 24) | struct event_base type event (line 25) | struct event type event (line 31) | struct event function event_free (line 32) | static void event_free (struct event *ev) { type bufferevent (line 37) | struct bufferevent type event_base (line 37) | struct event_base type bufferevent (line 38) | struct bufferevent type event_base (line 38) | struct event_base type bufferevent (line 40) | struct bufferevent type event (line 45) | struct event FILE: interface.c type username_peer_pair (line 100) | struct username_peer_pair { type tree_username_peer_pair (line 107) | struct tree_username_peer_pair type username_peer_pair (line 109) | struct username_peer_pair type in_ev (line 145) | struct in_ev type tgl_state (line 153) | struct tgl_state type tgl_state (line 156) | struct tgl_state type in_ev (line 156) | struct in_ev type bufferevent (line 157) | struct bufferevent function is_same_word (line 159) | int is_same_word (const char *s, size_t l, const char *word) { function skip_wspc (line 163) | static void skip_wspc (void) { function socket_answer_start (line 178) | void socket_answer_start (void) { function socket_answer_add_printf (line 183) | void socket_answer_add_printf (const char *format, ...) { function socket_answer_end (line 192) | void socket_answer_end (struct in_ev *ev) { function unescape_token (line 221) | static void unescape_token (char *start, char *end) { function next_token (line 261) | static void next_token (void) { function next_token_end (line 300) | void next_token_end (void) { function next_token_end_ac (line 327) | void next_token_end_ac (void) { function cur_token_int (line 354) | long long cur_token_int (void) { function hex2int (line 371) | int hex2int (char c) { function tgl_message_id_t (line 401) | tgl_message_id_t parse_input_msg_id (const char *s, int l) { function tgl_message_id_t (line 443) | tgl_message_id_t cur_token_msg_id (void) { function cur_token_double (line 447) | double cur_token_double (void) { function tgl_peer_id_t (line 464) | tgl_peer_id_t parse_input_peer_id (const char *s, int l, int mask) { function tgl_peer_id_t (line 535) | tgl_peer_id_t cur_token_user (void) { function tgl_peer_id_t (line 539) | tgl_peer_id_t cur_token_chat (void) { function tgl_peer_id_t (line 543) | tgl_peer_id_t cur_token_encr_chat (void) { function tgl_peer_id_t (line 547) | tgl_peer_id_t cur_token_channel (void) { function tgl_peer_id_t (line 551) | tgl_peer_id_t cur_token_peer (void) { function set_prompt (line 608) | void set_prompt (const char *s) { function update_prompt (line 613) | void update_prompt (void) { type command_argument (line 644) | enum command_argument { type arg (line 668) | struct arg { type command (line 681) | struct command { type tgl_state (line 694) | struct tgl_state type tgl_user (line 694) | struct tgl_user type tgl_state (line 695) | struct tgl_state type tgl_message (line 695) | struct tgl_message type tgl_state (line 696) | struct tgl_state type tgl_message (line 696) | struct tgl_message type tgl_state (line 697) | struct tgl_state type tgl_message (line 697) | struct tgl_message type tgl_state (line 698) | struct tgl_state type tgl_state (line 699) | struct tgl_state type tgl_chat (line 699) | struct tgl_chat type tgl_state (line 700) | struct tgl_state type tgl_channel (line 700) | struct tgl_channel type tgl_state (line 701) | struct tgl_state type tgl_user (line 701) | struct tgl_user type tgl_state (line 702) | struct tgl_state type tgl_state (line 703) | struct tgl_state type tgl_state (line 704) | struct tgl_state type tgl_state (line 705) | struct tgl_state type tgl_secret_chat (line 705) | struct tgl_secret_chat type tgl_state (line 706) | struct tgl_state type tgl_state (line 707) | struct tgl_state type tgl_user (line 707) | struct tgl_user type tgl_state (line 708) | struct tgl_state type tgl_state (line 709) | struct tgl_state type tgl_message (line 709) | struct tgl_message type tgl_state (line 710) | struct tgl_state type tgl_message (line 710) | struct tgl_message type tgl_state (line 711) | struct tgl_state type tgl_secret_chat (line 711) | struct tgl_secret_chat type tgl_state (line 712) | struct tgl_state type command (line 714) | struct command function do_help (line 717) | void do_help (struct command *command, int arg_num, struct arg args[], s... function do_get_terms_of_service (line 741) | void do_get_terms_of_service (struct command *command, int arg_num, stru... function do_stats (line 747) | void do_stats (struct command *command, int arg_num, struct arg args[], ... function do_show_license (line 759) | void do_show_license (struct command *command, int arg_num, struct arg a... function do_quit (line 769) | void do_quit (struct command *command, int arg_num, struct arg args[], s... function do_safe_quit (line 776) | void do_safe_quit (struct command *command, int arg_num, struct arg args... function do_set (line 783) | void do_set (struct command *command, int arg_num, struct arg args[], st... function do_chat_with_peer (line 796) | void do_chat_with_peer (struct command *command, int arg_num, struct arg... function do_main_session (line 803) | void do_main_session (struct command *command, int arg_num, struct arg a... function do_version (line 811) | void do_version (struct command *command, int arg_num, struct arg args[]... function do_set_password (line 835) | void do_set_password (struct command *command, int arg_num, struct arg a... function do_msg (line 844) | void do_msg (struct command *command, int arg_num, struct arg args[], st... function do_post (line 851) | void do_post (struct command *command, int arg_num, struct arg args[], s... function do_msg_kbd (line 858) | void do_msg_kbd (struct command *command, int arg_num, struct arg args[]... function do_reply (line 878) | void do_reply (struct command *command, int arg_num, struct arg args[], ... function do_send_text (line 884) | void do_send_text (struct command *command, int arg_num, struct arg args... function do_post_text (line 890) | void do_post_text (struct command *command, int arg_num, struct arg args... function do_reply_text (line 895) | void do_reply_text (struct command *command, int arg_num, struct arg arg... function _do_send_file (line 901) | static void _do_send_file (struct command *command, int arg_num, struct ... function do_send_photo (line 908) | void do_send_photo (struct command *command, int arg_num, struct arg arg... function do_send_file (line 912) | void do_send_file (struct command *command, int arg_num, struct arg args... function do_send_audio (line 916) | void do_send_audio (struct command *command, int arg_num, struct arg arg... function do_send_video (line 920) | void do_send_video (struct command *command, int arg_num, struct arg arg... function do_send_document (line 924) | void do_send_document (struct command *command, int arg_num, struct arg ... function do_post_photo (line 928) | void do_post_photo (struct command *command, int arg_num, struct arg arg... function do_post_file (line 932) | void do_post_file (struct command *command, int arg_num, struct arg args... function do_post_audio (line 936) | void do_post_audio (struct command *command, int arg_num, struct arg arg... function do_post_video (line 940) | void do_post_video (struct command *command, int arg_num, struct arg arg... function do_post_document (line 944) | void do_post_document (struct command *command, int arg_num, struct arg ... function _do_reply_file (line 948) | void _do_reply_file (struct command *command, int arg_num, struct arg ar... function do_reply_photo (line 954) | void do_reply_photo (struct command *command, int arg_num, struct arg ar... function do_reply_file (line 958) | void do_reply_file (struct command *command, int arg_num, struct arg arg... function do_reply_audio (line 962) | void do_reply_audio (struct command *command, int arg_num, struct arg ar... function do_reply_video (line 966) | void do_reply_video (struct command *command, int arg_num, struct arg ar... function do_reply_document (line 970) | void do_reply_document (struct command *command, int arg_num, struct arg... function do_fwd (line 974) | void do_fwd (struct command *command, int arg_num, struct arg args[], st... function do_fwd_media (line 990) | void do_fwd_media (struct command *command, int arg_num, struct arg args... function do_send_contact (line 996) | void do_send_contact (struct command *command, int arg_num, struct arg a... function do_reply_contact (line 1002) | void do_reply_contact (struct command *command, int arg_num, struct arg ... function do_send_location (line 1008) | void do_send_location (struct command *command, int arg_num, struct arg ... function do_post_location (line 1014) | void do_post_location (struct command *command, int arg_num, struct arg ... function do_reply_location (line 1020) | void do_reply_location (struct command *command, int arg_num, struct arg... function do_broadcast (line 1026) | void do_broadcast (struct command *command, int arg_num, struct arg args... function do_get_self (line 1041) | void do_get_self(struct command *command, int arg_num, struct arg args[]... function do_set_profile_photo (line 1046) | void do_set_profile_photo (struct command *command, int arg_num, struct ... function do_set_profile_name (line 1052) | void do_set_profile_name (struct command *command, int arg_num, struct a... function do_set_username (line 1058) | void do_set_username (struct command *command, int arg_num, struct arg a... function do_set_phone_number (line 1064) | void do_set_phone_number (struct command *command, int arg_num, struct a... function do_status_online (line 1070) | void do_status_online (struct command *command, int arg_num, struct arg ... function do_status_offline (line 1076) | void do_status_offline (struct command *command, int arg_num, struct arg... function do_export_card (line 1082) | void do_export_card (struct command *command, int arg_num, struct arg ar... function do_chat_set_photo (line 1092) | void do_chat_set_photo (struct command *command, int arg_num, struct arg... function do_rename_chat (line 1098) | void do_rename_chat (struct command *command, int arg_num, struct arg ar... function do_chat_info (line 1104) | void do_chat_info (struct command *command, int arg_num, struct arg args... function do_channel_info (line 1110) | void do_channel_info (struct command *command, int arg_num, struct arg a... function do_chat_add_user (line 1116) | void do_chat_add_user (struct command *command, int arg_num, struct arg ... function do_chat_del_user (line 1122) | void do_chat_del_user (struct command *command, int arg_num, struct arg ... function do_create_group_chat (line 1128) | void do_create_group_chat (struct command *command, int arg_num, struct ... function do_export_chat_link (line 1140) | void do_export_chat_link (struct command *command, int arg_num, struct a... function do_import_chat_link (line 1146) | void do_import_chat_link (struct command *command, int arg_num, struct a... function do_channel_invite (line 1152) | void do_channel_invite (struct command *command, int arg_num, struct arg... function do_channel_kick (line 1158) | void do_channel_kick (struct command *command, int arg_num, struct arg a... function do_channel_get_members (line 1164) | void do_channel_get_members (struct command *command, int arg_num, struc... function do_channel_get_admins (line 1170) | void do_channel_get_admins (struct command *command, int arg_num, struct... function do_chat_upgrade (line 1176) | void do_chat_upgrade (struct command *command, int arg_num, struct arg a... function do_user_info (line 1188) | void do_user_info (struct command *command, int arg_num, struct arg args... function do_add_contact (line 1194) | void do_add_contact (struct command *command, int arg_num, struct arg ar... function do_rename_contact (line 1200) | void do_rename_contact (struct command *command, int arg_num, struct arg... function do_del_contact (line 1213) | void do_del_contact (struct command *command, int arg_num, struct arg ar... function do_import_card (line 1220) | void do_import_card (struct command *command, int arg_num, struct arg ar... function do_block_user (line 1252) | void do_block_user (struct command *command, int arg_num, struct arg arg... function do_unblock_user (line 1258) | void do_unblock_user (struct command *command, int arg_num, struct arg a... function do_accept_secret_chat (line 1267) | void do_accept_secret_chat (struct command *command, int arg_num, struct... function do_set_ttl (line 1279) | void do_set_ttl (struct command *command, int arg_num, struct arg args[]... function do_visualize_key (line 1290) | void do_visualize_key (struct command *command, int arg_num, struct arg ... function do_create_secret_chat (line 1338) | void do_create_secret_chat (struct command *command, int arg_num, struct... function do_rename_channel (line 1348) | void do_rename_channel (struct command *command, int arg_num, struct arg... function do_channel_set_photo (line 1354) | void do_channel_set_photo (struct command *command, int arg_num, struct ... function do_channel_set_about (line 1360) | void do_channel_set_about (struct command *command, int arg_num, struct ... function do_channel_set_admin (line 1366) | void do_channel_set_admin (struct command *command, int arg_num, struct ... function do_channel_set_username (line 1372) | void do_channel_set_username (struct command *command, int arg_num, stru... function do_create_channel (line 1378) | void do_create_channel (struct command *command, int arg_num, struct arg... function do_join_channel (line 1390) | void do_join_channel (struct command *command, int arg_num, struct arg a... function do_leave_channel (line 1396) | void do_leave_channel (struct command *command, int arg_num, struct arg ... function do_export_channel_link (line 1402) | void do_export_channel_link (struct command *command, int arg_num, struc... function do_dialog_list (line 1412) | void do_dialog_list (struct command *command, int arg_num, struct arg ar... function do_channel_list (line 1418) | void do_channel_list (struct command *command, int arg_num, struct arg a... function do_resolve_username (line 1424) | void do_resolve_username (struct command *command, int arg_num, struct a... function do_contact_list (line 1430) | void do_contact_list (struct command *command, int arg_num, struct arg a... function do_mark_read (line 1440) | void do_mark_read (struct command *command, int arg_num, struct arg args... function do_history (line 1446) | void do_history (struct command *command, int arg_num, struct arg args[]... type in_ev (line 1452) | struct in_ev function do_send_typing (line 1454) | void do_send_typing (struct command *command, int arg_num, struct arg ar... function do_send_typing_abort (line 1468) | void do_send_typing_abort (struct command *command, int arg_num, struct ... function do_load_user_photo (line 1534) | void do_load_user_photo (struct command *command, int arg_num, struct a... function do_view_user_photo (line 1546) | void do_view_user_photo (struct command *command, int arg_num, struct a... function do_search (line 1562) | void do_search (struct command *command, int arg_num, struct arg args[],... function do_delete_msg (line 1592) | void do_delete_msg (struct command *command, int arg_num, struct arg arg... function do_get_message (line 1597) | void do_get_message (struct command *command, int arg_num, struct arg ar... function do_start_bot (line 1607) | void do_start_bot (struct command *command, int arg_num, struct arg args... type event (line 1625) | struct event function do_clear (line 1627) | void do_clear (struct command *command, int arg_num, struct arg args[], ... type command (line 1654) | struct command function register_new_command (line 1780) | void register_new_command (struct command *cmd) { function get_complete_mode (line 1792) | enum command_argument get_complete_mode (void) { function complete_string_list (line 1942) | int complete_string_list (char **list, int index, const char *text, int ... type tgl_state (line 1956) | struct tgl_state type tgl_message (line 1956) | struct tgl_message type tgl_state (line 1957) | struct tgl_state type tgl_secret_chat (line 1957) | struct tgl_secret_chat type tgl_state (line 1958) | struct tgl_state function complete_command_list (line 1960) | int complete_command_list (int index, const char *text, int len, char **... function complete_spec_message_answer (line 1976) | int complete_spec_message_answer (struct tgl_message *M, int index, cons... function complete_message_answer (line 1998) | int complete_message_answer (tgl_peer_t *P, int index, const char *text,... function complete_user_command (line 2008) | int complete_user_command (tgl_peer_t *P, int index, const char *text, i... function complete_chat_command (line 2037) | int complete_chat_command (tgl_peer_t *P, int index, const char *text, i... function complete_username (line 2079) | int complete_username (int mode, int index, const char *text, int len, c... type command_argument (line 2122) | enum command_argument type tgl_message (line 2211) | struct tgl_message function work_modifier (line 2238) | void work_modifier (const char *s, int l) { function print_fail (line 2260) | void print_fail (struct in_ev *ev) { function fail_interface (line 2279) | void fail_interface (struct tgl_state *TLS, struct in_ev *ev, int error_... function print_success (line 2307) | void print_success (struct in_ev *ev) { function print_success_gw (line 2326) | void print_success_gw (struct tgl_state *TLSR, void *extra, int success) { function print_msg_success_gw (line 2337) | void print_msg_success_gw (struct tgl_state *TLS, void *extra, int succe... function print_msg_list_success_gw (line 2342) | void print_msg_list_success_gw (struct tgl_state *TLSR, void *extra, int... function print_encr_chat_success_gw (line 2347) | void print_encr_chat_success_gw (struct tgl_state *TLS, void *extra, int... function print_msg_list_gw (line 2352) | void print_msg_list_gw (struct tgl_state *TLSR, void *extra, int success... function print_msg_list_history_gw (line 2384) | void print_msg_list_history_gw (struct tgl_state *TLSR, void *extra, int... function print_msg_gw (line 2395) | void print_msg_gw (struct tgl_state *TLSR, void *extra, int success, str... function print_user_list_gw (line 2418) | void print_user_list_gw (struct tgl_state *TLSR, void *extra, int succes... function print_user_gw (line 2450) | void print_user_gw (struct tgl_state *TLSR, void *extra, int success, st... function print_chat_gw (line 2474) | void print_chat_gw (struct tgl_state *TLSR, void *extra, int success, st... function print_channel_gw (line 2498) | void print_channel_gw (struct tgl_state *TLSR, void *extra, int success,... function print_peer_gw (line 2523) | void print_peer_gw (struct tgl_state *TLSR, void *extra, int success, tg... function print_filename_gw (line 2543) | void print_filename_gw (struct tgl_state *TLSR, void *extra, int success... function print_string_gw (line 2568) | void print_string_gw (struct tgl_state *TLSR, void *extra, int success, ... function open_filename_gw (line 2592) | void open_filename_gw (struct tgl_state *TLSR, void *extra, int success,... function print_chat_info_gw (line 2613) | void print_chat_info_gw (struct tgl_state *TLSR, void *extra, int succes... function print_channel_info_gw (line 2656) | void print_channel_info_gw (struct tgl_state *TLSR, void *extra, int suc... function print_user_status (line 2703) | void print_user_status (struct tgl_user_status *S, struct in_ev *ev) { function print_user_info_gw (line 2726) | void print_user_info_gw (struct tgl_state *TLSR, void *extra, int succes... function print_secret_chat_gw (line 2772) | void print_secret_chat_gw (struct tgl_state *TLSR, void *extra, int succ... function print_dialog_list_gw (line 2799) | void print_dialog_list_gw (struct tgl_state *TLSR, void *extra, int succ... function interpreter_chat_mode (line 2852) | void interpreter_chat_mode (char *line) { type tgl_message (line 2876) | struct tgl_message type event (line 2878) | struct event function print_read_list (line 2881) | void print_read_list (int num, struct tgl_message *list[]) { function unread_message_alarm (line 2947) | void unread_message_alarm (evutil_socket_t fd, short what, void *arg) { function mark_read_upd (line 2954) | void mark_read_upd (struct tgl_state *TLSR, int num, struct tgl_message ... function print_typing (line 2979) | void print_typing (struct in_ev *ev, enum tgl_typing_status status) { function type_notification_upd (line 3017) | void type_notification_upd (struct tgl_state *TLSR, struct tgl_user *U, ... function type_in_chat_notification_upd (line 3033) | void type_in_chat_notification_upd (struct tgl_state *TLSR, struct tgl_u... function print_message_gw (line 3052) | void print_message_gw (struct tgl_state *TLSR, struct tgl_message *M) { function our_id_gw (line 3084) | void our_id_gw (struct tgl_state *TLSR, tgl_peer_id_t id) { function print_peer_updates (line 3094) | void print_peer_updates (struct in_ev *ev, int flags) { function json_peer_update (line 3139) | void json_peer_update (struct in_ev *ev, tgl_peer_t *P, unsigned flags) { function peer_update_username (line 3152) | void peer_update_username (tgl_peer_t *P, const char *username) { function user_update_gw (line 3185) | void user_update_gw (struct tgl_state *TLSR, struct tgl_user *U, unsigne... function chat_update_gw (line 3221) | void chat_update_gw (struct tgl_state *TLSR, struct tgl_chat *U, unsigne... function secret_chat_update_gw (line 3255) | void secret_chat_update_gw (struct tgl_state *TLSR, struct tgl_secret_ch... function channel_update_gw (line 3300) | void channel_update_gw (struct tgl_state *TLSR, struct tgl_channel *U, u... function print_card_gw (line 3309) | void print_card_gw (struct tgl_state *TLSR, void *extra, int success, in... function callback_extf (line 3343) | void callback_extf (struct tgl_state *TLS, void *extra, int success, con... function user_status_upd (line 3366) | void user_status_upd (struct tgl_state *TLS, struct tgl_user *U) { type tgl_state (line 3393) | struct tgl_state type tgl_state (line 3394) | struct tgl_state type tgl_state (line 3395) | struct tgl_state type tgl_state (line 3396) | struct tgl_state type tgl_value_type (line 3396) | enum tgl_value_type type tgl_state (line 3397) | struct tgl_state type tgl_update_callback (line 3399) | struct tgl_update_callback function interpreter_ex (line 3424) | void interpreter_ex (char *line, void *ex) { function interpreter (line 3710) | void interpreter (char *line) { function deactivate_readline (line 3729) | void deactivate_readline (void) { function reactivate_readline (line 3747) | void reactivate_readline (void) { function print_start (line 3763) | void print_start (void) { function print_end (line 3773) | void print_end (void) { function logprintf (line 3794) | void logprintf (const char *format, ...) { function push_color (line 3824) | void push_color (const char *color) { function pop_color (line 3831) | void pop_color (void) { function print_media (line 3842) | void print_media (struct in_ev *ev, struct tgl_message_media *M) { function print_peer_permanent_name (line 4017) | void print_peer_permanent_name (struct in_ev *ev, tgl_peer_id_t id) { function print_user_name (line 4021) | void print_user_name (struct in_ev *ev, tgl_peer_id_t id, tgl_peer_t *U) { function print_chat_name (line 4067) | void print_chat_name (struct in_ev *ev, tgl_peer_id_t id, tgl_peer_t *C) { function print_channel_name (line 4083) | void print_channel_name (struct in_ev *ev, tgl_peer_id_t id, tgl_peer_t ... function print_encr_chat_name (line 4099) | void print_encr_chat_name (struct in_ev *ev, tgl_peer_id_t id, tgl_peer_... function print_peer_name (line 4115) | void print_peer_name (struct in_ev *ev, tgl_peer_id_t id, tgl_peer_t *C) { function print_date (line 4135) | void print_date (struct in_ev *ev, long t) { function print_date_full (line 4146) | void print_date_full (struct in_ev *ev, long t) { function print_msg_id (line 4151) | void print_msg_id (struct in_ev *ev, tgl_message_id_t msg_id, struct tgl... function print_service_message (line 4165) | void print_service_message (struct in_ev *ev, struct tgl_message *M) { function print_message (line 4294) | void print_message (struct in_ev *ev, struct tgl_message *M) { function play_sound (line 4455) | void play_sound (void) { function set_interface_callbacks (line 4459) | void set_interface_callbacks (void) { FILE: interface.h type bufferevent (line 56) | struct bufferevent type in_ev (line 57) | struct in_ev { type tgl_message (line 67) | struct tgl_message type in_ev (line 68) | struct in_ev type in_ev (line 69) | struct in_ev type tgl_message (line 69) | struct tgl_message type in_ev (line 70) | struct in_ev type in_ev (line 71) | struct in_ev type in_ev (line 72) | struct in_ev type in_ev (line 73) | struct in_ev type in_ev (line 74) | struct in_ev type in_ev (line 81) | struct in_ev type in_ev (line 82) | struct in_ev FILE: json-tg.c type tgl_state (line 17) | struct tgl_state function json_pack_peer_type (line 19) | void json_pack_peer_type (json_t *res, tgl_peer_id_t id) { function str_format_time (line 39) | int str_format_time(long when, char* string) function json_pack_user (line 45) | void json_pack_user (json_t *res, tgl_peer_t *P) { function json_pack_chat (line 73) | void json_pack_chat (json_t *res, tgl_peer_t *P) { function json_pack_channel (line 96) | void json_pack_channel (json_t *res, tgl_peer_t *P) { function json_pack_encr_chat (line 105) | void json_pack_encr_chat (json_t *res, tgl_peer_t *P) { function json_t (line 109) | json_t *json_pack_peer (tgl_peer_id_t id) { function json_t (line 168) | json_t *json_pack_updates (unsigned flags) { function json_t (line 221) | json_t *json_pack_media (struct tgl_message_media *M) { function json_t (line 290) | json_t *json_pack_typing (enum tgl_typing_status status) { function json_t (line 333) | json_t *json_pack_service (struct tgl_message *M) { function json_t (line 430) | json_t *json_pack_message (struct tgl_message *M) { function json_t (line 478) | json_t *json_pack_read (struct tgl_message *M) { function json_t (line 485) | json_t *json_pack_user_status (struct tgl_user *U) { FILE: json-tg.h type tgl_message (line 8) | struct tgl_message type tgl_message (line 11) | struct tgl_message type tgl_user (line 12) | struct tgl_user FILE: loop.c type tgl_state (line 111) | struct tgl_state type event (line 114) | struct event type tgl_state (line 119) | struct tgl_state type tgl_value_type (line 120) | enum tgl_value_type type tgl_state (line 133) | struct tgl_state function one_string_read_end (line 134) | static void one_string_read_end (void) { function generate_prompt (line 157) | void generate_prompt (enum tgl_value_type type, int num) { function do_get_string (line 229) | void do_get_string (struct tgl_state *TLS) { function do_get_values (line 238) | void do_get_values (struct tgl_state *TLS, enum tgl_value_type type, con... function stdin_read_callback (line 254) | static void stdin_read_callback (evutil_socket_t fd, short what, void *a... function net_loop (line 311) | void net_loop (void) { type tgl_dc (line 372) | struct tgl_dc function is_authorized (line 373) | int is_authorized (void) { function all_authorized (line 377) | int all_authorized (void) { type tgl_update_callback (line 394) | struct tgl_update_callback function read_state_file (line 404) | void read_state_file (void) { function write_state_file (line 432) | void write_state_file (void) { function write_dc (line 456) | void write_dc (struct tgl_dc *DC, void *extra) { function write_auth_file (line 477) | void write_auth_file (void) { function write_secret_chat (line 492) | void write_secret_chat (tgl_peer_t *Peer, void *extra) { function write_secret_chat_file (line 521) | void write_secret_chat_file (void) { function read_dc (line 542) | void read_dc (int auth_file_fd, int id, unsigned ver) { function empty_auth_file (line 563) | void empty_auth_file (void) { function read_auth_file (line 580) | void read_auth_file (void) { function read_secret_chat (line 620) | void read_secret_chat (int fd, int v) { function read_secret_chat_file (line 669) | void read_secret_chat_file (void) { function read_incoming (line 688) | static void read_incoming (struct bufferevent *bev, void *_arg) { function event_incoming (line 724) | void event_incoming (struct bufferevent *bev, short what, void *_arg) { function accept_incoming (line 736) | static void accept_incoming (evutil_socket_t efd, short what, void *arg) { function on_login (line 755) | void on_login (struct tgl_state *TLS) { function on_failed_login (line 759) | void on_failed_login (struct tgl_state *TLS) { type tgl_state (line 766) | struct tgl_state function clist_cb (line 767) | void clist_cb (struct tgl_state *TLSR, void *callback_extra, int success... function dlist_cb (line 771) | void dlist_cb (struct tgl_state *TLSR, void *callback_extra, int success... function on_started (line 775) | void on_started (struct tgl_state *TLS) { function loop (line 805) | int loop (void) { FILE: lua-tg.c type tgl_state (line 50) | struct tgl_state function ps_lua_pcall (line 57) | int ps_lua_pcall (lua_State *l, int a, int b, int c) { function lua_add_string_field (line 68) | void lua_add_string_field (const char *name, const char *value) { function lua_add_lstring_field (line 77) | void lua_add_lstring_field (const char *name, const char *value, int len) { function lua_add_string_field_arr (line 86) | void lua_add_string_field_arr (int num, const char *value) { function lua_add_num_field (line 94) | void lua_add_num_field (const char *name, double value) { function push_tgl_peer_type (line 102) | void push_tgl_peer_type (int x) { function push_user (line 121) | void push_user (tgl_peer_t *P) { function push_chat (line 134) | void push_chat (tgl_peer_t *P) { function push_encr_chat (line 153) | void push_encr_chat (tgl_peer_t *P) { function push_channel (line 160) | void push_channel (tgl_peer_t *P) { function push_update_types (line 169) | void push_update_types (unsigned flags) { function push_peer (line 226) | void push_peer (tgl_peer_id_t id, tgl_peer_t *P) { function push_media (line 281) | void push_media (struct tgl_message_media *M) { function push_service (line 338) | void push_service (struct tgl_message *M) { function push_message (line 467) | void push_message (struct tgl_message *M) { function lua_binlog_end (line 539) | void lua_binlog_end (void) { function lua_diff_end (line 553) | void lua_diff_end (void) { function lua_our_id (line 567) | void lua_our_id (tgl_peer_id_t id) { function lua_new_msg (line 582) | void lua_new_msg (struct tgl_message *M) { function lua_secret_chat_update (line 597) | void lua_secret_chat_update (struct tgl_secret_chat *C, unsigned flags) { function lua_user_update (line 613) | void lua_user_update (struct tgl_user *U, unsigned flags) { function lua_chat_update (line 629) | void lua_chat_update (struct tgl_chat *C, unsigned flags) { type lua_arg (line 650) | struct lua_arg { type lua_arg (line 661) | struct lua_arg function tgl_peer_t (line 664) | static inline tgl_peer_t *get_peer (const char *s) { type lua_query_type (line 668) | enum lua_query_type { type lua_query_extra (line 724) | struct lua_query_extra { function lua_empty_cb (line 729) | void lua_empty_cb (struct tgl_state *TLSR, void *cb_extra, int success) { function lua_contact_list_cb (line 755) | void lua_contact_list_cb (struct tgl_state *TLSR, void *cb_extra, int su... function lua_dialog_list_cb (line 793) | void lua_dialog_list_cb (struct tgl_state *TLSR, void *cb_extra, int suc... function lua_msg_cb (line 847) | void lua_msg_cb (struct tgl_state *TLSR, void *cb_extra, int success, st... function lua_one_msg_cb (line 879) | void lua_one_msg_cb (struct tgl_state *TLSR, void *cb_extra, int success... function lua_msg_list_cb (line 911) | void lua_msg_list_cb (struct tgl_state *TLSR, void *cb_extra, int succes... function lua_file_cb (line 949) | void lua_file_cb (struct tgl_state *TLSR, void *cb_extra, int success, c... function lua_chat_cb (line 981) | void lua_chat_cb (struct tgl_state *TLSR, void *cb_extra, int success, s... function lua_secret_chat_cb (line 1013) | void lua_secret_chat_cb (struct tgl_state *TLSR, void *cb_extra, int suc... function lua_channel_cb (line 1045) | void lua_channel_cb (struct tgl_state *TLSR, void *cb_extra, int success... function lua_user_cb (line 1077) | void lua_user_cb (struct tgl_state *TLSR, void *cb_extra, int success, s... function lua_str_cb (line 1109) | void lua_str_cb (struct tgl_state *TLSR, void *cb_extra, int success, co... function lua_do_all (line 1143) | void lua_do_all (void) { type lua_function_param (line 1396) | enum lua_function_param { type lua_function (line 1411) | struct lua_function { type lua_function (line 1417) | struct lua_function function parse_lua_function (line 1474) | static int parse_lua_function (lua_State *L, struct lua_function *F) { function lua_postpone_alarm (line 1621) | static void lua_postpone_alarm (evutil_socket_t fd, short what, void *ar... function postpone_from_lua (line 1643) | static int postpone_from_lua (lua_State *L) { function safe_quit_from_lua (line 1679) | static int safe_quit_from_lua (lua_State *L) { function universal_from_lua (line 1691) | static int universal_from_lua (lua_State *L) { function my_lua_register (line 1709) | static void my_lua_register (lua_State *L, const char *name, lua_CFuncti... type command_argument (line 1715) | enum command_argument { type arg (line 1738) | struct arg { type in_ev (line 1749) | struct in_ev type command (line 1750) | struct command { function do_interface_from_lua (line 1760) | static void do_interface_from_lua (struct command *command, int arg_num,... type command (line 1830) | struct command function register_interface_from_lua (line 1831) | static int register_interface_from_lua (lua_State *L) { function lua_init (line 1914) | void lua_init (const char *file) { FILE: lua-tg.h type tgl_message (line 26) | struct tgl_message type tgl_secret_chat (line 28) | struct tgl_secret_chat type tgl_user (line 29) | struct tgl_user type tgl_chat (line 30) | struct tgl_chat FILE: main.c type tgl_state (line 126) | struct tgl_state function set_default_username (line 128) | void set_default_username (const char *s) { type termios (line 137) | struct termios function get_terminal_attributes (line 141) | void get_terminal_attributes (void) { function set_terminal_attributes (line 152) | void set_terminal_attributes (void) { function str_empty (line 166) | int str_empty (char *str) { type passwd (line 176) | struct passwd function check_type_sizes (line 241) | void check_type_sizes (void) { function running_for_first_time (line 252) | void running_for_first_time (void) { function parse_config_val (line 297) | void parse_config_val (config_t *conf, char **s, char *param_name, const... function parse_config (line 324) | void parse_config (void) { function parse_config (line 418) | void parse_config (void) { function inner_main (line 444) | void inner_main (void) { function usage (line 448) | void usage (void) { function reopen_logs (line 516) | void reopen_logs (void) { function sigusr1_handler (line 538) | static void sigusr1_handler (const int sig) { function sighup_handler (line 544) | static void sighup_handler (const int sig) { function change_user_group (line 554) | int change_user_group () { function args_parse (line 602) | void args_parse (int argc, char **argv) { function print_backtrace (line 802) | void print_backtrace (void) { function print_backtrace (line 808) | void print_backtrace (void) { function termination_signal_handler (line 818) | void termination_signal_handler (int signum) { function sig_term_handler (line 845) | void sig_term_handler (int signum __attribute__ ((unused))) { function do_halt (line 857) | void do_halt (int error) { function main (line 892) | int main (int argc, char **argv) { FILE: python-tg.c type tgl_state (line 89) | struct tgl_state function py_add_string_field (line 112) | void py_add_string_field (PyObject* dict, char *name, const char *value) { function py_add_string_field_arr (line 122) | void py_add_string_field_arr (PyObject* list, int num, const char *value) { function py_add_num_field (line 131) | void py_add_num_field (PyObject* dict, const char *name, double value) { function PyObject (line 137) | PyObject* get_tgl_peer_type (int x) { function PyObject (line 157) | PyObject* get_update_types (unsigned flags) { function PyObject (line 214) | PyObject* get_peer (tgl_peer_id_t id, tgl_peer_t *P) { function PyObject (line 221) | PyObject* get_message (struct tgl_message *M) { function py_binlog_end (line 229) | void py_binlog_end (void) { function py_diff_end (line 251) | void py_diff_end (void) { function py_our_id (line 272) | void py_our_id (int id) { function py_new_msg (line 293) | void py_new_msg (struct tgl_message *M) { function py_secret_chat_update (line 317) | void py_secret_chat_update (struct tgl_secret_chat *C, unsigned flags) { function py_user_update (line 343) | void py_user_update (struct tgl_user *U, unsigned flags) { function py_chat_update (line 368) | void py_chat_update (struct tgl_chat *C, unsigned flags) { function py_on_loop (line 394) | void py_on_loop () { type py_query_type (line 426) | enum py_query_type { function py_empty_cb (line 474) | void py_empty_cb (struct tgl_state *TLSR, void *cb_extra, int success) { function py_contact_list_cb (line 494) | void py_contact_list_cb (struct tgl_state *TLSR, void *cb_extra, int suc... function py_dialog_list_cb (line 523) | void py_dialog_list_cb (struct tgl_state *TLSR, void *cb_extra, int succ... function py_msg_cb (line 562) | void py_msg_cb (struct tgl_state *TLSR, void *cb_extra, int success, str... function py_msg_list_cb (line 590) | void py_msg_list_cb (struct tgl_state *TLSR, void *cb_extra, int success... function py_file_cb (line 619) | void py_file_cb (struct tgl_state *TLSR, void *cb_extra, int success, co... function py_chat_cb (line 647) | void py_chat_cb (struct tgl_state *TLSR, void *cb_extra, int success, st... function py_secret_chat_cb (line 675) | void py_secret_chat_cb (struct tgl_state *TLSR, void *cb_extra, int succ... function py_user_cb (line 703) | void py_user_cb (struct tgl_state *TLSR, void *cb_extra, int success, st... function py_str_cb (line 731) | void py_str_cb (struct tgl_state *TLSR, void *cb_extra, int success, con... function py_do_all (line 761) | void py_do_all (void) { function PyObject (line 1101) | PyObject* push_py_func(enum py_query_type type, PyObject *args) { function PyObject (line 1112) | PyObject* py_contact_list(PyObject *self, PyObject *args) { return push_... function PyObject (line 1113) | PyObject* py_dialog_list(PyObject *self, PyObject *args) { return push_p... function PyObject (line 1114) | PyObject* py_rename_chat(PyObject *self, PyObject *args) { return push_p... function PyObject (line 1115) | PyObject* py_send_msg(PyObject *self, PyObject *args) { return push_py_f... function PyObject (line 1116) | PyObject* py_send_typing(PyObject *self, PyObject *args) { return push_p... function PyObject (line 1117) | PyObject* py_send_typing_abort(PyObject *self, PyObject *args) { return ... function PyObject (line 1118) | PyObject* py_send_photo(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1119) | PyObject* py_send_video(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1120) | PyObject* py_send_audio(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1121) | PyObject* py_send_document(PyObject *self, PyObject *args) { return push... function PyObject (line 1122) | PyObject* py_send_file(PyObject *self, PyObject *args) { return push_py_... function PyObject (line 1123) | PyObject* py_send_text(PyObject *self, PyObject *args) { return push_py_... function PyObject (line 1124) | PyObject* py_chat_set_photo(PyObject *self, PyObject *args) { return pus... function PyObject (line 1125) | PyObject* py_load_photo(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1126) | PyObject* py_load_video(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1127) | PyObject* py_load_video_thumb(PyObject *self, PyObject *args) { return p... function PyObject (line 1128) | PyObject* py_load_audio(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1129) | PyObject* py_load_document(PyObject *self, PyObject *args) { return push... function PyObject (line 1130) | PyObject* py_load_document_thumb(PyObject *self, PyObject *args) { retur... function PyObject (line 1131) | PyObject* py_fwd(PyObject *self, PyObject *args) { return push_py_func(p... function PyObject (line 1132) | PyObject* py_fwd_media(PyObject *self, PyObject *args) { return push_py_... function PyObject (line 1133) | PyObject* py_chat_info(PyObject *self, PyObject *args) { return push_py_... function PyObject (line 1134) | PyObject* py_user_info(PyObject *self, PyObject *args) { return push_py_... function PyObject (line 1135) | PyObject* py_history(PyObject *self, PyObject *args) { return push_py_fu... function PyObject (line 1136) | PyObject* py_chat_add_user(PyObject *self, PyObject *args) { return push... function PyObject (line 1137) | PyObject* py_chat_del_user(PyObject *self, PyObject *args) { return push... function PyObject (line 1138) | PyObject* py_add_contact(PyObject *self, PyObject *args) { return push_p... function PyObject (line 1139) | PyObject* py_del_contact(PyObject *self, PyObject *args) { return push_p... function PyObject (line 1140) | PyObject* py_rename_contact(PyObject *self, PyObject *args) { return pus... function PyObject (line 1141) | PyObject* py_search(PyObject *self, PyObject *args) { return push_py_fun... function PyObject (line 1142) | PyObject* py_global_search(PyObject *self, PyObject *args) { return push... function PyObject (line 1143) | PyObject* py_mark_read(PyObject *self, PyObject *args) { return push_py_... function PyObject (line 1144) | PyObject* py_set_profile_photo(PyObject *self, PyObject *args) { return ... function PyObject (line 1145) | PyObject* py_set_profile_name(PyObject *self, PyObject *args) { return p... function PyObject (line 1146) | PyObject* py_create_secret_chat(PyObject *self, PyObject *args) { return... function PyObject (line 1147) | PyObject* py_create_group_chat(PyObject *self, PyObject *args) { return ... function PyObject (line 1148) | PyObject* py_delete_msg(PyObject *self, PyObject *args) { return push_py... function PyObject (line 1149) | PyObject* py_restore_msg(PyObject *self, PyObject *args) { return push_p... function PyObject (line 1150) | PyObject* py_accept_secret_chat(PyObject *self, PyObject *args) { return... function PyObject (line 1151) | PyObject* py_send_contact(PyObject *self, PyObject *args) { return push_... function PyObject (line 1152) | PyObject* py_status_online(PyObject *self, PyObject *args) { return push... function PyObject (line 1153) | PyObject* py_status_offline(PyObject *self, PyObject *args) { return pus... function PyObject (line 1154) | PyObject* py_send_location(PyObject *self, PyObject *args) { return push... function PyObject (line 1155) | PyObject* py_extf(PyObject *self, PyObject *args) { return push_py_func(... function PyObject (line 1156) | PyObject* py_import_chat_link(PyObject *self, PyObject *args) { return p... function PyObject (line 1160) | PyObject* py_safe_quit(PyObject *self, PyObject *args) function PyObject (line 1173) | PyObject* py_set_preview(PyObject *self, PyObject *args) function py_add_action_enums (line 1258) | void py_add_action_enums(PyObject *m) function py_add_peer_type_enums (line 1285) | void py_add_peer_type_enums(PyObject *m) function MOD_INIT (line 1293) | MOD_INIT(tgl) function py_init (line 1333) | void py_init (const char *file) { FILE: python-tg.h type tgl_message (line 29) | struct tgl_message type tgl_secret_chat (line 31) | struct tgl_secret_chat type tgl_user (line 32) | struct tgl_user type tgl_chat (line 33) | struct tgl_chat FILE: python-types.c type tgl_state (line 21) | struct tgl_state function PyObject (line 31) | PyObject* get_datetime(long datetime) function tgl_Peer_dealloc (line 40) | static void function PyObject (line 46) | static PyObject * function tgl_Peer_init (line 56) | static int function PyObject (line 75) | static PyObject * function PyObject (line 100) | static PyObject * function PyObject (line 126) | static PyObject * function PyObject (line 156) | static PyObject * function PyObject (line 182) | static PyObject * function PyObject (line 208) | static PyObject * function PyObject (line 234) | static PyObject * function PyObject (line 260) | static PyObject * function PyObject (line 286) | static PyObject * function PyObject (line 311) | static PyObject * function PyObject (line 332) | static PyObject * function PyObject (line 343) | static PyObject * function PyObject (line 374) | static PyObject * function PyObject (line 409) | static PyObject * function PyObject (line 437) | static PyObject * function PyObject (line 464) | static PyObject * function PyObject (line 491) | static PyObject * function PyObject (line 525) | static PyObject * function PyObject (line 553) | static PyObject * function PyObject (line 581) | static PyObject * function PyObject (line 609) | static PyObject * function PyObject (line 637) | static PyObject * function PyObject (line 665) | static PyObject * function PyObject (line 693) | static PyObject * function PyObject (line 727) | static PyObject * function PyObject (line 761) | static PyObject * function PyObject (line 795) | static PyObject * function PyObject (line 823) | static PyObject * function PyObject (line 858) | static PyObject * function PyObject (line 887) | static PyObject * function PyObject (line 916) | static PyObject * function PyObject (line 968) | static PyObject * function tgl_Peer_hash (line 1004) | int function PyObject (line 1010) | PyObject * function PyObject (line 1085) | PyObject * function tgl_Msg_dealloc (line 1097) | static void function PyObject (line 1103) | static PyObject * function tgl_Msg_init (line 1113) | static int function PyObject (line 1120) | static PyObject * function PyObject (line 1131) | static PyObject * function PyObject (line 1142) | static PyObject * function PyObject (line 1153) | static PyObject * function PyObject (line 1164) | static PyObject * function PyObject (line 1175) | static PyObject * function PyObject (line 1186) | static PyObject * function PyObject (line 1198) | static PyObject * function PyObject (line 1220) | static PyObject * function PyObject (line 1241) | static PyObject * function PyObject (line 1258) | static PyObject * function PyObject (line 1319) | static PyObject * function PyObject (line 1334) | static PyObject * function PyObject (line 1355) | static PyObject * function PyObject (line 1370) | static PyObject * function PyObject (line 1390) | static PyObject * function PyObject (line 1406) | static PyObject * function PyObject (line 1430) | static PyObject * function PyObject (line 1454) | static PyObject * function PyObject (line 1562) | PyObject * FILE: python-types.h type tgl_Peer (line 7) | typedef struct { type tgl_Msg (line 12) | typedef struct { type tgl_message (line 19) | struct tgl_message FILE: tg-test.py function on_binlog_replay_end (line 11) | def on_binlog_replay_end(): function on_get_difference_end (line 14) | def on_get_difference_end(): function on_our_id (line 17) | def on_our_id(id): function msg_cb (line 21) | def msg_cb(success, msg): function history_cb (line 27) | def history_cb(msg_list, peer, success, msgs): function cb (line 35) | def cb(success): function on_msg_receive (line 38) | def on_msg_receive(msg): function on_secret_chat_update (line 52) | def on_secret_chat_update(peer, types): function on_user_update (line 55) | def on_user_update(): function on_chat_update (line 58) | def on_chat_update():