home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / trn / part01 / server.h.SH < prev    next >
Encoding:
Text File  |  1991-12-02  |  1.4 KB  |  50 lines

  1. : create server.h file
  2. case $CONFIG in
  3.     '') . ./config.sh ;;
  4. esac
  5. if $test $isrrn = define 
  6. then
  7. $echo "Extracting server.h (with variable substitutions)"
  8. $cat >server.h <<!GROK!THIS!
  9. /*
  10.  * $Id$
  11.  * 
  12.  * $Log$
  13.  * 
  14.  * 
  15.  * This software is Copyright 1991 by Stan Barber. 
  16.  * 
  17.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  18.  * use this software as long as: there is no monetary profit gained
  19.  * specifically from the use or reproduction of this software, it is not
  20.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  21.  * included prominently in any copy made. 
  22.  *
  23.  * The author make no claims as to the fitness or correctness of this software
  24.  * for any use whatsoever, and it is provided as is. Any use of this software
  25.  *is at the user's own risk. 
  26.  */
  27. #ifdef SERVER
  28.  
  29. extern    char    *get_server_name ANSI((int));
  30. extern    char    *getserverbyfile ANSI((char *));
  31. extern    int    server_init ANSI((char *));
  32. extern    void    put_server ANSI((char *));
  33. extern    int    get_server ANSI((char *,int));
  34. extern    long    rawcheck_server ANSI((char *,int));
  35. extern    long    rawget_server ANSI((char *,long));
  36. extern    void    close_server ANSI((void));
  37.  
  38. #include "$NNTPSRC/common/nntp.h"
  39. EXT     char ser_line[NNTP_STRLEN];
  40.  
  41. # if defined(XTHREAD) && !defined(OK_BIN)
  42.      ??????  /* This version of NNTP doesn't have XTHREAD support */
  43. # endif
  44.  
  45. #endif
  46. !GROK!THIS!
  47. else
  48.     rm -f server.h
  49. fi
  50.