]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zwgc/formatter.h
rules *.docs: attempt to install documentation
[1ts-debian.git] / zwgc / formatter.h
1 /* This file is part of the Project Athena Zephyr Notification System.
2  * It is one of the source files comprising zwgc, the Zephyr WindowGram
3  * client.
4  *
5  *      Created by:     Marc Horowitz <marc@athena.mit.edu>
6  *
7  *      $Id: formatter.h,v 1.6 1999/05/19 19:43:38 ghudson Exp $
8  *
9  *      Copyright (c) 1989 by the Massachusetts Institute of Technology.
10  *      For copying and distribution information, see the file
11  *      "mit-copyright.h".
12  */
13
14
15 #include <zephyr/mit-copyright.h>
16
17 #ifndef formatter_MODULE
18 #define formatter_MODULE
19
20 typedef struct _desctype {
21     struct _desctype *next;
22
23     short int code;
24 #define DT_EOF  0       /* End of message.      */
25 #define DT_ENV  1       /* Open environment.    */
26 #define DT_STR  2       /* Display string.      */
27 #define DT_END  3       /* Close environment.   */
28 #define DT_NL   4       /* Newline.             */
29     
30     char *str;          /* Name of environment, string to be displayed. */
31     int len;            /* Length of string/environment name for
32                            ENV, STR, END.  Undefined for EOF */
33 } desctype;
34
35 extern desctype *disp_get_cmds();
36 extern void free_desc();
37
38 #endif