diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-05-05 10:45:28 +0200 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2020-05-05 13:08:57 +0200 |
commit | e3c31309a49f2ad5b9fba3473287a674e0099830 (patch) | |
tree | 75c587ecf94456bd1e4002e542541e3e851639ac /common/flatpak-utils-http-private.h | |
parent | 6c3f150a05588f04a686daf77fb31a8aded15d46 (diff) | |
download | flatpak-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.h | 9 |
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 { |