Now exporting anz_designs, input, and empty_side()

Added #include regexp.h back
This commit is contained in:
Thomas Jensen 1999-06-23 19:21:15 +00:00
parent e88470677d
commit f8774543a9

View File

@ -3,7 +3,7 @@
* Date created: March 18, 1999 (Thursday, 15:09h) * Date created: March 18, 1999 (Thursday, 15:09h)
* Author: Thomas Jensen * Author: Thomas Jensen
* tsjensen@stud.informatik.uni-erlangen.de * tsjensen@stud.informatik.uni-erlangen.de
* Version: $Id: boxes.h,v 1.11 1999/06/22 12:01:24 tsjensen Exp tsjensen $ * Version: $Id: boxes.h,v 1.12 1999/06/23 12:33:49 tsjensen Exp tsjensen $
* Language: ANSI C * Language: ANSI C
* Purpose: Project-wide globals and data structures * Purpose: Project-wide globals and data structures
* Remarks: --- * Remarks: ---
@ -11,6 +11,10 @@
* Revision History: * Revision History:
* *
* $Log: boxes.h,v $ * $Log: boxes.h,v $
* Revision 1.12 1999/06/23 12:33:49 tsjensen
* Moved some data structures and macros related to shapes to shape.h
* Added #ifdef DEBUG around __TJ() macro for convenience
*
* Revision 1.11 1999/06/22 12:01:24 tsjensen * Revision 1.11 1999/06/22 12:01:24 tsjensen
* Added DEF_DESIGN (default design name) * Added DEF_DESIGN (default design name)
* Added opt_t and opt global variable from boxes.c * Added opt_t and opt global variable from boxes.c
@ -58,6 +62,9 @@
/* #define DEBUG */ /* #define DEBUG */
/* #define REGEXP_DEBUG */ /* #define REGEXP_DEBUG */
#include "regexp.h"
#define PROJECT "boxes" /* name of program */ #define PROJECT "boxes" /* name of program */
#define VERSION "1.0 beta" /* current release of project */ #define VERSION "1.0 beta" /* current release of project */
@ -140,12 +147,8 @@ typedef struct {
size_t anz_revrules; size_t anz_revrules;
} design_t; } design_t;
typedef struct {
size_t len;
char *text;
} line_t;
extern design_t *designs; extern design_t *designs;
extern int anz_designs;
extern int design_idx; extern int design_idx;
@ -171,7 +174,29 @@ typedef struct { /* Command line options: */
extern opt_t opt; extern opt_t opt;
typedef struct {
size_t len;
char *text;
} line_t;
#ifndef FILE_LEXER_L
typedef struct {
line_t *lines;
size_t anz_lines; /* number of entries in input */
size_t maxline; /* length of longest input line */
size_t indent; /* number of leading spaces found */
} input_t;
#define INPUT_INITIALIZER {NULL, 0, 0, LINE_MAX}
extern input_t input;
#endif /*!FILE_LEXER_L*/
int empty_side (design_t *d, const int aside);
#endif /* BOXES_H */ #endif /* BOXES_H */
/*EOF*/ /* vim: set cindent sw=4: */ /*EOF*/ /* vim: set cindent sw=4: */