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 /byhandhook.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 'byhandhook.h')
-rw-r--r-- | byhandhook.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/byhandhook.h b/byhandhook.h new file mode 100644 index 0000000..dd72e02 --- /dev/null +++ b/byhandhook.h @@ -0,0 +1,26 @@ +#ifndef REPREPRO_BYHANDHOOK_H +#define REPREPRO_BYHANDHOOK_H + +#ifndef REPREPRO_ERROR_H +#include "error.h" +#warning "What's hapening here?" +#endif + +#ifndef REPREPRO_ERROR_H +#include "error.h" +#warning "What's hapening here?" +#endif + +struct byhandhook; + +retvalue byhandhooks_parse(struct configiterator *, /*@out@*/struct byhandhook **); + +/* 2nd argument starts as NULL, returns true as long as there are hooks */ +bool byhandhooks_matched(const struct byhandhook *, const struct byhandhook **, const char * /*section*/, const char * /*priority*/, const char * /*name*/); + +retvalue byhandhook_call(const struct byhandhook *, const char * /*codename*/, const char * /*section*/, const char * /*priority*/, const char * /*basename*/, const char * /*fullfilename*/); + +void byhandhooks_free(/*@null@*//*@only@*/struct byhandhook *); + +#endif + |