File src/dinoex_user.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_user.c,v 1.69 2012/08/24 06:28:08 cvs Exp $ *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

#define MAX_PRIVMSG_PARTS 10


Typedef privmsginput

typedef struct {...} privmsginput
struct  
   {  
      char* line;  
      char* hostmask;  
      char* nick;  
      char* hostname;  
      char* dest;  
      char* msg1;  
      char* msg2;  
      char* msg3;  
      char* msg4;  
      char* msg5;  
      char* msg6;  
      char* msg7;  
   }  

Local Variables

type_list
NOTRANSLATE

static const char* type_list[2]

Used in: add_msg_statefile()  
  privmsgparse2()  

Global Function lost_nick()

remove user from queue after he left chammel or network

void lost_nick ( const char* nick )

Prototyped in: src/dinoex_user.h
Calls: ioutput() src/iroffer_utilities.c
  queue_xdcc_remove() src/dinoex_queue.c
  stoplist() src/dinoex_user.c
Called by: ir_parseline2() src/dinoex_irc.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Global Function privmsgparse()

parse a privmsg from server for user actions

void privmsgparse ( int type, int decoded, char* line )

Prototyped in: src/dinoex_user.h
Calls: caps() src/dinoex_utilities.c
  floodchk() src/iroffer_misc.c
  get_argv2() src/dinoex_utilities.c
  get_nick_hostname() src/dinoex_user.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  privmsgparse2() src/dinoex_user.c
  sstrlen() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  bzero()
Called by: ir_parseline2() src/dinoex_irc.c
References Variables: gdata src/dinoex_main.c

Local Function add_msg_statefile()

static void add_msg_statefile ( const char* begin, int type, privmsginput* pi )
Calls: ioutput() src/iroffer_utilities.c
  irlist_add2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  write_statefile() src/iroffer_statefile.c
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c
  type_list src/dinoex_user.c

Local Function admin_message()

static void admin_message ( privmsginput* pi )
Calls: ioutput() src/iroffer_utilities.c
  msg_host_password() src/dinoex_user.c
  notice() src/iroffer_utilities.c
Called by: botonly_parse() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function admin_msg_line()

static void admin_msg_line ( const char* nick, char* line, unsigned int level )
Calls: a_fillwith_msg2() src/dinoex_jobs.c
  get_argv2() src/dinoex_utilities.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  u_parseit() src/iroffer_admin.c
  updatecontext_f() src/iroffer_utilities.c
Called by: msg_host_password() src/dinoex_user.c

Local Function autoqueuef()

static void autoqueuef ( unsigned int pack, const char* message, privmsginput* pi )
Calls: log_xdcc_request3() src/dinoex_user.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  send_xdcc_file2() src/dinoex_user.c
  updatecontext_f() src/iroffer_utilities.c
  snprintf(), strlen()
Called by: check_trigger() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function botonly_parse()

static int botonly_parse ( int type, privmsginput* pi )
Calls: admin_message() src/dinoex_user.c
  caps() src/dinoex_utilities.c
  check_ignore() src/dinoex_irc.c
  command_dcc() src/dinoex_user.c
  getstatuslinenums() src/iroffer_misc.c
  getuptime() src/iroffer_utilities.c
  ioutput() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  not_for_me() src/dinoex_user.c
  notice() src/iroffer_utilities.c
  send_clientinfo() src/dinoex_user.c
  strip_trailing_action() src/dinoex_user.c
  test_ctcp() src/dinoex_user.c
  strcmp()
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function check_lock()

returns true if password does not match the pack

static int check_lock ( const char* lockstr, const char* pwd )

Calls: strcmp()
Called by: send_xdcc_file2() src/dinoex_user.c

Local Function check_trigger()

static int check_trigger ( int type, privmsginput* pi )
Calls: autoqueuef() src/dinoex_user.c
  check_ignore() src/dinoex_irc.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  number_of_pack() src/dinoex_misc.c
  strcasecmp()
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function command_dcc()

static void command_dcc ( privmsginput* pi )
Calls: atoull() src/iroffer_utilities.c
  getsendname() src/iroffer_misc.c
  invalid_upload() src/dinoex_upload.c
  ioutput() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  l_establishcon() src/iroffer_upload.c
  l_setup_passive() src/dinoex_upload.c
  log_chat_attempt() src/dinoex_user.c
  mydelete2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  removenonprintablefile() src/dinoex_utilities.c
  setupdccchat() src/iroffer_dccchat.c
  strip_trailing_action() src/dinoex_user.c
  t_find_resume() src/dinoex_transfer.c
  t_find_transfer() src/dinoex_transfer.c
  upload_start() src/dinoex_upload.c
  verifyhost_group() src/dinoex_user.c
  verifyshell() src/dinoex_utilities.c
  atoi(), strcmp()
Called by: botonly_parse() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function command_xdcc()

