File src/dinoex_main.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_main.c,v 1.36 2011/12/02 09:57:27 cvs Exp $ *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

#define GET_NEXT_DATA( x )


Global Variable gnetwork

gnetwork_t* gnetwork
Visible in:   src/dinoex_admin.c
    src/dinoex_badip.c
    src/dinoex_chat.c
    src/dinoex_config.c
    src/dinoex_curl.c
    src/dinoex_geoip.c
    src/dinoex_http.c
    src/dinoex_irc.c
    src/dinoex_jobs.c
    src/dinoex_kqueue.c
    src/dinoex_main.c
    src/dinoex_misc.c
    src/dinoex_queue.c
    src/dinoex_ruby.c
    src/dinoex_ssl.c
    src/dinoex_telnet.c
    src/dinoex_transfer.c
    src/dinoex_upload.c
    src/dinoex_user.c
    src/dinoex_utilities.c
    src/iroffer_admin.c
    src/iroffer_dccchat.c
    src/iroffer_display.c
    src/iroffer_main.c
    src/iroffer_misc.c
    src/iroffer_statefile.c
    src/iroffer_transfer.c
    src/iroffer_upload.c
    src/iroffer_utilities.c
Used in: a_amsg() src/dinoex_admin.c
  a_announce_channels() src/dinoex_admin.c
  a_announce_msg() src/dinoex_admin.c
  a_bannnick() src/dinoex_admin.c
  a_fillwith_msg2() src/dinoex_jobs.c
  a_hop() src/dinoex_admin.c
  a_hop_net() src/dinoex_admin.c
  a_identify() src/dinoex_admin.c
  a_iqueue_sub() src/dinoex_admin.c
  a_join() src/dinoex_admin.c
  a_lag() src/dinoex_admin.c
  a_lag_net() src/dinoex_admin.c
  a_mesg() src/dinoex_admin.c
  a_mesq() src/dinoex_admin.c
  a_msg() src/dinoex_admin.c
  a_msgnet() src/dinoex_admin.c
  a_newann() src/dinoex_admin.c
  a_nochannel() src/dinoex_admin.c
  a_offline_net() src/dinoex_admin.c
  a_part() src/dinoex_admin.c
  a_queue() src/dinoex_admin.c
  a_quit_network() src/dinoex_jobs.c
  a_raw() src/dinoex_admin.c
  a_rawnet() src/dinoex_admin.c
  a_rehash_channels() src/dinoex_jobs.c
  a_rehash_cleanup() src/dinoex_jobs.c
  a_rehash_jump() src/dinoex_jobs.c
  a_rehash_needtojump() src/dinoex_jobs.c
  a_remove_delayed() src/dinoex_admin.c
  a_respond() src/dinoex_admin.c
  a_rmq2() src/dinoex_admin.c
  a_rmq3() src/dinoex_admin.c
  a_sannounce() src/dinoex_admin.c
  a_send() src/dinoex_admin.c
  a_servqc2() src/dinoex_admin.c
  add_msg_statefile() src/dinoex_user.c
  addtoidlequeue() src/dinoex_queue.c
  addtomainqueue() src/dinoex_queue.c
  addtomemberlist() src/iroffer_utilities.c
  admin_message() src/dinoex_user.c
  autoadd_scan() src/dinoex_jobs.c
  autoqueuef() src/dinoex_user.c
  botonly_parse() src/dinoex_user.c
  c_usenatip() src/dinoex_config.c
  chat_perform() src/dinoex_chat.c
  check_level() src/dinoex_misc.c
  child_resolver() src/dinoex_irc.c
  cie_mode() src/dinoex_ruby.c
  cie_network() src/dinoex_ruby.c
  cie_privmsg() src/dinoex_ruby.c
  clean_send_buffers() src/dinoex_jobs.c
  cleanannounce() src/dinoex_jobs.c
  close_server() src/dinoex_ssl.c
  color_text() src/dinoex_misc.c
  command_dcc() src/dinoex_user.c
  connectirc() src/iroffer_misc.c
  connectirc2() src/dinoex_irc.c
  create_transfer() src/dinoex_transfer.c
  do_atfind() src/dinoex_user.c
  dump_config_fdump() src/dinoex_config.c
  error_upload_start() src/dinoex_upload.c
  fetch_perform() src/dinoex_curl.c
  find_fish_key() src/dinoex_jobs.c
  floodchk() src/iroffer_misc.c
  free_state() src/dinoex_main.c
  get_channel_limit() src/dinoex_user.c
  get_config_nick() src/dinoex_irc.c
  get_grouplist_access() src/dinoex_misc.c
  get_grouplist_channel() src/dinoex_misc.c
  get_level() src/dinoex_misc.c
  get_listmsg_channel() src/dinoex_user.c
  get_local_vhost() src/dinoex_irc.c
  get_nickserv_pass() src/dinoex_misc.c
  get_respondtochannellist() src/dinoex_user.c
  get_respondtochannelxdcc() src/dinoex_user.c
  get_restrictlist() src/dinoex_user.c
  get_restrictsend() src/dinoex_misc.c
  get_user_modes() src/dinoex_misc.c
  get_user_nick() src/dinoex_irc.c
  get_voice() src/dinoex_misc.c
  getstatusline() src/iroffer_misc.c
  global_defaults() src/dinoex_misc.c
  handshake2_ssl() src/dinoex_ssl.c
  identify_needed() src/dinoex_irc.c
  ignore_trigger_dest() src/dinoex_user.c
  initchanmodes() src/iroffer_misc.c
  initirc() src/iroffer_misc.c
  initprefixes() src/iroffer_misc.c
  initvars() src/iroffer_misc.c
  invalid_upload() src/dinoex_upload.c
  ir_parseline() src/dinoex_irc.c
  ir_parseline2() src/dinoex_irc.c
  ir_unknown_channel() src/dinoex_irc.c
  irc_001() src/dinoex_irc.c
  irc_005() src/dinoex_irc.c
  irc_perform() src/dinoex_irc.c
  irc_server_is_timeout() src/dinoex_irc.c
  irc_server_timeout() src/dinoex_irc.c
  is_not_joined_channel() src/dinoex_admin.c
  isinmemberlist() src/iroffer_utilities.c
  joinchannel() src/iroffer_misc.c
  keyfile_present() src/dinoex_ssl.c
  l_closeconn() src/iroffer_upload.c
  l_perform() src/dinoex_upload.c
  l_setup_listen() src/dinoex_upload.c
  lag_message() src/dinoex_jobs.c
  load_ssl_cert() src/dinoex_ssl.c
  load_ssl_key() src/dinoex_ssl.c
  log_chat_attempt() src/dinoex_user.c
  log_xdcc_request1() src/dinoex_user.c
  log_xdcc_request2() src/dinoex_user.c
  log_xdcc_request3() src/dinoex_user.c
  lost_nick() src/dinoex_user.c
  mainloop() src/iroffer_main.c
  my_dcc_ip_port() src/dinoex_irc.c
  not_for_me() src/dinoex_user.c
  notifybandwidth() src/iroffer_misc.c
  notifybandwidthtrans() src/iroffer_misc.c
  notifyqueued() src/dinoex_misc.c
  notifyqueued_queue() src/dinoex_misc.c
  p_auth_name() src/dinoex_config.c
  p_getip_network() src/dinoex_config.c
  p_local_vhost() src/dinoex_config.c
  p_login_name() src/dinoex_config.c
  p_nickserv_pass() src/dinoex_config.c
  p_noannounce() src/dinoex_config.c
  p_offline() src/dinoex_config.c
  p_plaintext() src/dinoex_config.c
  p_respondtochannellist() src/dinoex_config.c
  p_respondtochannelxdcc() src/dinoex_config.c
  p_restrictlist() src/dinoex_config.c
  p_restrictsend() src/dinoex_config.c
  p_slow_privmsg() src/dinoex_config.c
  p_usenatip() src/dinoex_config.c
  p_user_modes() src/dinoex_config.c
  p_user_nick() src/dinoex_config.c
  parse_xdcc_list() src/dinoex_user.c
  pingserver() src/iroffer_misc.c
  privmsgparse2() src/dinoex_user.c
  queue_all_remove() src/dinoex_queue.c
  queue_count_host() src/dinoex_queue.c
  queue_host_remove() src/dinoex_admin.c
  queue_nick_remove() src/dinoex_admin.c
  queue_pack_limit() src/dinoex_queue.c
  queue_pack_remove() src/dinoex_queue.c
  queue_punish_user() src/dinoex_queue.c
  queue_reverify_restrictsend() src/dinoex_queue.c
  queue_xdcc_remove() src/dinoex_queue.c
  quit_server() src/iroffer_misc.c
  readserver_ssl() src/dinoex_ssl.c
  retry_ssl() src/dinoex_ssl.c
  reverify_restrictsend() src/iroffer_misc.c
  send_batch() src/dinoex_user.c
  send_cancel() src/dinoex_user.c
  send_clientinfo() src/dinoex_user.c
  send_from_queue() src/dinoex_queue.c
  send_periodicmsg() src/dinoex_jobs.c
  send_remove() src/dinoex_user.c
  send_xdcc_file2() src/dinoex_user.c
  sendannounce() src/dinoex_jobs.c
  sendserver() src/iroffer_misc.c
  sendxdlqueue() src/iroffer_misc.c
  setup_dcc_local() src/dinoex_irc.c
  setup_ssl() src/dinoex_ssl.c
  setupdccchat() src/iroffer_dccchat.c
  setupdccchatout() src/iroffer_dccchat.c
  shutdowniroffer() src/iroffer_misc.c
  start_fetch_url() src/dinoex_curl.c
  start_qupload() src/dinoex_jobs.c
  startupiroffer() src/iroffer_misc.c
  stoplist() src/dinoex_user.c
  stoplist_announce() src/dinoex_user.c
  stoplist_xlistqueue() src/dinoex_user.c
  switchserver() src/iroffer_misc.c
  t_checkminspeed() src/iroffer_transfer.c
  t_closeconn() src/iroffer_transfer.c
  t_connected() src/dinoex_transfer.c
  t_find_debug() src/dinoex_transfer.c
  t_find_resume() src/dinoex_transfer.c
  t_initvalues() src/iroffer_transfer.c
  t_passive() src/dinoex_transfer.c
  t_perform() src/dinoex_transfer.c
  t_remind() src/iroffer_transfer.c
  t_setup_dcc() src/dinoex_transfer.c
  t_start_dcc_send() src/dinoex_transfer.c
  t_unlmited2() src/dinoex_transfer.c
  telnet_accept() src/dinoex_telnet.c
  u_botinfo() src/iroffer_admin.c
  u_jump() src/iroffer_admin.c
  u_parseit() src/iroffer_admin.c
  u_psend() src/iroffer_admin.c
  u_runcmd() src/iroffer_admin.c
  u_xdl_head() src/iroffer_admin.c
  update_getip_net() src/dinoex_irc.c
  update_hour_dinoex() src/dinoex_misc.c
  update_natip() src/dinoex_irc.c
  update_server_welcome() src/dinoex_irc.c
  upload_start() src/dinoex_upload.c
  verify_uploadhost() src/dinoex_upload.c
  vprivmsg_chan() src/dinoex_jobs.c
  vwriteserver() src/iroffer_misc.c
  vwriteserver_channel() src/dinoex_jobs.c
  writeserver_ssl() src/dinoex_ssl.c
  xdcc_save_xml() src/dinoex_jobs.c
  xdcc_stop() src/dinoex_user.c
  xdccsavetext() src/iroffer_misc.c

