home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / NCSATELN / TEL23SRC.ZIP / ENGINE / FAKEOUT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-27  |  855 b   |  44 lines

  1. /*
  2.  *     Part of NCSA telnet
  3.  *
  4.  *    These routines are needed by the utilitites other than telnet
  5.  *    to avoid unresolved references.  They may be expanded for
  6.  *     more funcionatity at a later date.
  7.  *
  8.  *    New - 6/27/91    Jeff Wiedemeier
  9.  */
  10.  
  11. #include <stdio.h>
  12. #include "externs.h"
  13. #include "windat.h"
  14.  
  15. /*
  16.  * The following routines are to satisfy look.c and memdebug.c
  17.  */
  18.  
  19. struct twin fool_them, *console=&fool_them;
  20.  
  21. void vprint(w,s)
  22. int w;
  23. char *s;
  24. {
  25.     w=w;    /* No warning this way */
  26. #ifdef DEBUG    /* without debug - ignore messages */
  27.     fprintf(stderr, s);
  28. #else
  29.     s = s;    /* no warning */
  30. #endif /* DEBUG */
  31. }
  32.  
  33. /*
  34.  * None but telnet need inv_port_err (which is called from tcp.c)
  35.  * this prevents unresolved references
  36.  */
  37.  
  38. void inv_port_err(int service, int port, uint8 *ip)
  39. {
  40.     service=service;
  41.     port=port;
  42.     ip=ip;
  43. }
  44.