comparison src/protocols/oscar/ssi.c @ 3000:6d95285533df

[gaim-migrate @ 3013] Played with the font loader some more in gtkimhtml.c This one is the closest I've done to Eric's, I think. It should cause the least problems. Also fixed the chatlist plugin again. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 04 Mar 2002 03:04:49 +0000
parents e27517a5c28e
children f0e8770d786d
comparison
equal deleted inserted replaced
2999:82b1553d53d0 3000:6d95285533df
210 /* 210 /*
211 * This removes all ssi data from server and local copy. 211 * This removes all ssi data from server and local copy.
212 */ 212 */
213 faim_export int aim_ssi_deletelist(aim_session_t *sess, aim_conn_t *conn) 213 faim_export int aim_ssi_deletelist(aim_session_t *sess, aim_conn_t *conn)
214 { 214 {
215 int i, num; 215 int num;
216 struct aim_ssi_item *cur, **items; 216 struct aim_ssi_item *cur, **items;
217 217
218 for (cur=sess->ssi.items, num=0; cur; cur=cur->next) 218 for (cur=sess->ssi.items, num=0; cur; cur=cur->next)
219 num++; 219 num++;
220 220
851 * 5 - Allow only users on my buddy list 851 * 5 - Allow only users on my buddy list
852 * To block AIM users, change the x00cb tlv from xffff to x0004 852 * To block AIM users, change the x00cb tlv from xffff to x0004
853 */ 853 */
854 faim_export int aim_ssi_setpermdeny(aim_session_t *sess, aim_conn_t *conn, int permdeny) { 854 faim_export int aim_ssi_setpermdeny(aim_session_t *sess, aim_conn_t *conn, int permdeny) {
855 struct aim_ssi_item *cur, *tmp; 855 struct aim_ssi_item *cur, *tmp;
856 fu16_t i, j; 856 fu16_t j;
857 aim_tlv_t *tlv; 857 aim_tlv_t *tlv;
858 858
859 if (!sess || !conn) 859 if (!sess || !conn)
860 return -EINVAL; 860 return -EINVAL;
861 861