Global Variable gdata

gdata_t gdata
Visible in:   src/dinoex_admin.c
    src/dinoex_badip.c
    src/dinoex_chat.c
    src/dinoex_config.c
    src/dinoex_curl.c
    src/dinoex_geoip.c
    src/dinoex_http.c
    src/dinoex_irc.c
    src/dinoex_jobs.c
    src/dinoex_kqueue.c
    src/dinoex_main.c
    src/dinoex_misc.c
    src/dinoex_queue.c
    src/dinoex_ruby.c
    src/dinoex_ssl.c
    src/dinoex_telnet.c
    src/dinoex_transfer.c
    src/dinoex_upload.c
    src/dinoex_user.c
    src/dinoex_utilities.c
    src/iroffer_admin.c
    src/iroffer_dccchat.c
    src/iroffer_display.c
    src/iroffer_main.c
    src/iroffer_misc.c
    src/iroffer_statefile.c
    src/iroffer_transfer.c
    src/iroffer_upload.c
    src/iroffer_utilities.c
Used in:   src/dinoex_config.c
  a_acceptu() src/dinoex_admin.c
  a_access_fstat() src/dinoex_admin.c
  a_add2() src/dinoex_admin.c
  a_adddir_sub() src/dinoex_admin.c
  a_addgroup() src/dinoex_admin.c
  a_amsg() src/dinoex_admin.c
  a_announce_msg() src/dinoex_admin.c
  a_autoaddann() src/dinoex_admin.c
  a_autocancel() src/dinoex_admin.c
  a_autogroup() src/dinoex_admin.c
  a_backgroud() src/dinoex_admin.c
  a_bann_hostmask() src/dinoex_admin.c
  a_bannnick() src/dinoex_admin.c
  a_cancel_transfers() src/dinoex_admin.c
  a_chcolor() src/dinoex_admin.c
  a_chdesc() src/dinoex_admin.c
  a_chfile() src/dinoex_admin.c
  a_chgets() src/dinoex_admin.c
  a_chlimit() src/dinoex_admin.c
  a_chlimitinfo() src/dinoex_admin.c
  a_chmaxs() src/dinoex_admin.c
  a_chmins() src/dinoex_admin.c
  a_chnote() src/dinoex_admin.c
  a_chtime() src/dinoex_admin.c
  a_chtrigger() src/dinoex_admin.c
  a_cleargets() src/dinoex_admin.c
  a_close() src/dinoex_admin.c
  a_closec() src/dinoex_admin.c
  a_closeu() src/dinoex_admin.c
  a_config() src/dinoex_admin.c
  a_crc() src/dinoex_admin.c
  a_deltrigger() src/dinoex_admin.c
  a_fileremove() src/dinoex_admin.c
  a_fillwith_plist() src/dinoex_jobs.c
  a_find() src/dinoex_admin.c
  a_get() src/dinoex_admin.c
  a_getl() src/dinoex_admin.c
  a_group() src/dinoex_admin.c
  a_holdqueue() src/dinoex_admin.c
  a_hop() src/dinoex_admin.c
  a_identify() src/dinoex_admin.c
  a_ignore() src/dinoex_admin.c
  a_iqsend() src/dinoex_admin.c
  a_iqueue_group() src/dinoex_admin.c
  a_iqueue_sub() src/dinoex_admin.c
  a_join() src/dinoex_admin.c
  a_lag() src/dinoex_admin.c
  a_lag_net() src/dinoex_admin.c
  a_lock() src/dinoex_admin.c
  a_lockgroup() src/dinoex_admin.c
  a_md5() src/dinoex_admin.c
  a_mesg() src/dinoex_admin.c
  a_mesq() src/dinoex_admin.c
  a_movefile() src/dinoex_admin.c
  a_movegroup() src/dinoex_admin.c
  a_movegroupdir() src/dinoex_admin.c
  a_msg() src/dinoex_admin.c
  a_msgnet() src/dinoex_admin.c
  a_new_announce() src/dinoex_admin.c
  a_newann() src/dinoex_admin.c
  a_newdir() src/dinoex_admin.c
  a_newgroup() src/dinoex_admin.c
  a_newgroup_sub() src/dinoex_admin.c
  a_noannounce() src/dinoex_admin.c
  a_noautoadd() src/dinoex_admin.c
  a_nochannel() src/dinoex_admin.c
  a_nolist() src/dinoex_admin.c
  a_nomd5() src/dinoex_admin.c
  a_nosave() src/dinoex_admin.c
  a_nosend() src/dinoex_admin.c
  a_offline() src/dinoex_admin.c
  a_offline_net() src/dinoex_admin.c
  a_oldest_xdcc() src/dinoex_admin.c
  a_online() src/dinoex_admin.c
  a_open_dir() src/dinoex_admin.c
  a_open_file() src/dinoex_admin.c
  a_part() src/dinoex_admin.c
  a_print() src/dinoex_admin.c
  a_qsend() src/dinoex_admin.c
  a_qsend_queue() src/dinoex_admin.c
  a_queue() src/dinoex_admin.c
  a_queue_found() src/dinoex_admin.c
  a_queuesize() src/dinoex_admin.c
  a_qul() src/dinoex_admin.c
  a_qul2() src/dinoex_admin.c
  a_raw() src/dinoex_admin.c
  a_rawnet() src/dinoex_admin.c
  a_read_config_files() src/dinoex_jobs.c
  a_regroup() src/dinoex_admin.c
  a_rehash_channels() src/dinoex_jobs.c
  a_rehash_cleanup() src/dinoex_jobs.c
  a_rehash_jump() src/dinoex_jobs.c
  a_rehash_needtojump() src/dinoex_jobs.c
  a_rehash_prepare() src/dinoex_jobs.c
  a_reiqueue() src/dinoex_admin.c
  a_relock() src/dinoex_admin.c
  a_remove() src/dinoex_admin.c
  a_remove_delayed() src/dinoex_admin.c
  a_remove_pack2() src/dinoex_admin.c
  a_removedir_sub() src/dinoex_admin.c
  a_removegroup() src/dinoex_admin.c
  a_removelost() src/dinoex_admin.c
  a_renumber1() src/dinoex_admin.c
  a_requeue() src/dinoex_admin.c
  a_respond() src/dinoex_admin.c
  a_restart() src/dinoex_admin.c
  a_rmallq() src/dinoex_admin.c
  a_rmiq() src/dinoex_admin.c
  a_rmq() src/dinoex_admin.c
  a_rmq2() src/dinoex_admin.c
  a_rmq3() src/dinoex_admin.c
  a_sannounce() src/dinoex_admin.c
  a_send() src/dinoex_admin.c
  a_servqc() src/dinoex_admin.c
  a_servqc2() src/dinoex_admin.c
  a_slotsmax() src/dinoex_admin.c
  a_sort() src/dinoex_admin.c
  a_sort_insert() src/dinoex_admin.c
  a_sort_type() src/dinoex_admin.c
  a_unlock() src/dinoex_admin.c
  a_unlockgroup() src/dinoex_admin.c
  a_xdl() src/dinoex_admin.c
  a_xdl_foot() src/dinoex_admin.c
  a_xdl_full() src/dinoex_admin.c
  a_xdl_group() src/dinoex_admin.c
  a_xdl_left() src/dinoex_admin.c
  a_xdl_pack() src/dinoex_admin.c
  a_xdl_space() src/dinoex_admin.c
  a_xdlock() src/dinoex_admin.c
  a_xdtrigger() src/dinoex_admin.c
  add_config_file() src/dinoex_main.c
  add_default_groupdesc() src/dinoex_admin.c
  add_msg_statefile() src/dinoex_user.c
  add_new_transfer_time() src/dinoex_misc.c
  add_newest_xdcc() src/dinoex_misc.c
  add_password() src/dinoex_main.c
  addtoidlequeue() src/dinoex_queue.c
  addtomainqueue() src/dinoex_queue.c
  addtomemberlist() src/iroffer_utilities.c
  admin_jobs() src/dinoex_jobs.c
  admin_run() src/dinoex_jobs.c
  auto_rehash() src/dinoex_misc.c
  autoadd_all() src/dinoex_jobs.c
  autoadd_scan() src/dinoex_jobs.c
  autoqueuef() src/dinoex_user.c
  autotrigger_add() src/dinoex_jobs.c
  autotrigger_rebuild() src/dinoex_jobs.c
  backup_statefile() src/dinoex_jobs.c
  botonly_parse() src/dinoex_user.c
  c_auth_name() src/dinoex_config.c
  c_autoadd_group_match() src/dinoex_config.c
  c_autosendpack() src/dinoex_config.c
  c_channel() src/dinoex_config.c
  c_channel_join_raw() src/dinoex_config.c
  c_connectionmethod() src/dinoex_config.c
  c_disk_quota() src/dinoex_config.c
  c_getip_network() src/dinoex_config.c
  c_group_admin() src/dinoex_config.c
  c_ignoreduplicateip() src/dinoex_config.c
  c_local_vhost() src/dinoex_config.c
  c_login_name() src/dinoex_config.c
  c_logrotate() src/dinoex_config.c
  c_mime_type() src/dinoex_config.c
  c_need_level() src/dinoex_config.c
  c_network() src/dinoex_config.c
  c_nickserv_pass() src/dinoex_config.c
  c_noannounce() src/dinoex_config.c
  c_offline() src/dinoex_config.c
  c_overallmaxspeeddaydays() src/dinoex_config.c
  c_overallmaxspeeddaytime() src/dinoex_config.c
  c_periodicmsg() src/dinoex_config.c
  c_plaintext() src/dinoex_config.c
  c_proxyinfo() src/dinoex_config.c
  c_respondtochannellist() src/dinoex_config.c
  c_respondtochannelxdcc() src/dinoex_config.c
  c_restrictlist() src/dinoex_config.c
  c_restrictsend() src/dinoex_config.c
  c_send_listfile() src/dinoex_config.c
  c_server() src/dinoex_config.c
  c_server_connect_timeout() src/dinoex_config.c
  c_server_connected_raw() src/dinoex_config.c
  c_server_join_raw() src/dinoex_config.c
  c_slotsmax() src/dinoex_config.c
  c_slow_privmsg() src/dinoex_config.c
  c_statefile() src/dinoex_config.c
  c_transferlimits() src/dinoex_config.c
  c_transfermaxspeed() src/dinoex_config.c
  c_transferminspeed() src/dinoex_config.c
  c_uploadmaxsize() src/dinoex_config.c
  c_uploadminspace() src/dinoex_config.c
  c_usenatip() src/dinoex_config.c
  c_user_modes() src/dinoex_config.c
  c_user_nick() src/dinoex_config.c
  cancel_md5_hash() src/dinoex_jobs.c
  changeinmemberlist_mode() src/iroffer_utilities.c
  changeinmemberlist_nick() src/iroffer_utilities.c
  chat_perform() src/dinoex_chat.c
  chat_select_fdset() src/dinoex_chat.c
  chat_writestatus() src/dinoex_chat.c
  check_fish_exclude() src/dinoex_jobs.c
  check_for_file_remove() src/dinoex_jobs.c
  check_geoip() src/dinoex_geoip.c
  check_geoip6() src/dinoex_geoip.c
  check_idle_queue() src/dinoex_queue.c
  check_ignore() src/dinoex_irc.c
  check_trigger() src/dinoex_user.c
  checktermsize() src/iroffer_display.c
  child_resolver() src/dinoex_irc.c
  cie_info_pack() src/dinoex_ruby.c
  cie_new() src/dinoex_ruby.c
  clean_uploadhost() src/dinoex_upload.c
  clearmemberlist() src/iroffer_utilities.c
  close_qupload() src/dinoex_jobs.c
  close_server() src/dinoex_ssl.c
  command_dcc() src/dinoex_user.c
  command_options() src/dinoex_main.c
  command_xdcc() src/dinoex_user.c
  complete_md5_hash() src/dinoex_jobs.c
  config_dinoex() src/dinoex_misc.c
  connectirc() src/iroffer_misc.c
  connectirc2() src/dinoex_irc.c
  count_badip4() src/dinoex_badip.c
  count_badip6() src/dinoex_badip.c
  crc32_final() src/dinoex_jobs.c
  crc32_init() src/dinoex_jobs.c
  crc32_update() src/dinoex_jobs.c
  create_transfer() src/dinoex_transfer.c
  d_autoadd_group_match() src/dinoex_config.c
  d_autosendpack() src/dinoex_config.c
  d_disk_quota() src/dinoex_config.c
  d_group_admin() src/dinoex_config.c
  d_logrotate() src/dinoex_config.c
  d_mime_type() src/dinoex_config.c
  d_overallmaxspeeddaydays() src/dinoex_config.c
  d_overallmaxspeeddaytime() src/dinoex_config.c
  d_periodicmsg() src/dinoex_config.c
  d_slotsmax() src/dinoex_config.c
  d_statefile() src/dinoex_config.c
  d_transferlimits() src/dinoex_config.c
  d_transfermaxspeed() src/dinoex_config.c
  d_transferminspeed() src/dinoex_config.c
  d_uploadmaxsize() src/dinoex_config.c
  d_uploadminspace() src/dinoex_config.c
  dcc_host_password() src/dinoex_chat.c
  debug_memory() src/dinoex_main.c
  delayed_announce() src/dinoex_jobs.c
  dinoex_dcld() src/dinoex_curl.c
  disabled_config() src/dinoex_admin.c
  disk_full() src/dinoex_misc.c
  do_atfind() src/dinoex_user.c
  does_tr_id_exist() src/iroffer_utilities.c
  drawbot() src/iroffer_display.c
  dump_config_bool3() src/dinoex_config.c
  dump_config_fdump() src/dinoex_config.c
  dump_config_float2() src/dinoex_config.c
  dump_config_int() src/dinoex_config.c
  dump_config_int3() src/dinoex_config.c
  dump_config_list() src/dinoex_config.c
  dump_config_long2() src/dinoex_config.c
  dump_config_string3() src/dinoex_config.c
  dump_slow_context() src/dinoex_misc.c
  dumpcontext() src/iroffer_utilities.c
  dumpgdata() src/iroffer_utilities.c
  event_close() src/dinoex_kqueue.c
  exit_iroffer() src/dinoex_main.c
  expire_badip4() src/dinoex_badip.c
  expire_badip6() src/dinoex_badip.c
  expire_logfiles() src/dinoex_jobs.c
  fetch_perform() src/dinoex_curl.c
  file_uploading() src/dinoex_upload.c
  find_fish_key() src/dinoex_jobs.c
  find_groupdesc() src/dinoex_jobs.c
  find_in_idle_queue() src/dinoex_queue.c
  find_pack_crc() src/dinoex_misc.c
  floodchk() src/iroffer_misc.c
  fnmatch_xdcc() src/dinoex_misc.c
  free_config() src/dinoex_main.c
  free_delayed() src/dinoex_misc.c
  free_state() src/dinoex_main.c
  geoip_new_connection() src/dinoex_geoip.c
  get_config_nick() src/dinoex_irc.c
  get_console_nick() src/iroffer_display.c
  get_current_bandwidth() src/dinoex_misc.c
  get_download_pack() src/dinoex_user.c
  get_ignore() src/dinoex_irc.c
  get_level() src/dinoex_misc.c
  get_listmsg_channel() src/dinoex_user.c
  get_local_vhost() src/dinoex_irc.c
  get_network() src/dinoex_admin.c
  get_next_tr_id() src/iroffer_utilities.c
  get_nickserv_pass() src/dinoex_misc.c
  get_pack_nr() src/dinoex_admin.c
  get_respondtochannellist() src/dinoex_user.c
  get_respondtochannelxdcc() src/dinoex_user.c
  get_restrictlist() src/dinoex_user.c
  get_restrictsend() src/dinoex_misc.c
  get_toffered() src/dinoex_config.c
  get_uploaddir() src/dinoex_upload.c
  get_user_modes() src/dinoex_misc.c
  get_user_nick() src/dinoex_irc.c
  get_voice() src/dinoex_misc.c
  get_weekdays() src/dinoex_config.c
  get_xdcc_pack() src/dinoex_misc.c
  getconfig() src/iroffer_misc.c
  getdatestr() src/iroffer_utilities.c
  getos() src/iroffer_utilities.c
  getsendname() src/iroffer_misc.c
  getstatusline() src/iroffer_misc.c
  getstatuslinenums() src/iroffer_misc.c
  getuptime() src/iroffer_utilities.c
  global_defaults() src/dinoex_misc.c
  gobackground() src/iroffer_misc.c
  gotobot() src/iroffer_display.c
  gototop() src/iroffer_display.c
  guess_end_transfers() src/dinoex_misc.c
  h_accept() src/dinoex_http.c
  h_access_log() src/dinoex_http.c
  h_admin() src/dinoex_http.c
  h_admin_auth() src/dinoex_http.c
  h_bad_request() src/dinoex_http.c
  h_bandwith() src/dinoex_http.c
  h_closeconn() src/dinoex_http.c
  h_guess_weblist() src/dinoex_http.c
  h_herror_403() src/dinoex_http.c
  h_html_file() src/dinoex_http.c
  h_html_index() src/dinoex_http.c
  h_html_main() src/dinoex_http.c
  h_html_search() src/dinoex_http.c
  h_html_weblist_info() src/dinoex_http.c
  h_include() src/dinoex_http.c
  h_istimeout() src/dinoex_http.c
  h_open_listen() src/dinoex_http.c
  h_parse() src/dinoex_http.c
  h_perform() src/dinoex_http.c
  h_read_http() src/dinoex_http.c
  h_readbuffer() src/dinoex_http.c
  h_readfile() src/dinoex_http.c
  h_reash_listen() src/dinoex_http.c
  h_select_fdset() src/dinoex_http.c
  h_send() src/dinoex_http.c
  h_setup_listen() src/dinoex_http.c
  h_start_sending() src/dinoex_http.c
  h_write_header() src/dinoex_http.c
  h_write_status() src/dinoex_http.c
  has_closed_servers() src/dinoex_irc.c
  hide_locked() src/dinoex_admin.c
  hide_pack() src/dinoex_misc.c
  html_mime() src/dinoex_http.c
  http_check_country() src/dinoex_geoip.c
  http_check_geoip() src/dinoex_geoip.c
  http_check_geoip6() src/dinoex_geoip.c
  identify_needed() src/dinoex_irc.c
  import_pack() src/dinoex_jobs.c
  import_xdccfile() src/dinoex_jobs.c
  init_xdcc_file() src/dinoex_misc.c
  initirc() src/iroffer_misc.c
  initscreen() src/iroffer_display.c
  initvars() src/iroffer_misc.c
  invalid_pack() src/dinoex_admin.c
  invalid_upload() src/dinoex_upload.c
  ir_bind_listen_socket() src/iroffer_utilities.c
  ir_kqueue_select() src/dinoex_kqueue.c
  ir_kqueue_update() src/dinoex_kqueue.c
  ir_listen_port_connected() src/iroffer_utilities.c
  ir_listen_port_is_in_list() src/iroffer_utilities.c
  ir_parseline() src/dinoex_irc.c
  ir_parseline2() src/dinoex_irc.c
  ir_setsockopt() src/dinoex_irc.c
  ir_setsockopt2() src/dinoex_irc.c
  irc_001() src/dinoex_irc.c
  irc_open_listen() src/dinoex_irc.c
  irc_perform() src/dinoex_irc.c
  irc_resolved() src/dinoex_irc.c
  irc_select() src/dinoex_irc.c
  irc_server_is_timeout() src/dinoex_irc.c
  irlist_add_delayed() src/dinoex_admin.c
  iroffer_signal_handler() src/iroffer_misc.c
  is_in_badip4() src/dinoex_badip.c
  is_in_badip6() src/dinoex_badip.c
  isinmemberlist() src/iroffer_utilities.c
  isrotatelog() src/iroffer_misc.c
  joinchannel() src/iroffer_misc.c
  l_closeconn() src/iroffer_upload.c
  l_initvalues() src/iroffer_upload.c
  l_istimeout() src/iroffer_upload.c
  l_perform() src/dinoex_upload.c
  l_select_fdset() src/dinoex_upload.c
  l_setup_accept() src/dinoex_upload.c
  l_setup_passive() src/dinoex_upload.c
  l_transfersome() src/iroffer_upload.c
  lag_message() src/dinoex_jobs.c
  logstat() src/iroffer_misc.c
  look_for_file_changes() src/iroffer_misc.c
  look_for_file_remove() src/dinoex_jobs.c
  lost_nick() src/dinoex_user.c
  mainloop() src/iroffer_main.c
  max_minutes_waits() src/dinoex_utilities.c
  meminfo_grow() src/iroffer_utilities.c
  msg_host_password() src/dinoex_user.c
  my_dcc_ip_show() src/dinoex_irc.c
  mydelete2() src/iroffer_utilities.c
  mylog() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  new_logfilename() src/dinoex_jobs.c
  noticeresults() src/dinoex_user.c
  notifybandwidth() src/iroffer_misc.c
  notifybandwidthtrans() src/iroffer_misc.c
  notifyqueued() src/dinoex_misc.c
  notifyqueued_nick() src/dinoex_misc.c
  notifyqueued_queue() src/dinoex_misc.c
  number_of_pack() src/dinoex_misc.c
  open_listen() src/dinoex_irc.c
  outerror() src/iroffer_utilities.c
  p_bandmax() src/dinoex_config.c
  p_disk_quota() src/dinoex_config.c
  p_idlequeueused() src/dinoex_config.c
  p_ignoreduplicateip() src/dinoex_config.c
  p_logrotate() src/dinoex_config.c
  p_mainqueueused() src/dinoex_config.c
  p_need_level() src/dinoex_config.c
  p_packsum() src/dinoex_config.c
  p_send_listfile() src/dinoex_config.c
  p_slotsmax() src/dinoex_config.c
  p_slotsused() src/dinoex_config.c
  p_statefile() src/dinoex_config.c
  p_totaluptime() src/dinoex_config.c
  p_transfereddaily() src/dinoex_config.c
  p_transferedmonthly() src/dinoex_config.c
  p_transferedtotal() src/dinoex_config.c
  p_transferedtotalbytes() src/dinoex_config.c
  p_transferedweekly() src/dinoex_config.c
  p_uploadmaxsize() src/dinoex_config.c
  p_uploadminspace() src/dinoex_config.c
  p_uptime() src/dinoex_config.c
  packnumtonum() src/dinoex_misc.c
  parse_xdcc_list() src/dinoex_user.c
  parseconsole() src/iroffer_display.c
  parsedccchat() src/iroffer_dccchat.c
  privmsg_decrypt() src/dinoex_jobs.c
  privmsgparse() src/dinoex_user.c
  privmsgparse2() src/dinoex_user.c
  queue_all_remove() src/dinoex_queue.c
  queue_host_remove() src/dinoex_admin.c
  queue_nick_remove() src/dinoex_admin.c
  queue_pack_limit() src/dinoex_queue.c
  queue_pack_remove() src/dinoex_queue.c
  queue_punish_abuse() src/dinoex_queue.c
  queue_punish_user() src/dinoex_queue.c
  queue_reverify_restrictsend() src/dinoex_queue.c
  queue_xdcc_remove() src/dinoex_queue.c
  read_statefile() src/iroffer_statefile.c
  read_statefile_float() src/iroffer_statefile.c
  read_statefile_llint() src/iroffer_statefile.c
  read_statefile_queue() src/iroffer_statefile.c
  read_statefile_time() src/iroffer_statefile.c
  rehash_myruby() src/dinoex_ruby.c
  removefrommemberlist() src/iroffer_utilities.c
  removenonprintablefile() src/dinoex_utilities.c
  reorder_groupdesc() src/dinoex_admin.c
  reorder_new_groupdesc() src/dinoex_admin.c
  requeue() src/dinoex_queue.c
  reset_config_func() src/dinoex_config.c
  reset_download_limits() src/dinoex_jobs.c
  restrictprivlistmsg() src/dinoex_user.c
  reverify_restrictsend() src/iroffer_misc.c
  run_delayed_jobs() src/dinoex_jobs.c
  run_new_trigger() src/dinoex_user.c
  save_unlink() src/dinoex_jobs.c
  select_dump() src/iroffer_main.c
  select_starting_transfer() src/dinoex_transfer.c
  send_batch_group() src/dinoex_user.c
  send_cancel() src/dinoex_user.c
  send_from_queue() src/dinoex_queue.c
  send_help() src/dinoex_user.c
  send_owner() src/dinoex_user.c
  send_periodicmsg() src/dinoex_jobs.c
  send_remove() src/dinoex_user.c
  send_xdcc_file2() src/dinoex_user.c
  send_xdcc_info() src/dinoex_user.c
  sendannounce() src/dinoex_jobs.c
  sendserver() src/iroffer_misc.c
  sendxdlqueue() src/iroffer_misc.c
  set_default_network_name() src/dinoex_config.c
  set_loginname() src/iroffer_utilities.c
  set_support_groups() src/dinoex_misc.c
  setup_chat_banner() src/iroffer_dccchat.c
  setupdccchat() src/iroffer_dccchat.c
  setupdccchataccept() src/iroffer_dccchat.c
  setupdccchatconnected() src/iroffer_dccchat.c
  setupdccchatout() src/iroffer_dccchat.c
  shutdowndccchat() src/iroffer_dccchat.c
  shutdowniroffer() src/iroffer_misc.c
  slotsfree() src/dinoex_misc.c
  start_fetch_url() src/dinoex_curl.c
  start_main_queue() src/dinoex_queue.c
  start_md5_hash() src/dinoex_jobs.c
  start_one_send() src/dinoex_queue.c
  start_qupload() src/dinoex_jobs.c
  start_sends() src/dinoex_queue.c
  startup_dinoex() src/dinoex_misc.c
  startup_myruby() src/dinoex_ruby.c
  startupiroffer() src/iroffer_misc.c
  t_check_duplicateip() src/dinoex_transfer.c
  t_check_ip_access() src/dinoex_transfer.c
  t_checkminspeed() src/iroffer_transfer.c
  t_closeconn() src/iroffer_transfer.c
  t_connected() src/dinoex_transfer.c
  t_find_debug() src/dinoex_transfer.c
  t_find_resume() src/dinoex_transfer.c
  t_find_transfer() src/dinoex_transfer.c
  t_flushed() src/iroffer_transfer.c
  t_initvalues() src/iroffer_transfer.c
  t_istimeout() src/iroffer_transfer.c
  t_notice_transfer() src/dinoex_transfer.c
  t_passive() src/dinoex_transfer.c
  t_perform() src/dinoex_transfer.c
  t_readjunk() src/iroffer_transfer.c
  t_remind() src/iroffer_transfer.c
  t_select_fdset() src/dinoex_transfer.c
  t_setup_dcc() src/dinoex_transfer.c
  t_setup_send() src/iroffer_transfer.c
  t_start_dcc_send() src/dinoex_transfer.c
  t_transfersome() src/iroffer_transfer.c
  t_unlmited2() src/dinoex_transfer.c
  telnet_accept() src/dinoex_telnet.c
  telnet_open_listen() src/dinoex_telnet.c
  telnet_perform() src/dinoex_telnet.c
  telnet_reash_listen() src/dinoex_telnet.c
  telnet_select_fdset() src/dinoex_telnet.c
  telnet_setup_listen() src/dinoex_telnet.c
  tostdout_disable_buffering() src/iroffer_display.c
  tostdout_write() src/iroffer_display.c
  transfer_limit_exceeded_msg() src/dinoex_misc.c
  u_botinfo() src/iroffer_admin.c
  u_chanl() src/iroffer_admin.c
  u_chatl() src/iroffer_admin.c
  u_clearrecords() src/iroffer_admin.c
  u_dcl() src/iroffer_admin.c
  u_dcld() src/iroffer_admin.c
  u_debug() src/iroffer_admin.c
  u_delhist() src/iroffer_admin.c
  u_expand_args() src/iroffer_admin.c
  u_expand_command() src/iroffer_admin.c
  u_expand_command2() src/iroffer_admin.c
  u_help() src/iroffer_admin.c
  u_ignl() src/iroffer_admin.c
  u_jump() src/iroffer_admin.c
  u_memstat() src/iroffer_admin.c
  u_msgdel() src/iroffer_admin.c
  u_msgread() src/iroffer_admin.c
  u_parseit() src/iroffer_admin.c
  u_psend() src/iroffer_admin.c
  u_rehash() src/iroffer_admin.c
  u_runcmd() src/iroffer_admin.c
  u_servers() src/iroffer_admin.c
  u_shutdown() src/iroffer_admin.c
  u_trinfo() src/iroffer_admin.c
  u_unignore() src/iroffer_admin.c
  u_xdl_head() src/iroffer_admin.c
  uninitscreen() src/iroffer_display.c
  update_getip_net() src/dinoex_irc.c
  update_hour_dinoex() src/dinoex_misc.c
  update_natip() src/dinoex_irc.c
  update_server_welcome() src/dinoex_irc.c
  updatecontext_f() src/iroffer_utilities.c
  upload_start() src/dinoex_upload.c
  user_changed_nick() src/iroffer_misc.c
  user_getdatestr() src/dinoex_utilities.c
  validate_crc32() src/dinoex_jobs.c
  verify_acknowlede() src/dinoex_transfer.c
  verify_uploadhost() src/dinoex_upload.c
  verifyhost_group() src/dinoex_user.c
  verifypass_group() src/dinoex_misc.c
  verifyupload_group() src/dinoex_upload.c
  vioutput() src/iroffer_utilities.c
  voutput_fd() src/dinoex_admin.c
  vprivmsg_chan() src/dinoex_jobs.c
  vtostdout() src/iroffer_display.c
  vwritedccchat() src/iroffer_dccchat.c
  vwriteserver() src/iroffer_misc.c
  vwriteserver_channel() src/dinoex_jobs.c
  write_files() src/dinoex_jobs.c
  write_removed_xdcc() src/dinoex_jobs.c
  write_statefile() src/iroffer_statefile.c
  write_statefile_dinoex() src/iroffer_statefile.c
  write_statefile_globals() src/iroffer_statefile.c
  write_statefile_ignore() src/iroffer_statefile.c
  write_statefile_msglog() src/iroffer_statefile.c
  write_statefile_xdccs() src/iroffer_statefile.c
  writeserver_notice() src/dinoex_jobs.c
  writeserver_privmsg() src/dinoex_jobs.c
  xdcc_save_xml() src/dinoex_jobs.c
  xdccsavetext() src/iroffer_misc.c

