#ifndef REPREPRO_RREDPATCH_H #define REPREPRO_RREDPATCH_H struct rred_patch; struct modification; retvalue patch_load(const char *, off_t, /*@out@*/struct rred_patch **); void patch_free(/*@only@*/struct rred_patch *); /*@only@*//*@null@*/struct modification *patch_getmodifications(struct rred_patch *); /*@null@*/const struct modification *patch_getconstmodifications(struct rred_patch *); void modification_freelist(/*@only@*/struct modification *); retvalue combine_patches(/*@out@*/struct modification **, /*@only@*/struct modification *, /*@only@*/struct modification *); void modification_printaspatch(FILE *, const struct modification *); retvalue patch_file(FILE *, const char *, const struct modification *); #endif