summaryrefslogtreecommitdiff
path: root/content/fetch.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-09-26 17:14:25 +0100
committerVincent Sanders <vince@kyllikki.org>2018-09-26 17:21:48 +0100
commit5c96acd6f119b71fc75e5d48465afca9fd13e87f (patch)
treeebe6b2b07b6767f1c892a35ba99295b4cd17ec59 /content/fetch.h
parent9100fcb4095cf8858d4cd2c613bff69ceb4f71ec (diff)
downloadnetsurf-5c96acd6f119b71fc75e5d48465afca9fd13e87f.tar.gz
netsurf-5c96acd6f119b71fc75e5d48465afca9fd13e87f.tar.bz2
fix url encoding to be compatible with nsurl API changes.
As part of this fix the form submission error handling and reporting has been improved.
Diffstat (limited to 'content/fetch.h')
-rw-r--r--content/fetch.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/content/fetch.h b/content/fetch.h
index 5521778ea..0b4b52a2f 100644
--- a/content/fetch.h
+++ b/content/fetch.h
@@ -74,16 +74,22 @@ typedef struct fetch_msg {
} data;
} fetch_msg;
-/** Fetch POST multipart data */
+/**
+ * Fetch POST multipart data
+ */
struct fetch_multipart_data {
- bool file; /**< Item is a file */
- char *name; /**< Name of item */
- char *value; /**< Item value */
- char *rawfile; /**< Raw filename if file is true */
+ struct fetch_multipart_data *next; /**< Next in linked list */
+
+ char *name; /**< Name of item */
+ char *value; /**< Item value */
- struct fetch_multipart_data *next; /**< Next in linked list */
+ char *rawfile; /**< Raw filename if file is true */
+ bool file; /**< Item is a file */
};
+/**
+ * ssl certificate information for certificate error message
+ */
struct ssl_cert_info {
long version; /**< Certificate version */
char not_before[32]; /**< Valid from date */