Local Variables

ir_basename
static const char* ir_basename
Used in: command_options()  
  usage()  

Global Function add_password()

add the adminpassword to the configfile

int add_password ( const char* hash )

Prototyped in: src/dinoex_main.h
Calls: mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  open_append() src/dinoex_utilities.c
  close(), snprintf(), write()
Called by: createpassword() src/iroffer_misc.c
References Variables: gdata src/dinoex_main.c

Global Function check_osname()

report and check operation system name

void check_osname ( const char* sysname )

Prototyped in: src/dinoex_main.h
Calls: outerror_sysname() src/dinoex_main.c
Called by: getos() src/iroffer_utilities.c

Global Function command_options()

parse command line options

void command_options ( int argc, char* const* argv )

Prototyped in: src/dinoex_main.h
Calls: add_config_file() src/dinoex_main.c
  createpassword() src/iroffer_misc.c
  getfilename() src/dinoex_utilities.c
  usage() src/dinoex_main.c
  exit(), fprintf(), printf()
Called by: main() src/iroffer_main.c
References Variables: gdata src/dinoex_main.c
  ir_basename src/dinoex_main.c

Global Function exit_iroffer()

cleanup all stuff before exit or restart

void exit_iroffer ( unsigned int gotsignal )

Prototyped in: src/dinoex_main.h
Calls: debug_memory() src/dinoex_main.c
  ir_kqueue_exit() src/dinoex_kqueue.c
  shutdown_dinoex() src/dinoex_misc.c
  tostdout_disable_buffering() src/iroffer_display.c
  uninitscreen() src/iroffer_display.c
  updatecontext_f() src/iroffer_utilities.c
  execvp(), exit(), unlink()
