X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fsendbackup.h;h=56edd1bc803280d0b915632206dfaff9617b70e3;hb=HEAD;hp=ceff2d96fae9eba51f99d8a733c4fa9ea5de39be;hpb=afaa71b3866b46b082b6c895772e15b36d8865fe;p=debian%2Famanda diff --git a/client-src/sendbackup.h b/client-src/sendbackup.h index ceff2d9..56edd1b 100644 --- a/client-src/sendbackup.h +++ b/client-src/sendbackup.h @@ -1,6 +1,7 @@ /* * Amanda, The Advanced Maryland Automatic Network Disk Archiver * Copyright (c) 1991-1998 University of Maryland at College Park + * Copyright (c) 2007-2012 Zmanda, Inc. All Rights Reserved. * All Rights Reserved. * * Permission to use, copy, modify, distribute, and sell this software and its @@ -56,24 +57,6 @@ void start_index(int createindex, int input, int mesg, * multiplied by the scale field to get the dump size. */ -typedef enum { - DMP_NORMAL, DMP_IGNORE, DMP_STRANGE, DMP_SIZE, DMP_ERROR -} dmpline_t; - -typedef struct regex_s { - char *regex; - int srcline; - int scale; /* only used for size lines */ - int field; - dmpline_t typ; -} amregex_t; - -#define AM_NORMAL_RE(re) {(re), __LINE__, 0, 0, DMP_NORMAL} -#define AM_IGNORE_RE(re) {(re), __LINE__, 0, 0, DMP_IGNORE} -#define AM_STRANGE_RE(re) {(re), __LINE__, 0, 0, DMP_STRANGE} -#define AM_SIZE_RE(re,s,f) {(re), __LINE__, (s), (f), DMP_SIZE} -#define AM_ERROR_RE(re) {(re), __LINE__, 0, 0, DMP_ERROR} - extern pid_t comppid, dumppid, encpid, tarpid; extern pid_t indexpid; extern g_option_t *g_options;