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
5 * Created by: Marc Horowitz <marc@athena.mit.edu>
7 * $Id: formatter.h,v 1.6 1999/05/19 19:43:38 ghudson Exp $
9 * Copyright (c) 1989 by the Massachusetts Institute of Technology.
10 * For copying and distribution information, see the file
15 #include <zephyr/mit-copyright.h>
17 #ifndef formatter_MODULE
18 #define formatter_MODULE
20 typedef struct _desctype {
21 struct _desctype *next;
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. */
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 */
35 extern desctype *disp_get_cmds();
36 extern void free_desc();