]> sjero.net Git - wget/blobdiff - src/http.h
[svn] Use extract_params to parse the Set-Cookies header.
[wget] / src / http.h
index bb3def4612d28d6bb435d7d77fedfde2f0dd89ab..4974481ac3fe3e7e370d15695420c8685ae50607 100644 (file)
@@ -38,4 +38,11 @@ void save_cookies (void);
 void http_cleanup (void);
 time_t http_atotm (const char *);
 
+typedef struct {
+  /* A token consists of characters in the [b, e) range. */
+  const char *b, *e;
+} param_token;
+bool extract_param (const char **, param_token *, param_token *);
+
+
 #endif /* HTTP_H */