diff options
author | Alexander Larsson <alexl@redhat.com> | 2015-11-16 16:23:23 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-11-25 15:26:32 +0100 |
commit | b2790349d6c5d257c3691df37eb2c46ea9fb821c (patch) | |
tree | fdca2e8ecb9a51f3cdeed695568bae8fd85672a7 /builder/builder-utils.h | |
parent | 7e1a645f990c29296878ed7e3253f0151dab1c1c (diff) | |
download | xdg-app-b2790349d6c5d257c3691df37eb2c46ea9fb821c.tar.gz |
Add xdg-app-builder
This is a tool that makes it easy to build applications and their
dependecies by automating the configure && make && make install steps.
Diffstat (limited to 'builder/builder-utils.h')
-rw-r--r-- | builder/builder-utils.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/builder/builder-utils.h b/builder/builder-utils.h new file mode 100644 index 0000000..58614bb --- /dev/null +++ b/builder/builder-utils.h @@ -0,0 +1,38 @@ +/* + * Copyright © 2015 Red Hat, Inc + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + * + * Authors: + * Alexander Larsson <alexl@redhat.com> + */ + +#ifndef __BUILDER_UTILS_H__ +#define __BUILDER_UTILS_H__ + +#include <gio/gio.h> +#include <libsoup/soup.h> + +G_BEGIN_DECLS + +typedef struct BuilderUtils BuilderUtils; + +char *builder_uri_to_filename (const char *uri); + +const char *path_prefix_match (const char *pattern, + const char *string); + +G_END_DECLS + +#endif /* __BUILDER_UTILS_H__ */ |