comparison src/prpl.h @ 2205:cff4fbe01c7b

[gaim-migrate @ 2215] eric@blue:~/gaim/app/src/protocols $ cat gtk for i in icq irc jabber msn napster oscar toc yahoo zephyr do echo -n $i: grep -i g\[td\]k $i/*.c | wc -l done eric@blue:~/gaim/app/src/protocols $ ./gtk icq: 13 irc: 0 jabber: 59 msn: 0 napster: 106 oscar: 13 toc: 25 yahoo: 15 zephyr: 2 committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 31 Aug 2001 20:36:11 +0000
parents 657dbe515608
children 8c4ff1a368bd
comparison
equal deleted inserted replaced
2204:5014b802eb41 2205:cff4fbe01c7b
79 GList *(* actions)(); 79 GList *(* actions)();
80 void (* do_action)(struct gaim_connection *, char *); 80 void (* do_action)(struct gaim_connection *, char *);
81 /* user_opts returns a GList* of g_malloc'd struct proto_user_opts */ 81 /* user_opts returns a GList* of g_malloc'd struct proto_user_opts */
82 GList *(* user_opts)(); 82 GList *(* user_opts)();
83 GList *(* buddy_menu)(struct gaim_connection *, char *); 83 GList *(* buddy_menu)(struct gaim_connection *, char *);
84 GList *(* chat_info)(struct gaim_connection *);
84 85
85 /* when UI plugins come, these will have to be reconciled by returning 86 /* when UI plugins come, these will have to be reconciled by returning
86 * structs indicating what kinds of information they want displayed. */ 87 * structs indicating what kinds of information they want displayed. */
87 /* new thought though. instead of UI plugins, just do like X-Chat does; 88 /* new thought though. instead of UI plugins, just do like X-Chat does;
88 * have different src- dirs in src: src-common, src-gtk, src-cli, etc. 89 * have different src- dirs in src: src-common, src-gtk, src-cli, etc.
89 * then have a prpl-base and prpl-UI stuff. people don't need to change 90 * then have a prpl-base and prpl-UI stuff. people don't need to change
90 * their UIs all that often anyway. */ 91 * their UIs all that often anyway. */
91 void (* draw_new_user)(GtkWidget *); 92 void (* draw_new_user)(GtkWidget *);
92 void (* do_new_user)(); 93 void (* do_new_user)();
93 void (* draw_join_chat)(struct gaim_connection *, GtkWidget *);
94 void (* insert_convo)(struct gaim_connection *, struct conversation *); 94 void (* insert_convo)(struct gaim_connection *, struct conversation *);
95 void (* remove_convo)(struct gaim_connection *, struct conversation *); 95 void (* remove_convo)(struct gaim_connection *, struct conversation *);
96 96
97 /* all the server-related functions */ 97 /* all the server-related functions */
98 void (* login) (struct aim_user *); 98 void (* login) (struct aim_user *);
128 void (* add_deny) (struct gaim_connection *, char *name); 128 void (* add_deny) (struct gaim_connection *, char *name);
129 void (* rem_permit) (struct gaim_connection *, char *name); 129 void (* rem_permit) (struct gaim_connection *, char *name);
130 void (* rem_deny) (struct gaim_connection *, char *name); 130 void (* rem_deny) (struct gaim_connection *, char *name);
131 void (* set_permit_deny)(struct gaim_connection *); 131 void (* set_permit_deny)(struct gaim_connection *);
132 void (* warn) (struct gaim_connection *, char *who, int anonymous); 132 void (* warn) (struct gaim_connection *, char *who, int anonymous);
133 void (* accept_chat) (struct gaim_connection *, int id); 133 void (* join_chat) (struct gaim_connection *, GList *data);
134 void (* join_chat) (struct gaim_connection *, int id, char *name);
135 void (* chat_invite) (struct gaim_connection *, int id, char *who, char *message); 134 void (* chat_invite) (struct gaim_connection *, int id, char *who, char *message);
136 void (* chat_leave) (struct gaim_connection *, int id); 135 void (* chat_leave) (struct gaim_connection *, int id);
137 void (* chat_whisper) (struct gaim_connection *, int id, char *who, char *message); 136 void (* chat_whisper) (struct gaim_connection *, int id, char *who, char *message);
138 int (* chat_send) (struct gaim_connection *, int id, char *message); 137 int (* chat_send) (struct gaim_connection *, int id, char *message);
139 void (* keepalive) (struct gaim_connection *); 138 void (* keepalive) (struct gaim_connection *);