]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Add the POST method.
[wget] / src / options.h
index e8cd8fb2122340cdd8136737eae3adf68b2077ae..c6438602514cab7a96193f310d442033b9a81848 100644 (file)
@@ -152,9 +152,7 @@ struct options
 
   int page_requisites;         /* Whether we need to download all files
                                   necessary to display a page properly. */
-
-  struct sockaddr_in *bind_address; /* What local IP address to bind to. */
-
+  char *bind_address;          /* What local IP address to bind to. */
 #ifdef HAVE_SSL
   char *sslcertfile;           /* external client cert to use. */
   char *sslcertkey;            /* the keyfile for this certificate
@@ -166,8 +164,9 @@ struct options
   int   cookies;
   char *cookies_input;
   char *cookies_output;
+
+  char *post_data;             /* POST query string */
+  char *post_file_name;                /* File to post */
 };
 
-#ifndef OPTIONS_DEFINED_HERE
 extern struct options opt;
-#endif