File src/iroffer_display.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_display.c 1.48@(#) * pmg@wellington.i202.centerclick.org|src/iroffer_display.c|20050116225130|34559 *


Included Files

include the headers


Preprocessor definitions

#define _LONGLONG 1

Global Function checktermsize()

void checktermsize ( void )
Prototyped in: src/iroffer_headers.h
Calls: gotobot() src/iroffer_display.c
  gototop() src/iroffer_display.c
  initscreen() src/iroffer_display.c
  tostdout() src/iroffer_display.c
  updatecontext_f() src/iroffer_utilities.c
  ioctl()
Called by: mainloop() src/iroffer_main.c
References Variables: gdata src/dinoex_main.c

Global Function drawbot()

void drawbot ( void )
Prototyped in: src/iroffer_headers.h
Calls: get_console_nick() src/iroffer_display.c
  tostdout() src/iroffer_display.c
  strlen()
Called by: initscreen() src/iroffer_display.c
  mainloop() src/iroffer_main.c
  parseconsole() src/iroffer_display.c
  startupiroffer() src/iroffer_misc.c
References Variables: gdata src/dinoex_main.c

Global Function gotobot()

void gotobot ( void )
Prototyped in: src/iroffer_headers.h
Calls: get_console_nick() src/iroffer_display.c
  tostdout() src/iroffer_display.c
  strlen()
Called by: checktermsize() src/iroffer_display.c
  mainloop() src/iroffer_main.c
  startupiroffer() src/iroffer_misc.c
  u_redraw() src/iroffer_admin.c
References Variables: gdata src/dinoex_main.c

Global Function gototop()

void gototop ( void )
Prototyped in: src/iroffer_headers.h
Calls: tostdout() src/iroffer_display.c
Called by: checktermsize() src/iroffer_display.c
  getconfig() src/iroffer_misc.c
  mainloop() src/iroffer_main.c
  parseconsole() src/iroffer_display.c
  sendserver() src/iroffer_misc.c
  startupiroffer() src/iroffer_misc.c
  vioutput() src/iroffer_utilities.c
References Variables: gdata src/dinoex_main.c

Global Function initscreen()

void initscreen ( int startup, int clear )
Prototyped in: src/iroffer_headers.h
Calls: drawbot() src/iroffer_display.c
  getstatusline() src/iroffer_misc.c
  mydelete2() src/iroffer_utilities.c
  mymalloc2() src/iroffer_utilities.c
  outerror() src/iroffer_utilities.c
  tostdout() src/iroffer_display.c
  updatecontext_f() src/iroffer_utilities.c
  __error(), ioctl(), isatty(), strerror(), tcgetattr(), tcsetattr()
Called by: checktermsize() src/iroffer_display.c
  startupiroffer() src/iroffer_misc.c
  u_redraw() src/iroffer_admin.c
References Functions: fileno()
References Variables: gdata src/dinoex_main.c

Global Function parseconsole()

void parseconsole ( void )
Prototyped in: src/iroffer_headers.h
Calls: drawbot() src/iroffer_display.c
  gototop() src/iroffer_display.c
  irlist_add2() src/iroffer_utilities.c
  irlist_delete() src/iroffer_utilities.c
  irlist_get_head() src/iroffer_utilities.c
  irlist_get_nth() src/iroffer_utilities.c
  irlist_get_tail() src/iroffer_utilities.c
  irlist_size() src/iroffer_utilities.c
  is_fd_readable() src/iroffer_utilities.c
  isprintable() src/dinoex_utilities.c
  outerror() src/iroffer_utilities.c
  u_expand_command() src/iroffer_admin.c
  u_fillwith_console() src/iroffer_admin.c
  u_parseit() src/iroffer_admin.c
  updatecontext_f() src/iroffer_utilities.c
  __error(), atoi(), bzero(), memset(), read(), strcmp(), strerror(), strlen(), strncpy()
Called by: mainloop() src/iroffer_main.c
References Functions: fileno()
References Variables: gdata src/dinoex_main.c

Global Function tostdout()

void tostdout ( const char* format, ... )
Prototyped in: src/iroffer_headers.h
Calls: vtostdout() src/iroffer_display.c
  __builtin_va_end(), __builtin_va_start()
Called by: checktermsize() src/iroffer_display.c
  config_expand() src/dinoex_config.c
  config_expand_list_typ() src/dinoex_config.c
  drawbot() src/iroffer_display.c
  gotobot() src/iroffer_display.c
  gototop() src/iroffer_display.c
  initscreen() src/iroffer_display.c
  mainloop() src/iroffer_main.c
  u_expand_command2() src/iroffer_admin.c
  u_expand_help() src/iroffer_admin.c
  u_expand_list() src/iroffer_admin.c
  vioutput() src/iroffer_utilities.c

Global Function tostdout_disable_buffering()

void tostdout_disable_buffering ( void )
Prototyped in: src/iroffer_headers.h
Calls: ir_boutput_delete() src/iroffer_utilities.c
  set_socket_nonblocking() src/iroffer_utilities.c
  tostdout_write() src/iroffer_display.c
Called by: a_backgroud() src/dinoex_admin.c
  exit_iroffer() src/dinoex_main.c
  iroffer_signal_handler() src/iroffer_misc.c
  outerror() src/iroffer_utilities.c
References Functions: fileno()
References Variables: gdata src/dinoex_main.c

Global Function tostdout_write()

void tostdout_write ( void )
Prototyped in: src/iroffer_headers.h
Calls: ir_boutput_attempt_flush() src/iroffer_utilities.c
  fflush()
Called by: init_upnp() src/upnp.c
  mainloop() src/iroffer_main.c
  tostdout_disable_buffering() src/iroffer_display.c
References Variables: gdata src/dinoex_main.c

Global Function uninitscreen()

void uninitscreen ( void )
Prototyped in: src/iroffer_headers.h
Calls: printf(), tcsetattr()
Called by: a_backgroud() src/dinoex_admin.c
  exit_iroffer() src/dinoex_main.c
  iroffer_signal_handler() src/iroffer_misc.c
  outerror() src/iroffer_utilities.c
References Functions: fileno()
References Variables: gdata src/dinoex_main.c

Local Function get_console_nick()

static const char* get_console_nick ( void )
Called by: drawbot() src/iroffer_display.c
  gotobot() src/iroffer_display.c
References Variables: gdata src/dinoex_main.c

Local Function vtostdout()

static void vtostdout ( const char* format, va_list ap )
Calls: ir_boutput_write() src/iroffer_utilities.c
  fflush(), vprintf(), vsnprintf()
Called by: tostdout() src/iroffer_display.c
References Variables: gdata src/dinoex_main.c