comparison src/protocols/novell/novell.c @ 9985:8cc2866678f3

[gaim-migrate @ 10896] Are the novell guys going to fix this for us? I just #if 0'd some stuff out so it compiles. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 08 Sep 2004 06:38:10 +0000
parents 2c7c6bdb938b
children 32467b63f55a
comparison
equal deleted inserted replaced
9984:e4a032202d49 9985:8cc2866678f3
1145 1145
1146 /* Update the status of the given buddy in the Gaim buddy list */ 1146 /* Update the status of the given buddy in the Gaim buddy list */
1147 static void 1147 static void
1148 _update_buddy_status(GaimBuddy * buddy, int status, int gmt) 1148 _update_buddy_status(GaimBuddy * buddy, int status, int gmt)
1149 { 1149 {
1150 #if 0
1150 GaimConnection *gc = gaim_account_get_connection(buddy->account); 1151 GaimConnection *gc = gaim_account_get_connection(buddy->account);
1151 int gstatus = status << 1; 1152 int gstatus = status << 1;
1152 int idle = 0; 1153 int idle = 0;
1153 gboolean loggedin = TRUE; 1154 gboolean loggedin = TRUE;
1154 1155
1173 loggedin = FALSE; 1174 loggedin = FALSE;
1174 break; 1175 break;
1175 } 1176 }
1176 1177
1177 serv_got_update(gc, buddy->name, loggedin, 0, 0, idle, gstatus); 1178 serv_got_update(gc, buddy->name, loggedin, 0, 0, idle, gstatus);
1179 #endif
1178 } 1180 }
1179 1181
1180 /* Iterate through the cached Gaim buddy list and remove buddies 1182 /* Iterate through the cached Gaim buddy list and remove buddies
1181 * that are not in the server side list. 1183 * that are not in the server side list.
1182 */ 1184 */
2904 } 2906 }
2905 } 2907 }
2906 2908
2907 return NULL; 2909 return NULL;
2908 } 2910 }
2909 2911 #if 0
2910 static GList * 2912 static GList *
2911 novell_away_states(GaimConnection * gc) 2913 novell_away_states(GaimConnection * gc)
2912 { 2914 {
2913 GList *m = NULL; 2915 GList *m = NULL;
2914 2916
2989 _check_for_disconnect(user, rc); 2991 _check_for_disconnect(user, rc);
2990 2992
2991 if (text) 2993 if (text)
2992 g_free(text); 2994 g_free(text);
2993 } 2995 }
2994 2996 #endif
2995 static void 2997 static void
2996 novell_add_permit(GaimConnection *gc, const char *who) 2998 novell_add_permit(GaimConnection *gc, const char *who)
2997 { 2999 {
2998 NMUser *user; 3000 NMUser *user;
2999 NMERR_T rc = NM_OK; 3001 NMERR_T rc = NM_OK;
3397 NO_BUDDY_ICONS, /* icon_spec */ 3399 NO_BUDDY_ICONS, /* icon_spec */
3398 novell_list_icon, /* list_icon */ 3400 novell_list_icon, /* list_icon */
3399 novell_list_emblems, /* list_emblems */ 3401 novell_list_emblems, /* list_emblems */
3400 novell_status_text, /* status_text */ 3402 novell_status_text, /* status_text */
3401 novell_tooltip_text, /* tooltip_text */ 3403 novell_tooltip_text, /* tooltip_text */
3402 novell_away_states, /* away_states */ 3404 /*novell_away_states*/NULL, /* away_states */
3403 novell_blist_node_menu, /* blist_node_menu */ 3405 novell_blist_node_menu, /* blist_node_menu */
3404 NULL, /* chat_info */ 3406 NULL, /* chat_info */
3405 NULL, /* chat_info_defaults */ 3407 NULL, /* chat_info_defaults */
3406 novell_login, /* login */ 3408 novell_login, /* login */
3407 novell_close, /* close */ 3409 novell_close, /* close */
3408 novell_send_im, /* send_im */ 3410 novell_send_im, /* send_im */
3409 NULL, /* set_info */ 3411 NULL, /* set_info */
3410 novell_send_typing, /* send_typing */ 3412 novell_send_typing, /* send_typing */
3411 novell_get_info, /* get_info */ 3413 novell_get_info, /* get_info */
3412 novell_set_away, /* set_away */ 3414 /*novell_set_away*/ NULL, /* set_away */
3413 novell_set_idle, /* set_idle */ 3415 novell_set_idle, /* set_idle */
3414 NULL, /* change_passwd */ 3416 NULL, /* change_passwd */
3415 novell_add_buddy, /* add_buddy */ 3417 novell_add_buddy, /* add_buddy */
3416 NULL, /* add_buddies */ 3418 NULL, /* add_buddies */
3417 novell_remove_buddy, /* remove_buddy */ 3419 novell_remove_buddy, /* remove_buddy */