pre-inst/post.h
author J. Ali Harlow <ali@juiblex.co.uk>
Tue Jun 29 10:08:33 2021 +0100 (2021-06-29)
changeset 106 cc42fad3fe31
permissions -rw-r--r--
Add a --paths option to app-manager and use it in setup.js and update.js
ali@96
     1
#ifndef __POST_H__
ali@96
     2
#define __POST_H__
ali@96
     3
ali@96
     4
#include <glib.h>
ali@96
     5
ali@96
     6
G_BEGIN_DECLS
ali@96
     7
ali@96
     8
struct post
ali@96
     9
{
ali@96
    10
    gchar *install_prefix;
ali@96
    11
    gchar *repository;
ali@96
    12
    int argc;
ali@96
    13
    char **argv;
ali@96
    14
};
ali@96
    15
ali@96
    16
struct post *pre_install_post_new(const char *repository,
ali@96
    17
  const char *install_prefix);
ali@96
    18
void pre_install_post_free(struct post *post);
ali@96
    19
gboolean pre_install_post_load_uri(struct post *post,const char *uri,
ali@96
    20
  GError **error);
ali@96
    21
ali@96
    22
G_END_DECLS
ali@96
    23
ali@96
    24
#endif /* __POST_H__ */