File src/iroffer_main.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_main.c 1.245@(#) * pmg@wellington.i202.centerclick.org|src/iroffer_main.c|20050313225819|23935 *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

Global Function main()

main

int main ( int argc, char* const* argv )

Calls: command_options() src/dinoex_main.c
  initvars() src/iroffer_misc.c
  ir_kqueue_init() src/dinoex_kqueue.c
  mainloop() src/iroffer_main.c
  startupiroffer() src/iroffer_misc.c

Local Function mainloop()

static void mainloop ( void )
Prototyped in: src/iroffer_main.c
Calls: MD5Update() src/plumb_md5.c
  a_fillwith_msg2() src/dinoex_jobs.c
  a_fillwith_plist() src/dinoex_jobs.c
  admin_jobs() src/dinoex_jobs.c
  auto_rehash() src/dinoex_misc.c
  autoadd_all() src/dinoex_jobs.c
  chat_perform() src/dinoex_chat.c
  chat_select_fdset() src/dinoex_chat.c
  chat_writestatus() src/dinoex_chat.c
  check_idle_queue() src/dinoex_queue.c
  checktermsize() src/iroffer_display.c
  clean_uploadhost() src/dinoex_upload.c
  close_server() src/dinoex_ssl.c
  complete_md5_hash() src/dinoex_jobs.c
  crc32_update() src/dinoex_jobs.c
  delayed_announce() src/dinoex_jobs.c
  drawbot() src/iroffer_display.c
  dump_slow_context() src/dinoex_misc.c
  dumpcontext() src/iroffer_utilities.c
  event_close() src/dinoex_kqueue.c
  exit_iroffer() src/dinoex_main.c
  expire_badip() src/dinoex_badip.c
  fetch_multi_fdset() src/dinoex_curl.c
  fetch_perform() src/dinoex_curl.c
  flushdccchat() src/iroffer_dccchat.c
  get_config_nick() src/dinoex_irc.c
  getstatusline() src/iroffer_misc.c
  gotobot() src/iroffer_display.c
  gototop() src/iroffer_display.c
  h_perform() src/dinoex_http.c
  h_select_fdset() src/dinoex_http.c
  has_closed_servers() src/dinoex_irc.c
  ioutput() src/iroffer_utilities.c
  ir_kqueue_select() src/dinoex_kqueue.c
  irc_perform() src/dinoex_irc.c
  irc_resolved() src/dinoex_irc.c
  irc_select() src/dinoex_irc.c
  irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_next() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  isrotatelog() src/iroffer_misc.c
  joinchannel() src/iroffer_misc.c
  l_perform() src/dinoex_upload.c
  l_select_fdset() src/dinoex_upload.c
  logstat() src/iroffer_misc.c
  look_for_file_remove() src/dinoex_jobs.c
  mydelete2() src/iroffer_utilities.c
  mylog() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  notifybandwidth() src/iroffer_misc.c
  notifybandwidthtrans() src/iroffer_misc.c
  notifyqueued() src/dinoex_misc.c
  number_of_pack() src/dinoex_misc.c
  outerror() src/iroffer_utilities.c
  parseconsole() src/iroffer_display.c
  pingserver() src/iroffer_misc.c
  queue_all_remove() src/dinoex_queue.c
  rehash_myruby() src/dinoex_ruby.c
  reset_download_limits() src/dinoex_jobs.c
  reverify_restrictsend() src/iroffer_misc.c
  run_delayed_jobs() src/dinoex_jobs.c
  select_dump() src/iroffer_main.c
  send_from_queue() src/dinoex_queue.c
  send_periodicmsg() src/dinoex_jobs.c
  sendserver() src/iroffer_misc.c
  sendxdlqueue() src/iroffer_misc.c
  shutdowndccchat() src/iroffer_dccchat.c
  shutdowniroffer() src/iroffer_misc.c
  start_md5_hash() src/dinoex_jobs.c
  t_checkminspeed() src/iroffer_transfer.c
  t_closeconn() src/iroffer_transfer.c
  t_perform() src/dinoex_transfer.c
  t_select_fdset() src/dinoex_transfer.c
  telnet_perform() src/dinoex_telnet.c
  telnet_select_fdset() src/dinoex_telnet.c
  timeval_to_ms() src/dinoex_utilities.c
  tostdout() src/iroffer_display.c
  tostdout_write() src/iroffer_display.c
  transfer_limit_exceeded_msg() src/dinoex_misc.c
  transferlimit_type_to_string() src/iroffer_utilities.c
  u_parseit() src/iroffer_admin.c
  update_hour_dinoex() src/dinoex_misc.c
  updatecontext_f() src/iroffer_utilities.c
  verifyshell() src/dinoex_utilities.c
  write_files() src/dinoex_jobs.c
  write_statefile() src/iroffer_statefile.c
  writedccchat() src/iroffer_dccchat.c
  writeserver() src/iroffer_misc.c
  writeserver_ssl() src/dinoex_ssl.c
  __assert(), __error(), close(), gettimeofday(), localtime(), mktime(), read(), snprintf(), strcmp(), strerror(), strlen(), strncat(), strncpy(), usleep()
Called by: main() src/iroffer_main.c
References Functions: fileno()
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Local Function select_dump()

static void select_dump ( const char* desc, int highests )
Calls: ioutput() src/iroffer_utilities.c
  snprintf()
Called by: mainloop() src/iroffer_main.c
References Variables: gdata src/dinoex_main.c