pm_strcpy(link, sp.link);
ff_pkt->fname = fname.c_str();
ff_pkt->link = link.c_str();
+ ff_pkt->delta_seq = sp.delta_seq;
if (sp.flags & FO_DELTA) {
ff_pkt->flags |= FO_DELTA;
ff_pkt->delta_seq++; /* make new delta sequence number */
ret = bRC_Seen;
}
+ /* check_changes() can update delta sequence number, return it to the
+ * plugin
+ */
+ sp->delta_seq = ff_pkt->delta_seq;
+
bail_out:
Dmsg1(100, "checkChanges=%i\n", ret);
return ret;
char *object; /* restore object data to save */
int32_t object_len; /* restore object length */
int32_t index; /* restore object index */
+ int32_t delta_seq; /* Delta sequence number */
int32_t pkt_end; /* end packet sentinel */
};
const char *RegexWhere; /* regex where */
int replace; /* replace flag */
int create_status; /* status from createFile() */
+ int32_t delta_seq; /* Delta sequence number */
int32_t pkt_end; /* end packet sentinel */
};