home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / xgopher.1.3 / status.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-08  |  1.9 KB  |  73 lines

  1. /* status.h
  2.    header file for status.c. */
  3.  
  4.      /*---------------------------------------------------------------*/
  5.      /* Xgopher        version 1.3     08 April 1993                  */
  6.      /*                version 1.2     20 November 1992               */
  7.      /*                version 1.1     20 April 1992                  */
  8.      /*                version 1.0     04 March 1992                  */
  9.      /* X window system client for the University of Minnesota        */
  10.      /*                                Internet Gopher System.        */
  11.      /* Allan Tuchman, University of Illinois at Urbana-Champaign     */
  12.      /*                Computing and Communications Services Office   */
  13.      /* Copyright 1992, 1993 by                                       */
  14.      /*           the Board of Trustees of the University of Illinois */
  15.      /* Permission is granted to freely copy and redistribute this    */
  16.      /* software with the copyright notice intact.                    */
  17.      /*---------------------------------------------------------------*/
  18.  
  19. #ifndef STATUS_H
  20. #define STATUS_H
  21.  
  22. #include "gopher.h"
  23. #ifdef PROTO
  24. #include <X11/Intrinsic.h>
  25. #endif
  26.  
  27. typedef enum {STAT_USER, STAT_CONNECT, STAT_ROOT, STAT_DIRECTORY, STAT_ASCII,
  28.           STAT_BINARY, STAT_PROCESS, STAT_TEMP_MESSAGE} statusType;
  29.  
  30. static void cancelProc(
  31. #ifdef PROTO
  32.     Widget,        /* w */
  33.     XtPointer,    /* client_data */
  34.     XtPointer    /* call_data */
  35. #endif
  36. );
  37.  
  38. static void statusCancelAction(
  39. #ifdef PROTO
  40.     Widget,        /* w */
  41.     XEvent *,    /* event */
  42.     String *,    /* parms */
  43.     Cardinal *    /* nparms */
  44. #endif
  45. );
  46.  
  47. void displayStatusPanel(
  48. #ifdef PROTO
  49.     statusType,    /* thisType */
  50.     char *,        /* text */
  51.     char *,        /* host */
  52.     int        /* port */
  53. #endif
  54. );
  55.  
  56. BOOLEAN removeStatusPanel(
  57. );
  58.  
  59. BOOLEAN updateStatusPanel(
  60. #ifdef PROTO
  61.     int,        /* value1 */
  62.     int        /* value2 */
  63. #endif
  64. );
  65.  
  66. void makeStatusPanel(
  67. #ifdef PROTO
  68.     Widget        /* top */
  69. #endif
  70. );
  71.  
  72. #endif
  73.