File src/dinoex_chat.c

* by Dirk Meyer (dinoex) * Copyright (C) 2004-2011 Dirk Meyer * * 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.dinoex.net/ * * $Id: dinoex_chat.c,v 1.9 2011/12/02 09:57:26 cvs Exp $ *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

Global Function chat_perform()

handle chat io events

void chat_perform ( void )

Prototyped in: src/dinoex_chat.h
Calls: ioutput() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  parsedccchat() src/iroffer_dccchat.c
  setupdccchataccept() src/iroffer_dccchat.c
  setupdccchatconnected() src/iroffer_dccchat.c
  shutdowndccchat() src/iroffer_dccchat.c
  updatecontext_f() src/iroffer_utilities.c
  __error(), getsockopt(), memset(), recv(), strerror(), strlen()
Called by: mainloop() src/iroffer_main.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Global Function chat_select_fdset()

register active connections for select()

int chat_select_fdset ( int highests )

Prototyped in: src/dinoex_chat.h
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
Called by: mainloop() src/iroffer_main.c
References Variables: gdata src/dinoex_main.c

Global Function chat_writestatus()

send dcc status line to all chats

void chat_writestatus ( void )

Prototyped in: src/dinoex_chat.h
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  writestatus() src/iroffer_dccchat.c
Called by: mainloop() src/iroffer_main.c
References Variables: gdata src/dinoex_main.c

Global Function dcc_host_password()

check the given passwort matches hostmask and groups

unsigned int dcc_host_password ( dccchat_t* chat, char* passwd )

Prototyped in: src/dinoex_chat.h
Calls: mystrdup2() src/dinoex_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  verifypass2() src/dinoex_utilities.c
  verifypass_group() src/dinoex_misc.c
  verifyshell() src/dinoex_utilities.c
Called by: parsedccchat() src/iroffer_dccchat.c
References Variables: gdata src/dinoex_main.c