#ifndef foodiffhfoo #define foodiffhfoo #include "context.h" #include "dbstruct.h" enum { DIFF_COPY, DIFF_DELETE, DIFF_CONFLICT, DIFF_IGNORE }; struct diff_entry { int action; struct syrep_db_context *repository; }; DB* make_diff(struct syrep_db_context *c1, struct syrep_db_context *c2); int diff_foreach(DB *ddb, int (*cb)(DB *db, struct syrep_name *name, struct diff_entry *de, void *p), void *p); int list_diff(struct syrep_db_context *c1, struct syrep_db_context *c2, DB *ddb); #endif