int CYahooProto::BuddyIgnored(const char *who) { const YList *l = GetIgnoreList(); while (l != NULL) { struct yahoo_buddy *b = (struct yahoo_buddy *) l->data; if (lstrcmpiA(b->id, who) == 0) { //LOG(("User '%s' on our Ignore List. Dropping Message.", who)); return 1; } l = l->next; } return 0; }
int GetEngineIgnoreList(char *buff, int buff_size, int *l) { return GetIgnoreList(engines_ignore_list, buff, buff_size, l); }
int GetOperatorIgnoreList(char *buff, int buff_size, int *l) { return GetIgnoreList(operators_ignore_list, buff, buff_size, l); }