/* Needed for FDP. */
#include <stdio.h>
-#include "host.h"
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
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