File src/iroffer_dccchat.c

* iroffer by David Johnson (PMG) * Copyright (C) 1998-2005 David Johnson * * By using this file, you agree to the terms and conditions set * forth in the GNU General Public License. More information is * available in the LICENSE file. * * If you received this file without documentation, it can be * downloaded from http://iroffer.org/ * * @(#) iroffer_dccchat.c 1.77@(#) * pmg@wellington.i202.centerclick.org|src/iroffer_dccchat.c|20050313183434|02319 *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

Global Function flushdccchat()

void flushdccchat ( dccchat_t* chat )
Prototyped in: src/iroffer_headers.h
Calls: ir_boutput_attempt_flush() src/iroffer_utilities.c
Called by: mainloop() src/iroffer_main.c
  shutdowndccchat() src/iroffer_dccchat.c

Global Function parsedccchat()

void parsedccchat ( dccchat_t* chat, char* line )
Prototyped in: src/iroffer_headers.h
Calls: caps() src/dinoex_utilities.c
  count_badip() src/dinoex_badip.c
  dcc_host_password() src/dinoex_chat.c
  ioutput() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  outerror() src/iroffer_utilities.c
  shutdowndccchat() src/iroffer_dccchat.c
  u_fillwith_dcc() src/iroffer_admin.c
  u_parseit() src/iroffer_admin.c
  updatecontext_f() src/iroffer_utilities.c
  writedccchat() src/iroffer_dccchat.c
Called by: chat_perform() src/dinoex_chat.c
References Variables: gdata src/dinoex_main.c

Global Function setup_chat_banner()

void setup_chat_banner ( dccchat_t* chat )
Prototyped in: src/iroffer_headers.h
Calls: get_user_nick() src/dinoex_irc.c
  getuptime() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  writedccchat() src/iroffer_dccchat.c
Called by: setupdccchataccept() src/iroffer_dccchat.c
  setupdccchatconnected() src/iroffer_dccchat.c
  telnet_accept() src/dinoex_telnet.c
References Variables: gdata src/dinoex_main.c

Global Function setupdccchat()

int setupdccchat ( const char* nick, const char* hostmask, const char* line )
Prototyped in: src/iroffer_headers.h
Calls: atoul() src/iroffer_utilities.c
  bind_irc_vhost() src/dinoex_irc.c
  get_user_nick() src/dinoex_irc.c
  getpart2() src/dinoex_utilities.c
  ioutput() src/iroffer_utilities.c
  irlist_add2() src/iroffer_utilities.c
  is_in_badip() src/dinoex_badip.c
  my_getnameinfo() src/dinoex_irc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  notice() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  set_socket_nonblocking() src/iroffer_utilities.c
  setupdccchatout() src/iroffer_dccchat.c
  shutdowndccchat() src/iroffer_dccchat.c
  updatecontext_f() src/iroffer_utilities.c
  __bswap16(), __bswap32(), __error(), __inet_pton(), alarm(), atoi(), bzero(), connect(), getsockname(), socket(), strchr(), strcmp(), strerror(), strlen()
Called by: command_dcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Global Function setupdccchataccept()

void setupdccchataccept ( dccchat_t* chat )
Prototyped in: src/iroffer_headers.h
Calls: event_close() src/dinoex_kqueue.c
  ioutput() src/iroffer_utilities.c
  ir_boutput_init() src/iroffer_utilities.c
  ir_listen_port_connected() src/iroffer_utilities.c
  is_in_badip() src/dinoex_badip.c
  my_getnameinfo() src/dinoex_irc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  outerror() src/iroffer_utilities.c
  set_socket_nonblocking() src/iroffer_utilities.c
  setup_chat_banner() src/iroffer_dccchat.c
  shutdowndccchat() src/iroffer_dccchat.c
  updatecontext_f() src/iroffer_utilities.c
  __error(), accept(), strerror()
Called by: chat_perform() src/dinoex_chat.c
References Variables: gdata src/dinoex_main.c

Global Function setupdccchatconnected()

void setupdccchatconnected ( dccchat_t* chat )
Prototyped in: src/iroffer_headers.h
Calls: ioutput() src/iroffer_utilities.c
  ir_boutput_init() src/iroffer_utilities.c
  setup_chat_banner() src/iroffer_dccchat.c
Called by: chat_perform() src/dinoex_chat.c
References Variables: gdata src/dinoex_main.c

Global Function setupdccchatout()

int setupdccchatout ( const char* nick, const char* hostmask, const char* token )
Prototyped in: src/iroffer_headers.h
Calls: ioutput() src/iroffer_utilities.c
  irc_open_listen() src/dinoex_irc.c
  irlist_add2() src/iroffer_utilities.c
  my_getnameinfo() src/dinoex_irc.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  privmsg_fast() src/iroffer_utilities.c
  setup_dcc_local() src/dinoex_irc.c
  updatecontext_f() src/iroffer_utilities.c
Called by: setupdccchat() src/iroffer_dccchat.c
  u_chatme() src/iroffer_admin.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Global Function shutdowndccchat()

void shutdowndccchat ( dccchat_t* chat, int flush )
Prototyped in: src/iroffer_headers.h
Calls: flushdccchat() src/iroffer_dccchat.c
  ir_boutput_delete() src/iroffer_utilities.c
  ir_listen_port_connected() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  shutdown_close() src/dinoex_kqueue.c
  upnp_rem_redir() src/upnp.c
  memset(), usleep()
Called by: a_closec_sub() src/dinoex_admin.c
  chat_perform() src/dinoex_chat.c
  mainloop() src/iroffer_main.c
  parsedccchat() src/iroffer_dccchat.c
  setupdccchat() src/iroffer_dccchat.c
  setupdccchataccept() src/iroffer_dccchat.c
  shutdowniroffer() src/iroffer_misc.c
  telnet_accept() src/dinoex_telnet.c
  u_quit() src/iroffer_admin.c
References Variables: gdata src/dinoex_main.c

Global Function vwritedccchat()

void vwritedccchat ( dccchat_t* chat, int add_return, const char* format, va_list ap )
Prototyped in: src/iroffer_headers.h
Calls: ioutput() src/iroffer_utilities.c
  ir_boutput_write() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  vsnprintf()
Called by: a_respond() src/dinoex_admin.c
  writedccchat() src/iroffer_dccchat.c
References Variables: gdata src/dinoex_main.c

Global Function writedccchat()

void writedccchat ( dccchat_t* chat, int add_return, const char* format, ... )
Prototyped in: src/iroffer_headers.h
Calls: vwritedccchat() src/iroffer_dccchat.c
  __builtin_va_end(), __builtin_va_start()
Called by: a_closec_sub() src/dinoex_admin.c
  mainloop() src/iroffer_main.c
  parsedccchat() src/iroffer_dccchat.c
  setup_chat_banner() src/iroffer_dccchat.c
  shutdowniroffer() src/iroffer_misc.c
  vioutput() src/iroffer_utilities.c
  writestatus() src/iroffer_dccchat.c

Global Function writestatus()

void writestatus ( dccchat_t* chat )
Prototyped in: src/iroffer_headers.h
Calls: getstatusline() src/iroffer_misc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  writedccchat() src/iroffer_dccchat.c
Called by: chat_writestatus() src/dinoex_chat.c