]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Add the POST method.
[wget] / src / options.h
index a07c641e96b57b72b9b4fe35e968b80ac82ee593..c6438602514cab7a96193f310d442033b9a81848 100644 (file)
@@ -19,7 +19,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Needed for FDP.  */
 #include <stdio.h>
-#include "host.h"
 
 struct options
 {
@@ -153,7 +152,7 @@ struct options
 
   int page_requisites;         /* Whether we need to download all files
                                   necessary to display a page properly. */
-  wget_sockaddr *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
@@ -165,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