Called by: iroffer_signal_handler() src/iroffer_misc.c
  mainloop() src/iroffer_main.c
  shutdowniroffer() src/iroffer_misc.c
References Variables: gdata src/dinoex_main.c

Local Function add_config_file()

static unsigned int add_config_file ( unsigned int fc, const char* cptr )
Calls: convert_to_unix_slash() src/iroffer_utilities.c
  mystrdup2() src/dinoex_utilities.c
  usage() src/dinoex_main.c
Called by: command_options() src/dinoex_main.c
References Variables: gdata src/dinoex_main.c

Local Function debug_memory()

static void debug_memory ( void )
Calls: config_reset() src/dinoex_config.c
  free_config() src/dinoex_main.c
  free_state() src/dinoex_main.c
  hexdump() src/dinoex_misc.c
  outerror() src/iroffer_utilities.c
  free(), signal()
Called by: exit_iroffer() src/dinoex_main.c
References Variables: gdata src/dinoex_main.c

Local Function free_config()

static void free_config ( void )
Calls: mydelete2() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
Called by: debug_memory() src/dinoex_main.c
References Variables: gdata src/dinoex_main.c

Local Function free_state()

static void free_state ( void )
Calls: clearmemberlist() src/iroffer_utilities.c
  free_channel_data() src/dinoex_misc.c
  free_delayed() src/dinoex_misc.c
  irlist_delete() src/iroffer_utilities.c
  irlist_delete_all() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  mydelete2() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
Called by: debug_memory() src/dinoex_main.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c
  xdcc_listfile src/dinoex_misc.c
  xdcc_statefile src/dinoex_misc.c

Local Function outerror_sysname()

static void outerror_sysname ( const char* configured, const char* sysname )
Calls: outerror() src/iroffer_utilities.c
  printf(), strcmp()
Called by: check_osname() src/dinoex_main.c

Local Function usage()

tell the admin what options we support on the commandline

static void usage ( void )

Calls: exit(), printf()
Called by: add_config_file() src/dinoex_main.c
  command_options() src/dinoex_main.c
References Variables: ir_basename src/dinoex_main.c