|
|
00001 #ifndef formatter_MODULE 00002 #define formatter_MODULE 00003 00004 /* 00005 * Copyright (c) 1989 by the Massachusetts Institute of Technology. 00006 * For copying and distribution information, see the file 00007 * "mit-copyright.h". 00008 * 00009 * Modified for jwgc by Daniel Henninger. 00010 */ 00011 00012 #include "mit-copyright.h" 00013 00014 typedef struct _desctype { 00015 struct _desctype *next; 00016 00017 short int code; 00018 #define DT_EOF 0 /* End of message. */ 00019 #define DT_ENV 1 /* Open environment. */ 00020 #define DT_STR 2 /* Display string. */ 00021 #define DT_END 3 /* Close environment. */ 00022 #define DT_NL 4 /* Newline. */ 00023 00024 char *str; /* Name of environment, string to be displayed. */ 00025 short int len; /* Length of string/environment name for 00026 ENV, STR, END. Undefined for EOF */ 00027 } desctype; 00028 00029 extern desctype *disp_get_cmds(); 00030 extern void free_desc(); 00031 00032 #endif
Last updated at Tue Dec 18 21:07:42 PST 2007. | This site and project hosted by... |