Go to the source code of this file.
Data Structures | |
struct | tand_t_struct |
struct | party_t |
Defines | |
#define | PLSTAT_AWAY 0x001 |
#define | IS_PARTY 0x002 |
#define | NEAT_BOTNET 1029900 |
#define | GLOBAL_CHANS 100000 |
#define | b_status(a) (dcc[a].status) |
#define | b_version(a) (dcc[a].u.bot->version) |
#define | b_linker(a) (dcc[a].u.bot->linker) |
#define | b_numver(a) (dcc[a].u.bot->numver) |
Typedefs | |
typedef struct tand_t_struct | tand_t |
Functions | |
void | send_tand_but (int, char *, int) |
void ((void(*)(int, char *, char *, int, char *)) global[198])(int | |
char char char * | void ((void(*)(int, char *, char *)) global[28])(int |
char char char *char char *void | botnet_send_act (int, char *, char *, int, char *) |
void | botnet_send_ping (int) |
void | botnet_send_pong (int) |
void | botnet_send_priv () |
void | botnet_send_who (int, char *, char *, int) |
void | botnet_send_infoq (int, char *) |
void ((void(*)(int, char *, char *)) global[26])(int | |
char char *void | botnet_send_traced (int, char *, char *) |
void | botnet_send_trace (int, char *, char *, char *) |
void | botnet_send_unlink (int, char *, char *, char *, char *) |
void | botnet_send_link (int, char *, char *, char *) |
void | botnet_send_update (int, tand_t *) |
void | botnet_send_nlinked (int, char *, char *, char, int) |
void | botnet_send_reject (int, char *, char *, char *, char *, char *) |
void ((void(*)(int, char *, char *, char *)) global[24])(int | |
char char char * | void ((void(*)(int, char *, char *, char *)) global[25])(int |
char char char *char char char *void | botnet_send_motd (int, char *, char *) |
void ((void(*)(int, char *, char *, char *)) global[31])(int | |
char char char * | void ((void(*)(int, char *, char *, char *)) global[29])(int |
char char char *char char char * | void ((void(*)(int, char *, char *, char *)) global[30])(int |
char char char *char char char *char char char *void | botnet_send_away (int, char *, int, char *, int) |
void | botnet_send_idle (int, char *, int, int, char *) |
void ((void(*)(int, int)) global[32])(int | |
void | botnet_send_join_party (int, int, int, int) |
void ((void(*)(int, char *)) global[33])(int | |
char *void | botnet_send_part_party (int, int, char *, int) |
void ((void(*)(void)) global[27])() | |
void | botnet_send_nkch_part (int, int, char *) |
void | botnet_send_nkch (int, char *) |
int ((int(*)(tand_t *)) global[249])(tand_t *) | |
int ((int(*)(tand_t *)) global[250])(tand_t *) | |
Variables | |
char char | int |
#define b_numver | ( | a | ) | (dcc[a].u.bot->numver) |
Definition at line 105 of file tandem.h.
Referenced by bot_actchan(), bot_away(), bot_chan2(), bot_idle(), bot_join(), bot_nickchange(), bot_nlinked(), bot_part(), bot_update(), bot_version(), bot_who(), botnet_send_assoc(), botnet_send_away(), botnet_send_filereject(), botnet_send_filereq(), botnet_send_filesend(), botnet_send_join_party(), botnet_send_link(), botnet_send_motd(), botnet_send_part_party(), botnet_send_ping(), botnet_send_pong(), botnet_send_reject(), botnet_send_trace(), botnet_send_traced(), botnet_send_unlink(), botnet_send_unlinked(), botnet_send_who(), botnet_send_zapf(), dump_links(), EGG_VARARGS_DEF(), fake_alert(), and send_tand_but().
#define b_status | ( | a | ) | (dcc[a].status) |
Definition at line 102 of file tandem.h.
Referenced by bot_away(), bot_join(), botunlink(), display_dcc_bot(), and share_ufsend().
#define GLOBAL_CHANS 100000 |
Definition at line 59 of file tandem.h.
Referenced by answer_local_whom(), botnet_send_act(), botnet_send_chan(), botnet_send_join_idx(), botnet_send_join_party(), check_dcc_attrs(), cmd_assoc(), cmd_chat(), cmd_files(), cmd_su(), cmd_who(), cmd_whom(), console_chon(), console_display(), cont_tandem_relay(), dcc_chat(), dcc_chat_pass(), dcc_chatter(), dcc_files(), dcc_relaying(), detect_dcc_flood(), do_boot(), dump_assoc(), dump_links(), eof_dcc_chat(), eof_dcc_relay(), not_away(), remote_tell_who(), set_away(), and tell_who().
#define NEAT_BOTNET 1029900 |
Definition at line 58 of file tandem.h.
Referenced by bot_actchan(), bot_away(), bot_chan2(), bot_idle(), bot_join(), bot_nickchange(), bot_nlinked(), bot_part(), bot_update(), bot_version(), bot_who(), botnet_send_assoc(), botnet_send_away(), botnet_send_filereject(), botnet_send_filereq(), botnet_send_filesend(), botnet_send_join_party(), botnet_send_link(), botnet_send_motd(), botnet_send_part_party(), botnet_send_ping(), botnet_send_pong(), botnet_send_reject(), botnet_send_trace(), botnet_send_traced(), botnet_send_unlink(), botnet_send_unlinked(), botnet_send_who(), botnet_send_zapf(), dump_links(), EGG_VARARGS_DEF(), fake_alert(), and send_tand_but().
#define PLSTAT_AWAY 0x001 |
Definition at line 52 of file tandem.h.
Referenced by answer_local_whom(), bot_away(), bot_idle(), and dump_links().
typedef struct tand_t_struct tand_t |
char char char* char char* void botnet_send_act | ( | int | , | |
char * | , | |||
char * | , | |||
int | , | |||
char * | ||||
) |
Definition at line 241 of file botmsg.c.
References GLOBAL_CHANS, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_actchan(), and cmd_me().
00242 { 00243 int i; 00244 00245 if ((tands > 0) && (chan < GLOBAL_CHANS)) { 00246 if (user) { 00247 i = simple_sprintf(OBUF, "a %s@%s %D %s\n", user, botnick, chan, data); 00248 } else { 00249 i = simple_sprintf(OBUF, "a %s %D %s\n", botnick, chan, data); 00250 } 00251 send_tand_but(idx, OBUF, -i); 00252 #ifndef NO_OLD_BOTNET 00253 tandout_but(idx, "actchan %s%s%s %d %s\n", user ? user : "", 00254 user ? "@" : "", botnick, chan, data); 00255 #endif 00256 } 00257 }
char char char* char char char* char char char* void botnet_send_away | ( | int | , | |
char * | , | |||
int | , | |||
char * | , | |||
int | ||||
) |
Definition at line 568 of file botmsg.c.
References b_numver, chat_info::channel, dcc_t::chat, getparty(), NEAT_BOTNET, NET_AWAY, NET_UNAWAY, dcc_t::nick, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_away(), not_away(), and set_away().
00569 { 00570 int l; 00571 00572 if (tands > 0) { 00573 l = simple_sprintf(OBUF, "aw %s%s %D %s\n", 00574 ((idx >= 0) && linking) ? "!" : "", 00575 bot, sock, msg ? msg : ""); 00576 send_tand_but(idx, OBUF, -l); 00577 #ifndef NO_OLD_BOTNET 00578 if (msg) { 00579 if (idx < 0) { 00580 tandout_but(idx, "chan %s %d %s is now away: %s.\n", bot, 00581 dcc[linking].u.chat->channel, dcc[linking].nick, msg); 00582 } else if ((b_numver(idx) >= NEAT_BOTNET)) { 00583 int partyidx = getparty(bot, sock); 00584 00585 if (partyidx >= 0) 00586 tandout_but(idx, "chan %s %d %s %s: %s.\n", bot, 00587 party[partyidx].chan, party[partyidx].nick, 00588 NET_AWAY, msg); 00589 } 00590 tandout_but(idx, "away %s %d %s\n", bot, sock, msg); 00591 } else { 00592 if (idx < 0) { 00593 tandout_but(idx, "chan %s %d %s %s.\n", bot, 00594 dcc[linking].u.chat->channel, dcc[linking].nick, 00595 NET_UNAWAY); 00596 } else if (b_numver(idx) >= NEAT_BOTNET) { 00597 int partyidx = getparty(bot, sock); 00598 00599 if (partyidx >= 0) 00600 tandout_but(idx, "chan %s %d %s %s.\n", bot, 00601 party[partyidx].chan, party[partyidx].nick, NET_UNAWAY); 00602 } 00603 tandout_but(idx, "unaway %s %d\n", bot, sock); 00604 } 00605 #endif 00606 } 00607 }
void botnet_send_idle | ( | int | , | |
char * | , | |||
int | , | |||
int | , | |||
char * | ||||
) |
Definition at line 552 of file botmsg.c.
References OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_idle().
00553 { 00554 int l; 00555 00556 if (tands > 0) { 00557 l = simple_sprintf(OBUF, "i %s %D %D %s\n", bot, sock, idle, 00558 away ? away : ""); 00559 send_tand_but(idx, OBUF, -l); 00560 #ifndef NO_OLD_BOTNET 00561 if (away && away[0]) 00562 tandout_but(idx, "away %s %d %s\n", bot, sock, away); 00563 tandout_but(idx, "idle %s %d %d\n", bot, sock, idle); 00564 #endif 00565 } 00566 }
void botnet_send_infoq | ( | int | , | |
char * | ||||
) |
Definition at line 340 of file botmsg.c.
References OBUF, send_tand_but(), simple_sprintf, and tandout_but().
Referenced by bot_infoq(), and cmd_botinfo().
00341 { 00342 int i = simple_sprintf(OBUF, "i? %s\n", par); 00343 00344 send_tand_but(idx, OBUF, i); 00345 #ifndef NO_OLD_BOTNET 00346 tandout_but(idx, "info? %s\n", par); 00347 #endif 00348 }
void botnet_send_join_party | ( | int | , | |
int | , | |||
int | , | |||
int | ||||
) |
Definition at line 637 of file botmsg.c.
References b_numver, from, GLOBAL_CHANS, NEAT_BOTNET, NET_JOINEDTHE, NET_LEFTTHE, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_join().
00638 { 00639 int l; 00640 00641 if (tands > 0) { 00642 l = simple_sprintf(OBUF, "j %s%s %s %D %c%D %s\n", linking ? "!" : "", 00643 party[useridx].bot, party[useridx].nick, 00644 party[useridx].chan, party[useridx].flag, 00645 party[useridx].sock, 00646 party[useridx].from ? party[useridx].from : ""); 00647 send_tand_but(idx, OBUF, -l); 00648 #ifndef NO_OLD_BOTNET 00649 tandout_but(idx, "join %s %s %d %c%d %s\n", party[useridx].bot, 00650 party[useridx].nick, party[useridx].chan, 00651 party[useridx].flag, party[useridx].sock, 00652 party[useridx].from ? party[useridx].from : ""); 00653 if ((idx < 0) || (!linking && (b_numver(idx) >= NEAT_BOTNET))) { 00654 tandout_but(idx, "chan %s %d %s %s %s.\n", 00655 party[useridx].bot, party[useridx].chan, 00656 party[useridx].nick, NET_JOINEDTHE, 00657 party[useridx].chan ? "channel" : "party line"); 00658 } 00659 if ((oldchan >= 0) && (oldchan < GLOBAL_CHANS) && 00660 ((idx < 0) || (b_numver(idx) >= NEAT_BOTNET))) { 00661 tandout_but(idx, "chan %s %d %s %s %s.\n", 00662 party[useridx].bot, oldchan, party[useridx].nick, 00663 NET_LEFTTHE, party[useridx].chan ? "channel" : "party line"); 00664 } 00665 #endif 00666 } 00667 }
void botnet_send_link | ( | int | , | |
char * | , | |||
char * | , | |||
char * | ||||
) |
Definition at line 363 of file botmsg.c.
References b_numver, NEAT_BOTNET, OBUF, simple_sprintf, and tputs.
Referenced by bot_link(), and cmd_link().
00364 { 00365 int l; 00366 00367 #ifndef NO_OLD_BOTNET 00368 if (b_numver(idx) < NEAT_BOTNET) 00369 l = simple_sprintf(OBUF, "link %s %s %s\n", who, via, bot); 00370 else 00371 #endif 00372 l = simple_sprintf(OBUF, "l %s %s %s\n", who, via, bot); 00373 tputs(dcc[idx].sock, OBUF, l); 00374 }
char char char* char char char* void botnet_send_motd | ( | int | , | |
char * | , | |||
char * | ||||
) |
Definition at line 500 of file botmsg.c.
References b_numver, NEAT_BOTNET, OBUF, simple_sprintf, and tputs.
Referenced by bot_motd(), and cmd_motd().
00501 { 00502 int l; 00503 00504 #ifndef NO_OLD_BOTNET 00505 if (b_numver(idx) < NEAT_BOTNET) 00506 l = simple_sprintf(OBUF, "motd %s %s\n", from, to); 00507 else 00508 #endif 00509 l = simple_sprintf(OBUF, "m %s %s\n", from, to); 00510 tputs(dcc[idx].sock, OBUF, l); 00511 }
void botnet_send_nkch | ( | int | , | |
char * | ||||
) |
Definition at line 713 of file botmsg.c.
References botnetnick, chat_info::channel, dcc_t::chat, geticon, NET_NICKCHANGE, dcc_t::nick, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
00714 { 00715 int l; 00716 00717 if (tands > 0) { 00718 l = simple_sprintf(OBUF, "nc %s %D %s\n", botnetnick, 00719 dcc[useridx].sock, dcc[useridx].nick); 00720 send_tand_but(-1, OBUF, -l); 00721 #ifndef NO_OLD_BOTNET 00722 tandout_but(-1, "part %s %s %d\n", botnetnick, 00723 dcc[useridx].nick, dcc[useridx].sock); 00724 tandout_but(-1, "join %s %s %d %c%d %s\n", botnetnick, 00725 dcc[useridx].nick, dcc[useridx].u.chat->channel, 00726 geticon(useridx), dcc[useridx].sock, dcc[useridx].host); 00727 tandout_but(-1, "chan %s %d %s: %s -> %s.\n", 00728 botnetnick, dcc[useridx].u.chat->channel, 00729 oldnick, NET_NICKCHANGE, dcc[useridx].nick); 00730 #endif 00731 } 00732 }
void botnet_send_nkch_part | ( | int | , | |
int | , | |||
char * | ||||
) |
Definition at line 734 of file botmsg.c.
References from, NET_NICKCHANGE, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_nickchange().
00735 { 00736 int l; 00737 00738 if (tands > 0) { 00739 l = simple_sprintf(OBUF, "nc %s %D %s\n", party[useridx].bot, 00740 party[useridx].sock, party[useridx].nick); 00741 send_tand_but(butidx, OBUF, -l); 00742 #ifndef NO_OLD_BOTNET 00743 tandout_but(butidx, "part %s %s %d\n", party[useridx].bot, 00744 party[useridx].nick, party[useridx].sock); 00745 tandout_but(butidx, "join %s %s %d %c%d %s\n", party[useridx].bot, 00746 party[useridx].nick, party[useridx].chan, 00747 party[useridx].flag, party[useridx].sock, 00748 party[useridx].from ? party[useridx].from : ""); 00749 tandout_but(butidx, "chan %s %d %s : %s -> %s.\n", 00750 party[useridx].bot, party[useridx].chan, 00751 NET_NICKCHANGE, oldnick, party[useridx].nick); 00752 #endif 00753 } 00754 }
void botnet_send_nlinked | ( | int | , | |
char * | , | |||
char * | , | |||
char | , | |||
int | ||||
) |
Definition at line 391 of file botmsg.c.
References NET_LINKEDTO, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_nlinked(), and bot_version().
00392 { 00393 int l; 00394 00395 if (tands > 0) { 00396 l = simple_sprintf(OBUF, "n %s %s %c%D\n", bot, next, flag, vernum); 00397 send_tand_but(idx, OBUF, l); 00398 #ifndef NO_OLD_BOTNET 00399 if (flag == '!') { 00400 flag = '-'; 00401 tandout_but(idx, "chat %s %s %s\n", next, NET_LINKEDTO, bot); 00402 } 00403 tandout_but(idx, "nlinked %s %s %c%d\n", bot, next, flag, vernum); 00404 #endif 00405 } 00406 }
char* void botnet_send_part_party | ( | int | , | |
int | , | |||
char * | , | |||
int | ||||
) |
Definition at line 689 of file botmsg.c.
References b_numver, NEAT_BOTNET, OBUF, send_tand_but(), simple_sprintf, tandout_but(), and tands.
Referenced by bot_part().
00690 { 00691 int l; 00692 00693 if (tands > 0) { 00694 l = simple_sprintf(OBUF, "pt %s%s %s %D %s\n", 00695 silent ? "!" : "", party[partyidx].bot, 00696 party[partyidx].nick, party[partyidx].sock, 00697 reason ? reason : ""); 00698 send_tand_but(idx, OBUF, -l); 00699 #ifndef NO_OLD_BOTNET 00700 tandout_but(idx, "part %s %s %d\n", party[partyidx].bot, 00701 party[partyidx].nick, party[partyidx].sock); 00702 if (((idx < 0) || (b_numver(idx) >= NEAT_BOTNET)) && !silent) { 00703 tandout_but(idx, "chan %s %d %s has left the %s%s%s.\n", 00704 party[partyidx].bot, party[partyidx].chan, 00705 party[partyidx].nick, 00706 party[partyidx].chan ? "channel" : "party line", 00707 reason ? ": " : "", reason ? reason : ""); 00708 } 00709 #endif 00710 } 00711 }
void botnet_send_ping | ( | int | ) |
Definition at line 272 of file botmsg.c.
References b_numver, NEAT_BOTNET, and tputs.
Referenced by check_botnet_pings().
00273 { 00274 #ifndef NO_OLD_BOTNET 00275 if (b_numver(idx) < NEAT_BOTNET) 00276 tputs(dcc[idx].sock, "ping\n", 5); 00277 else 00278 #endif 00279 tputs(dcc[idx].sock, "pi\n", 3); 00280 }
void botnet_send_pong | ( | int | ) |
Definition at line 282 of file botmsg.c.
References b_numver, NEAT_BOTNET, and tputs.
Referenced by bot_ping().
00283 { 00284 #ifndef NO_OLD_BOTNET 00285 if (b_numver(idx) < NEAT_BOTNET) 00286 tputs(dcc[idx].sock, "pong\n", 5); 00287 else 00288 #endif 00289 tputs(dcc[idx].sock, "po\n", 3); 00290 }
void botnet_send_priv | ( | ) |
Referenced by add_note(), bot_filereq(), bot_infoq(), bot_link(), bot_motd(), bot_priv(), bot_reject(), bot_unlink(), bot_versions(), and remote_tell_who().
void botnet_send_reject | ( | int | , | |
char * | , | |||
char * | , | |||
char * | , | |||
char * | , | |||
char * | ||||
) |
Definition at line 447 of file botmsg.c.
References b_numver, bot_flags, BOT_ISOLATE, from, NEAT_BOTNET, NOTENAMELEN, OBUF, simple_sprintf, tputs, and user.
Referenced by bot_nlinked(), bot_reject(), check_botnet_pings(), and cmd_boot().
00449 { 00450 int l; 00451 char to[NOTENAMELEN + 1], from[NOTENAMELEN + 1]; 00452 00453 if (!(bot_flags(dcc[idx].user) & BOT_ISOLATE)) { 00454 if (tobot) { 00455 simple_sprintf(to, "%s@%s", top, tobot); 00456 top = to; 00457 } 00458 if (frombot) { 00459 simple_sprintf(from, "%s@%s", fromp, frombot); 00460 fromp = from; 00461 } 00462 if (!reason) 00463 reason = ""; 00464 #ifndef NO_OLD_BOTNET 00465 if (b_numver(idx) < NEAT_BOTNET) 00466 l = simple_sprintf(OBUF, "reject %s %s %s\n", fromp, top, reason); 00467 else 00468 #endif 00469 l = simple_sprintf(OBUF, "r %s %s %s\n", fromp, top, reason); 00470 tputs(dcc[idx].sock, OBUF, l); 00471 } 00472 }
void botnet_send_trace | ( | int | , | |
char * | , | |||
char * | , | |||
char * | ||||
) |
Definition at line 421 of file botmsg.c.
References b_numver, botnetnick, NEAT_BOTNET, OBUF, simple_sprintf, and tputs.
Referenced by bot_trace(), and cmd_trace().
00422 { 00423 int l; 00424 00425 #ifndef NO_OLD_BOTNET 00426 if (b_numver(idx) < NEAT_BOTNET) 00427 l = simple_sprintf(OBUF, "trace %s %s %s:%s\n", to, from, buf, botnetnick); 00428 else 00429 #endif 00430 l = simple_sprintf(OBUF, "t %s %s %s:%s\n", to, from, buf, botnetnick); 00431 tputs(dcc[idx].sock, OBUF, l); 00432 }
char char* void botnet_send_traced | ( | int | , | |
char * | , | |||
char * | ||||
) |
Definition at line 408 of file botmsg.c.
References b_numver, NEAT_BOTNET, OBUF, simple_sprintf, and tputs.
Referenced by bot_trace(), and bot_traced().
00409 { 00410 int l; 00411 00412 #ifndef NO_OLD_BOTNET 00413 if (b_numver(idx) < NEAT_BOTNET) 00414 l = simple_sprintf(OBUF, "traced %s %s\n", bot, buf); 00415 else 00416 #endif 00417 l = simple_sprintf(OBUF, "td %s %s\n", bot, buf); 00418 tputs(dcc[idx].sock, OBUF, l); 00419 }
void botnet_send_unlink | ( | int | , | |
char * | , | |||
char * | , | |||
char * | , | |||
char * | ||||
) |
Definition at line 350 of file botmsg.c.
References b_numver, NEAT_BOTNET, OBUF, simple_sprintf, and tputs.
Referenced by bot_unlink(), and cmd_unlink().
00351 { 00352 int l; 00353 00354 #ifndef NO_OLD_BOTNET 00355 if (b_numver(idx) < NEAT_BOTNET) 00356 l = simple_sprintf(OBUF, "unlink %s %s %s %s\n", who, via, bot, reason); 00357 else 00358 #endif 00359 l = simple_sprintf(OBUF, "ul %s %s %s %s\n", who, via, bot, reason); 00360 tputs(dcc[idx].sock, OBUF, l); 00361 }
void botnet_send_update | ( | int | , | |
tand_t * | ||||
) |
Definition at line 434 of file botmsg.c.
References tand_t_struct::bot, OBUF, send_tand_but(), tand_t_struct::share, simple_sprintf, tandout_but(), and tands.
Referenced by updatebot().
00435 { 00436 int l; 00437 00438 if (tands > 0) { 00439 l = simple_sprintf(OBUF, "u %s %c%D\n", ptr->bot, ptr->share, ptr->ver); 00440 send_tand_but(idx, OBUF, l); 00441 #ifndef NO_OLD_BOTNET 00442 tandout_but(idx, "update %s %c%d\n", ptr->bot, ptr->share, ptr->ver); 00443 #endif 00444 } 00445 }
void botnet_send_who | ( | int | , | |
char * | , | |||
char * | , | |||
int | ||||
) |
Definition at line 327 of file botmsg.c.
References b_numver, NEAT_BOTNET, OBUF, simple_sprintf, and tputs.
Referenced by bot_who(), and cmd_who().
00328 { 00329 int l; 00330 00331 #ifndef NO_OLD_BOTNET 00332 if (b_numver(idx) < NEAT_BOTNET) 00333 l = simple_sprintf(OBUF, "who %s %s %d\n", from, to, chan); 00334 else 00335 #endif 00336 l = simple_sprintf(OBUF, "w %s %s %D\n", from, to, chan); 00337 tputs(dcc[idx].sock, OBUF, l); 00338 }
int | ( | (int(*)(tand_t *)) | global[250] | ) |
int | ( | (int(*)(tand_t *)) | global[249] | ) |
void send_tand_but | ( | int | , | |
char * | , | |||
int | ||||
) |
Definition at line 198 of file botmsg.c.
References b_numver, bot_flags, BOT_ISOLATE, DCC_BOT, dcc_total, NEAT_BOTNET, tputs, and user.
Referenced by botnet_send_act(), botnet_send_away(), botnet_send_bye(), botnet_send_chan(), botnet_send_chat(), botnet_send_idle(), botnet_send_infoq(), botnet_send_join_idx(), botnet_send_join_party(), botnet_send_nkch(), botnet_send_nkch_part(), botnet_send_nlinked(), botnet_send_part_idx(), botnet_send_part_party(), botnet_send_unlinked(), botnet_send_update(), and botnet_send_zapf_broad().
00199 { 00200 int i, iso = 0; 00201 00202 if (len < 0) { 00203 len = -len; 00204 iso = 1; 00205 } 00206 for (i = 0; i < dcc_total; i++) 00207 if ((dcc[i].type == &DCC_BOT) && (i != x) && 00208 (b_numver(i) >= NEAT_BOTNET) && 00209 (!iso || !(bot_flags(dcc[i].user) & BOT_ISOLATE))) 00210 tputs(dcc[i].sock, buf, len); 00211 }
void | ( | (void(*)(void)) | global[27] | ) |
void | ( | (void(*)(int, char *)) | global[33] | ) |
void | ( | (void(*)(int, int)) | global[32] | ) |
char char char* char char char* void | ( | (void(*)(int, char *, char *, char *)) | global[30] | ) |
char char char* void | ( | (void(*)(int, char *, char *, char *)) | global[29] | ) |
void | ( | (void(*)(int, char *, char *, char *)) | global[31] | ) |
char char char* void | ( | (void(*)(int, char *, char *, char *)) | global[25] | ) |
void | ( | (void(*)(int, char *, char *, char *)) | global[24] | ) |
void | ( | (void(*)(int, char *, char *)) | global[26] | ) |
char char char* void | ( | (void(*)(int, char *, char *)) | global[28] | ) |
void | ( | (void(*)(int, char *, char *, int, char *)) | global[198] | ) |