-typedef enum {
- DMP_NORMAL, DMP_STRANGE, DMP_SIZE, DMP_ERROR
-} dmpline_t;
-
-typedef struct regex_s {
- char *regex;
- int srcline;
- int scale; /* only used for size lines */
- dmpline_t typ;
-} regex_t;
-
-#define AM_NORMAL_RE(re) {(re), __LINE__, 0, DMP_NORMAL}
-#define AM_STRANGE_RE(re) {(re), __LINE__, 0, DMP_STRANGE}
-#define AM_SIZE_RE(re,s) {(re), __LINE__, (s), DMP_SIZE}
-#define AM_ERROR_RE(re) {(re), __LINE__, 0, DMP_ERROR}
-
-extern int comppid, dumppid, encpid, tarpid;
-extern int indexpid;
-extern option_t *options;
+extern pid_t comppid, dumppid, encpid, tarpid;
+extern pid_t indexpid;
+extern g_option_t *g_options;