X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fsendbackup.h;h=134e6fb65bf084489d37b1005cfbe976e60aa1ae;hb=d3b2175e084f88c8736ad7073eacbf4670147aec;hp=2a4cdb8d8b20af68c6408e70fde9f4d9b5fb1cfc;hpb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;p=debian%2Famanda diff --git a/client-src/sendbackup.h b/client-src/sendbackup.h index 2a4cdb8..134e6fb 100644 --- a/client-src/sendbackup.h +++ b/client-src/sendbackup.h @@ -64,13 +64,14 @@ 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, 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} +#define AM_NORMAL_RE(re) {(re), __LINE__, 0, 0, DMP_NORMAL} +#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;