diff -r 000000000000 -r 0121592e2512 pre-inst/post.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pre-inst/post.h Thu Jul 16 19:54:45 2020 +0100 @@ -0,0 +1,24 @@ +#ifndef __POST_H__ +#define __POST_H__ + +#include + +G_BEGIN_DECLS + +struct post +{ + gchar *install_prefix; + gchar *repository; + int argc; + char **argv; +}; + +struct post *pre_install_post_new(const char *repository, + const char *install_prefix); +void pre_install_post_free(struct post *post); +gboolean pre_install_post_load_uri(struct post *post,const char *uri, + GError **error); + +G_END_DECLS + +#endif /* __POST_H__ */