Mercurial > pidgin.yaz
comparison src/server.c @ 1032:643a4d81c18a
[gaim-migrate @ 1042]
buddy list menus are based on connections/protocol. pretty spiffy.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 31 Oct 2000 06:09:47 +0000 |
parents | 38452403563b |
children | daad2440a642 |
comparison
equal
deleted
inserted
replaced
1031:6df117f1674d | 1032:643a4d81c18a |
---|---|
110 | 110 |
111 if (!away) | 111 if (!away) |
112 serv_touch_idle(gc); | 112 serv_touch_idle(gc); |
113 } | 113 } |
114 | 114 |
115 void serv_get_info(char *name) | 115 void serv_get_info(struct gaim_connection *g, char *name) |
116 { | 116 { |
117 /* FIXME: getting someone's info? how do you decide something like that? I think that | |
118 * the buddy list/UI needs to be really changed before this gets fixed*/ | |
119 struct gaim_connection *g; | |
120 if (!connections) return; | |
121 g = connections->data; | |
122 | |
123 if (g && g->prpl && g->prpl->get_info) | 117 if (g && g->prpl && g->prpl->get_info) |
124 (*g->prpl->get_info)(g, name); | 118 (*g->prpl->get_info)(g, name); |
125 } | 119 } |
126 | 120 |
127 void serv_get_away_msg(char *name) | 121 void serv_get_away_msg(struct gaim_connection *g, char *name) |
128 { | 122 { |
129 /* FIXME: see the serv_get_info comment above :-P */ | |
130 struct gaim_connection *g; | |
131 if (!connections) return; | |
132 g = connections->data; | |
133 | |
134 if (g && g->prpl && g->prpl->get_away_msg) | 123 if (g && g->prpl && g->prpl->get_away_msg) |
135 (*g->prpl->get_away_msg)(g, name); | 124 (*g->prpl->get_away_msg)(g, name); |
136 } | 125 } |
137 | 126 |
138 void serv_get_dir(char *name) | 127 void serv_get_dir(struct gaim_connection *g, char *name) |
139 { | 128 { |
140 /* FIXME: see the serv_get_info comment above :-P */ | |
141 struct gaim_connection *g; | |
142 if (!connections) return; | |
143 g = connections->data; | |
144 | |
145 if (g && g->prpl && g->prpl->get_dir) | 129 if (g && g->prpl && g->prpl->get_dir) |
146 (*g->prpl->get_dir)(g, name); | 130 (*g->prpl->get_dir)(g, name); |
147 } | 131 } |
148 | 132 |
149 void serv_set_dir(char *first, char *middle, char *last, char *maiden, | 133 void serv_set_dir(char *first, char *middle, char *last, char *maiden, |