File src/iroffer_upload.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_upload.c 1.50@(#) * pmg@wellington.i202.centerclick.org|src/iroffer_upload.c|20050313183435|24505 *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

Global Function l_closeconn()

void l_closeconn ( upload* const l, const char* msg, int errno1 )
Prototyped in: src/iroffer_headers.h
Calls: event_close() src/dinoex_kqueue.c
  ioutput() src/iroffer_utilities.c
  ir_listen_port_connected() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  shutdown_close() src/dinoex_kqueue.c
  updatecontext_f() src/iroffer_utilities.c
  upnp_rem_redir() src/upnp.c
  close(), strerror()
Called by: a_closeu() src/dinoex_admin.c
  l_establishcon() src/iroffer_upload.c
  l_istimeout() src/iroffer_upload.c
  l_perform() src/dinoex_upload.c
  l_setup_accept() src/dinoex_upload.c
  l_setup_file() src/dinoex_upload.c
  l_setup_listen() src/dinoex_upload.c
  l_transfersome() src/iroffer_upload.c
  shutdowniroffer() src/iroffer_misc.c
References Variables: gdata src/dinoex_main.c
  gnetwork src/dinoex_main.c

Global Function l_establishcon()

void l_establishcon ( upload* const l )
Prototyped in: src/iroffer_headers.h
Calls: atoul() src/iroffer_utilities.c
  bind_irc_vhost() src/dinoex_irc.c
  getsendname() src/iroffer_misc.c
  ir_setsockopt() src/dinoex_irc.c
  l_closeconn() src/iroffer_upload.c
  l_setup_file() src/dinoex_upload.c
  mydelete2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  privmsg_fast() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  __bswap16(), __bswap32(), __error(), __inet_pton(), alarm(), bzero(), connect(), getsockname(), socket()
Called by: command_dcc() src/dinoex_user.c
  upload_start() src/dinoex_upload.c

Global Function l_initvalues()

void l_initvalues ( upload* const l )
Prototyped in: src/iroffer_headers.h
Calls: updatecontext_f() src/iroffer_utilities.c
Called by: upload_start() src/dinoex_upload.c
References Variables: gdata src/dinoex_main.c

Global Function l_istimeout()

void l_istimeout ( upload* const l )
Prototyped in: src/iroffer_headers.h
Calls: do_myruby_upload_done() src/dinoex_ruby.c
  ioutput() src/iroffer_utilities.c
  l_closeconn() src/iroffer_upload.c
  shutdown_close() src/dinoex_kqueue.c
  updatecontext_f() src/iroffer_utilities.c
  close()
Called by: l_perform() src/dinoex_upload.c
References Variables: gdata src/dinoex_main.c

Global Function l_transfersome()

void l_transfersome ( upload* const l )
Prototyped in: src/iroffer_headers.h
Calls: ioutput() src/iroffer_utilities.c
  is_fd_readable() src/iroffer_utilities.c
  is_fd_writeable() src/iroffer_utilities.c
  l_closeconn() src/iroffer_upload.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  notice() src/iroffer_utilities.c
  updatecontext_f() src/iroffer_utilities.c
  __bswap32(), __error(), recv(), send(), snprintf(), strlen(), time(), write()
Called by: l_perform() src/dinoex_upload.c
References Variables: gdata src/dinoex_main.c