summaryrefslogtreecommitdiff
path: root/common/flatpak-utils-http-private.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-05-05 10:45:28 +0200
committerAlexander Larsson <alexander.larsson@gmail.com>2020-05-05 13:08:57 +0200
commite3c31309a49f2ad5b9fba3473287a674e0099830 (patch)
tree75c587ecf94456bd1e4002e542541e3e851639ac /common/flatpak-utils-http-private.h
parent6c3f150a05588f04a686daf77fb31a8aded15d46 (diff)
downloadflatpak-e3c31309a49f2ad5b9fba3473287a674e0099830.tar.gz
Rename internal error FLATPAK_OCI_ERROR to FLATPAK_HTTP_ERROR
This is what it is really, and I want to extend it with more http errors that are not necessarily oci related.
Diffstat (limited to 'common/flatpak-utils-http-private.h')
-rw-r--r--common/flatpak-utils-http-private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/flatpak-utils-http-private.h b/common/flatpak-utils-http-private.h
index 91322e9f..12722cf0 100644
--- a/common/flatpak-utils-http-private.h
+++ b/common/flatpak-utils-http-private.h
@@ -25,6 +25,15 @@
#include <libsoup/soup.h>
+typedef enum {
+ FLATPAK_HTTP_ERROR_NOT_CHANGED = 0,
+} FlatpakHttpErrorEnum;
+
+#define FLATPAK_HTTP_ERROR flatpak_http_error_quark ()
+
+FLATPAK_EXTERN GQuark flatpak_http_error_quark (void);
+
+
SoupSession * flatpak_create_soup_session (const char *user_agent);
typedef enum {