]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zephyr/clients/xzwrite/xzwrite.h
finalize -3
[1ts-debian.git] / zephyr / clients / xzwrite / xzwrite.h
1 #include <sysdep.h>
2 #include <X11/Intrinsic.h>      /* for String and Boolean */
3
4 #define ZLEN            60
5 #define DEFAULT_CLASS   "MESSAGE"
6 #define DEFAULT_INST    "PERSONAL"
7 #define XZWRITE_DEST_FILE "/.xzwrite.dest"
8 #define ZEPHYR_FILE     "/.zephyr.subs"
9 #define ANYONE_FILE     "/.anyone"
10
11 #define SEND_OK         -1000
12 #define SENDFAIL_RECV   -1001
13 #define SENDFAIL_SEND   -1002
14 #define SENDFAIL_ACK    -1003
15
16 /* Structure to contains values from the resource database */
17 typedef struct _defaults {
18      String signature, opcode;
19      Boolean auth;
20      Boolean close_on_send;
21      Boolean clear_on_send;
22      Boolean ping;
23      Boolean verbose;
24      Boolean yank_dest;
25      Boolean add_globals;
26      Boolean read_xzwrite;
27      Boolean read_zephyr;
28      Boolean read_anyone;
29      Boolean class_inst;
30      Boolean track_logins;
31      Boolean popup_cursor;
32      Boolean debug;
33      Boolean pong_scan;
34      Boolean auto_reply;
35      int max_yanks, command_mask, columns;
36      String  zsigfile;
37      String  logfile;
38 } Defaults;
39
40 /* Structure to contain a legal zephyr triple */
41 typedef struct _destination {
42      char zclass[ZLEN], zinst[ZLEN], zrecip[ZLEN];
43 } DestRec, *Dest;
44
45 /* Structure to contain a yank */
46 typedef struct _yank {
47      DestRec dest;
48      char *msg;
49 } YankRec, *Yank;
50
51 #include <zephyr/zephyr.h>
52 #include "xzwrite-proto.h"