]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Add the POST method.
[wget] / src / options.h
index fcbee7045dc79e41666dbefc6d3d367d4f08fecc..c6438602514cab7a96193f310d442033b9a81848 100644 (file)
@@ -152,21 +152,21 @@ 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
                                   (if not internal) included in the
                                   certfile. */
+  char *sslegdsock;             /* optional socket of the egd daemon */
 #endif /* HAVE_SSL */
 
   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