summaryrefslogtreecommitdiff
path: root/zwgc/browser.h
blob: 7076915a93829cf312c46aedad821bf9fbebcebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* This file is part of the Project Athena Zephyr Notification System.
 * It is one of the source files comprising zwgc, the Zephyr WindowGram
 * client.
 *
 *      Created by:     Marc Horowitz <marc@athena.mit.edu>
 *
 *      $Id$
 *
 *      Copyright (c) 1989 by the Massachusetts Institute of Technology.
 *      For copying and distribution information, see the file
 *      "mit-copyright.h".
 */


#include <zephyr/mit-copyright.h>

#define BROWSER_NEW_REQ            1
#define BROWSER_NEW_REQ_RESP       2
#define BROWSER_ZPACKET            3
#define BROWSER_ZPACKET_RESP       4
#define BROWSER_TEXT               5
#define BROWSER_WINDOW_ID          6
#define BROWSER_VAR_REQ            7
#define BROWSER_VAR_REQ_RESP       8


#define BROWSER_TYPE_OVERRIDE      11
#define BROWSER_TYPE_DRIVER        12
#define BROWSER_TYPE_WM            13
#define BROWSER_TYPE_SIMPLE        14

#define BROWSER_ACK                21
#define BROWSER_NAK                22

#define BROWSER_KEEP               31
#define BROWSER_LOSE               32

extern int ZBOpenConnection();
extern void ZBCloseConnection( /* int fd */ );
extern char *var_get_variable( /* char *varname */ );