static void command_xdcc ( privmsginput* pi )
Calls: caps() src/dinoex_utilities.c
  convert_spaces_to_match() src/dinoex_utilities.c
  fnmatch_xdcc() src/dinoex_misc.c
  get_grouplist_access() src/dinoex_misc.c
  get_restrictlist() src/dinoex_user.c
  getpart_eol() src/dinoex_utilities.c
  grep_to_fnmatch() src/dinoex_utilities.c
  hide_pack() src/dinoex_misc.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  log_xdcc_request1() src/dinoex_user.c
  log_xdcc_request2() src/dinoex_user.c
  log_xdcc_request3() src/dinoex_user.c
  mydelete2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  notice_slow() src/iroffer_utilities.c
  notifyqueued_nick() src/dinoex_misc.c
  parse_xdcc_list() src/dinoex_user.c
  send_batch() src/dinoex_user.c
  send_cancel() src/dinoex_user.c
  send_help() src/dinoex_user.c
  send_owner() src/dinoex_user.c
  send_remove() src/dinoex_user.c
  send_xdcc_info() src/dinoex_user.c
  strip_trailing_action() src/dinoex_user.c
  verify_group_in_grouplist() src/dinoex_utilities.c
  xd_color_description() src/dinoex_misc.c
  xdcc_send() src/dinoex_user.c
  xdcc_stop() src/dinoex_user.c
  atoi(), strcmp()
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function do_atfind()

iroffer-lamm: @find

static void do_atfind ( unsigned int min, privmsginput* pi )

Calls: check_ignore() src/dinoex_irc.c
  convert_spaces_to_match() src/dinoex_utilities.c
  getpart_eol() src/dinoex_utilities.c
  ioutput() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  noticeresults() src/dinoex_user.c
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function get_channel_limit()

static size_t get_channel_limit ( const char* dest )
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  strcasecmp()
Called by: noticeresults() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function get_download_pack()

get pack by number and returns an error string if it failks

static xdcc* get_download_pack ( const char** bad, const char* nick, const char* hostmask, unsigned int pack, const char* text, unsigned int restr )

Calls: access_need_level() src/dinoex_misc.c
  get_grouplist_access() src/dinoex_misc.c
  get_xdcc_pack() src/dinoex_misc.c
  init_xdcc_file() src/dinoex_misc.c
  irlist_size() src/iroffer_utilities.c
  isinmemberlist() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  verify_group_in_grouplist() src/dinoex_utilities.c
  verifyshell() src/dinoex_utilities.c
Called by: send_xdcc_file2() src/dinoex_user.c
  send_xdcc_info() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  xdcc_listfile src/dinoex_misc.c

Local Function get_listmsg_channel()

search for custom listmsg

static const char* get_listmsg_channel ( const char* dest )

Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  strcasecmp()
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function get_nick_hostname()

static int get_nick_hostname ( char* nick, char* hostname, const char* line )
Called by: privmsgparse() src/dinoex_user.c

Local Function get_respondtochannellist()

get respondtochannellist for current network

static unsigned int get_respondtochannellist ( void )

Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function get_respondtochannelxdcc()

get respondtochannelxdccn for current network

static unsigned int get_respondtochannelxdcc ( void )

Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function get_restrictlist()

get restrictlist for current network

static unsigned int get_restrictlist ( void )

Called by: command_xdcc() src/dinoex_user.c
  parse_xdcc_list() src/dinoex_user.c
  send_xdcc_info() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function ignore_trigger_dest()

static int ignore_trigger_dest ( const char* dest )
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  strcasecmp()
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function log_chat_attempt()

static void log_chat_attempt ( privmsginput* pi )
Calls: ioutput() src/iroffer_utilities.c
Called by: command_dcc() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function log_xdcc_request1()

static void log_xdcc_request1 ( privmsginput* pi )
Calls: ioutput() src/iroffer_utilities.c
Called by: command_xdcc() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function log_xdcc_request2()

static void log_xdcc_request2 ( const char* msg, const char* arg, privmsginput* pi )
Calls: ioutput() src/iroffer_utilities.c
Called by: command_xdcc() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function log_xdcc_request3()

static void log_xdcc_request3 ( privmsginput* pi, const char* msg )
Calls: ioutput() src/iroffer_utilities.c
Called by: autoqueuef() src/dinoex_user.c
  command_xdcc() src/dinoex_user.c
  xdcc_send() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function msg_host_password()

static unsigned int msg_host_password ( const char* nick, const char* hostmask, const char* passwd, char* line )
Calls: admin_msg_line() src/dinoex_user.c
  reset_ignore() src/dinoex_user.c
  verifypass2() src/dinoex_utilities.c
  verifypass_group() src/dinoex_misc.c
  verifyshell() src/dinoex_utilities.c
Called by: admin_message() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function not_for_me()

