diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:12:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:12:14 +0000 |
commit | 4b8a0f3f3dcf60dac2ce308ea08d413a535af29f (patch) | |
tree | 0f09c0ad2a4d0f535d89040a63dc3a866a6606e6 /donefile.h | |
parent | Initial commit. (diff) | |
download | reprepro-4b8a0f3f3dcf60dac2ce308ea08d413a535af29f.tar.xz reprepro-4b8a0f3f3dcf60dac2ce308ea08d413a535af29f.zip |
Adding upstream version 5.4.4.upstream/5.4.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | donefile.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/donefile.h b/donefile.h new file mode 100644 index 0000000..e5c6783 --- /dev/null +++ b/donefile.h @@ -0,0 +1,24 @@ +#ifndef REPREPRO_DONEFILE_H +#define REPREPRO_DONEFILE_H + +#ifndef REPREPRO_ERROR_H +#include "error.h" +#endif + +struct checksums; + +struct markdonefile; +retvalue markdone_create(const char *, /*@out@*/struct markdonefile **); +void markdone_finish(/*@only@*/struct markdonefile *); +void markdone_target(struct markdonefile *, const char *); +void markdone_index(struct markdonefile *, const char *, const struct checksums *); +void markdone_cleaner(struct markdonefile *); + +struct donefile; +retvalue donefile_open(const char *, /*@out@*/struct donefile **); +void donefile_close(/*@only@*/struct donefile *); +retvalue donefile_nexttarget(struct donefile *, /*@out@*/const char **); +bool donefile_nextindex(struct donefile *, /*@out@*/const char **, /*@out@*/struct checksums **); +bool donefile_iscleaner(struct donefile *); + +#endif |