static int not_for_me ( const char* dest )
Calls: strcmp()
Called by: botonly_parse() src/dinoex_user.c
  privmsgparse2() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function noticeresults()

iroffer-lamm: @find and long !list

static int noticeresults ( const char* nick, const char* pattern, const char* dest )

Calls: fnmatch_xdcc() src/dinoex_misc.c
  get_channel_limit() src/dinoex_user.c
  get_grouplist_channel() src/dinoex_misc.c
  get_user_nick() src/dinoex_irc.c
  grep_to_fnmatch() src/dinoex_utilities.c
  hide_pack() src/dinoex_misc.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  notice_slow() src/iroffer_utilities.c
  sizestr() src/dinoex_utilities.c
  verify_group_in_grouplist() src/dinoex_utilities.c
  xd_color_description() src/dinoex_misc.c
  snprintf(), strcmp(), strlen()
Called by: do_atfind() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function parse_xdcc_list()

static int parse_xdcc_list ( const char* nick, char* msg3 )
Calls: access_need_level() src/dinoex_misc.c
  caps() src/dinoex_utilities.c
  get_restrictlist() src/dinoex_user.c
  irlist_add2() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  restrictprivlistmsg() src/dinoex_user.c
  restrictprivlistmsg2() src/dinoex_user.c
  strcmp()
Called by: command_xdcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function privmsgparse2()

static void privmsgparse2 ( int type, int decoded, privmsginput* pi )
Calls: add_msg_statefile() src/dinoex_user.c
  botonly_parse() src/dinoex_user.c
  caps() src/dinoex_utilities.c
  check_ignore() src/dinoex_irc.c
  check_trigger() src/dinoex_user.c
  command_xdcc() src/dinoex_user.c
  do_atfind() src/dinoex_user.c
  get_grouplist_channel() src/dinoex_misc.c
  get_listmsg_channel() src/dinoex_user.c
  get_respondtochannellist() src/dinoex_user.c
  get_respondtochannelxdcc() src/dinoex_user.c
  ignore_trigger_dest() src/dinoex_user.c
  ioutput() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  logfile_add() src/dinoex_misc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  not_for_me() src/dinoex_user.c
  notice_slow() src/iroffer_utilities.c
  run_new_trigger() src/dinoex_user.c
  save_nick() src/dinoex_utilities.c
  strip_trailing_action() src/dinoex_user.c
  test_ctcp() src/dinoex_user.c
  verifyshell() src/dinoex_utilities.c
  snprintf(), strcmp(), strlen()
Called by: privmsgparse() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c
  type_list src/dinoex_user.c

Local Function reset_ignore()

static void reset_ignore ( const char* hostmask )
Calls: get_ignore() src/dinoex_irc.c
Called by: msg_host_password() src/dinoex_user.c

Local Function restrictprivlistmsg()

static void restrictprivlistmsg ( const char* nick )
Calls: restrictprivlistmsg2() src/dinoex_user.c
Called by: parse_xdcc_list() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function restrictprivlistmsg2()

static void restrictprivlistmsg2 ( const char* nick, const char* msg )
Calls: notice() src/iroffer_utilities.c
Called by: parse_xdcc_list() src/dinoex_user.c
  restrictprivlistmsg() src/dinoex_user.c

Local Function run_new_trigger()

static int run_new_trigger ( const char* nick, const char* grouplist )
Calls: add_newest_xdcc() src/dinoex_misc.c
  irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  notice_slow() src/iroffer_utilities.c
  number_of_pack() src/dinoex_misc.c
  xd_color_description() src/dinoex_misc.c
  localtime(), memset(), strftime()
Called by: privmsgparse2() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function send_batch()

static void send_batch ( privmsginput* pi, const char* what, const char* pwd )
Calls: ioutput() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  notice() src/iroffer_utilities.c
  send_batch_search() src/dinoex_user.c
  strtok()
Called by: command_xdcc() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function send_batch_group()

static int send_batch_group ( privmsginput* pi, const char* what, const char* pwd )
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  send_xdcc_file2() src/dinoex_user.c
  updatecontext_f() src/iroffer_utilities.c
  strcasecmp()
Called by: send_batch_search() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function send_batch_search()

static int send_batch_search ( privmsginput* pi, const char* what, const char* pwd )
Calls: packnumtonum() src/dinoex_misc.c
  send_batch_group() src/dinoex_user.c
  send_xdcc_file2() src/dinoex_user.c
  updatecontext_f() src/iroffer_utilities.c
  strchr()
Called by: send_batch() src/dinoex_user.c

Local Function send_cancel()

static void send_cancel ( const char* nick )
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  t_closeconn() src/iroffer_transfer.c
  strcasecmp()
Called by: command_xdcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function send_clientinfo()

static void send_clientinfo ( const char* nick, char* msg2 )
Calls: caps() src/dinoex_utilities.c
  ioutput() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  strncmp()
Called by: botonly_parse() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function send_help()

static void send_help ( const char* nick )
Calls: get_user_nick() src/dinoex_irc.c
  notice_slow() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
Called by: command_xdcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function send_owner()

static void send_owner ( const char* nick )
Calls: notice() src/iroffer_utilities.c
Called by: command_xdcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function send_remove()

static void send_remove ( const char* nick, unsigned int number )
Calls: notice() src/iroffer_utilities.c
  queue_xdcc_remove() src/dinoex_queue.c
Called by: command_xdcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function send_xdcc_file()

static const char* send_xdcc_file ( privmsginput* pi, const char* arg, const char* pwd )
Calls: packnumtonum() src/dinoex_misc.c
  send_xdcc_file2() src/dinoex_user.c
  updatecontext_f() src/iroffer_utilities.c
Called by: xdcc_send() src/dinoex_user.c

Local Function send_xdcc_file2()

static int send_xdcc_file2 ( const char** bad, privmsginput* pi, unsigned int pack, const char* msg, const char* pwd )
Calls: addtomainqueue() src/dinoex_queue.c
  check_lock() src/dinoex_user.c
  create_transfer() src/dinoex_transfer.c
  get_download_pack() src/dinoex_user.c
  get_restrictsend() src/dinoex_misc.c
  init_xdcc_file() src/dinoex_misc.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  look_for_file_changes() src/iroffer_misc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  t_notice_transfer() src/dinoex_transfer.c
  t_setup_dcc() src/dinoex_transfer.c
  t_unlmited() src/dinoex_transfer.c
  transfer_limit_exceeded_msg() src/dinoex_misc.c
  updatecontext_f() src/iroffer_utilities.c
  strcmp()
Called by: autoqueuef() src/dinoex_user.c
  send_batch_group() src/dinoex_user.c
  send_batch_search() src/dinoex_user.c
  send_xdcc_file() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function send_xdcc_info()

static void send_xdcc_info ( const char** bad, const char* nick, const char* hostmask, const char* arg )
Calls: a_fillwith_msg2() src/dinoex_jobs.c
  get_download_pack() src/dinoex_user.c
  get_restrictlist() src/dinoex_user.c
  hide_pack() src/dinoex_misc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  packnumtonum() src/dinoex_misc.c
  u_parseit() src/iroffer_admin.c
  updatecontext_f() src/iroffer_utilities.c
  snprintf()
Called by: command_xdcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function stoplist()

remove all queued lines for this user

static unsigned int stoplist ( const char* nick )

Calls: irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  stoplist_announce() src/dinoex_user.c
  stoplist_queue() src/dinoex_user.c
  stoplist_xlistqueue() src/dinoex_user.c
  strcasecmp()
Called by: lost_nick() src/dinoex_user.c
  xdcc_stop() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function stoplist_announce()

static unsigned int stoplist_announce ( const char* nick )
Calls: irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  strcasecmp(), strchr(), strcmp()
Called by: stoplist() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function stoplist_queue()

static unsigned int stoplist_queue ( const char* nick, irlist_t* list )
Calls: irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  strcasecmp(), strchr(), strcmp()
Called by: stoplist() src/dinoex_user.c

Local Function stoplist_xlistqueue()

static unsigned int stoplist_xlistqueue ( const char* nick )
Calls: irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  strcmp()
Called by: stoplist() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c

Local Function strip_trailing_action()

static void strip_trailing_action ( char* str )
Calls: strlen()
Called by: botonly_parse() src/dinoex_user.c
  command_dcc() src/dinoex_user.c
  command_xdcc() src/dinoex_user.c
  privmsgparse2() src/dinoex_user.c
  xdcc_send() src/dinoex_user.c

Local Function test_ctcp()

static int test_ctcp ( const char* msg1, const char* key )
Calls: strlen(), strncmp()
Called by: botonly_parse() src/dinoex_user.c
  privmsgparse2() src/dinoex_user.c

Local Function verifyhost_group()

static int verifyhost_group ( const char* hostmask )
Calls: irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  fnmatch()
Called by: command_dcc() src/dinoex_user.c
References Variables: gdata src/dinoex_main.c

Local Function xdcc_send()

static void xdcc_send ( privmsginput* pi )
Calls: log_xdcc_request3() src/dinoex_user.c
  send_xdcc_file() src/dinoex_user.c
  strip_trailing_action() src/dinoex_user.c
Called by: command_xdcc() src/dinoex_user.c

Local Function xdcc_stop()

remove all queued lines for this user

static void xdcc_stop ( privmsginput* pi )

Calls: ioutput() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  stoplist() src/dinoex_user.c
Called by: command_xdcc() src/dinoex_user.c
References Variables: gnetwork src/dinoex_main.c