mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
deleted trailing whitespace
This commit is contained in:
parent
6176f14141
commit
6bd8db3c99
@ -1,10 +1,10 @@
|
|||||||
#ifndef __URLDATA_H
|
#ifndef __URLDATA_H
|
||||||
#define __URLDATA_H
|
#define __URLDATA_H
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
* / __| | | | |_) | |
|
* / __| | | | |_) | |
|
||||||
* | (__| |_| | _ <| |___
|
* | (__| |_| | _ <| |___
|
||||||
* \___|\___/|_| \_\_____|
|
* \___|\___/|_| \_\_____|
|
||||||
*
|
*
|
||||||
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
|
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
@ -12,7 +12,7 @@
|
|||||||
* This software is licensed as described in the file COPYING, which
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
* are also available at http://curl.haxx.se/docs/copyright.html.
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
||||||
*
|
*
|
||||||
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
||||||
* copies of the Software, and permit persons to whom the Software is
|
* copies of the Software, and permit persons to whom the Software is
|
||||||
* furnished to do so, under the terms of the COPYING file.
|
* furnished to do so, under the terms of the COPYING file.
|
||||||
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#include "cookie.h"
|
#include "cookie.h"
|
||||||
#include "formdata.h"
|
#include "formdata.h"
|
||||||
|
|
||||||
#ifdef USE_SSLEAY
|
#ifdef USE_SSLEAY
|
||||||
/* SSLeay stuff usually in /usr/local/ssl/include */
|
/* SSLeay stuff usually in /usr/local/ssl/include */
|
||||||
#ifdef USE_OPENSSL
|
#ifdef USE_OPENSSL
|
||||||
@ -119,11 +119,11 @@ struct krb4buffer {
|
|||||||
size_t index;
|
size_t index;
|
||||||
int eof_flag;
|
int eof_flag;
|
||||||
};
|
};
|
||||||
enum protection_level {
|
enum protection_level {
|
||||||
prot_clear,
|
prot_clear,
|
||||||
prot_safe,
|
prot_safe,
|
||||||
prot_confidential,
|
prot_confidential,
|
||||||
prot_private
|
prot_private
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ struct HTTP {
|
|||||||
|
|
||||||
const char *p_pragma; /* Pragma: string */
|
const char *p_pragma; /* Pragma: string */
|
||||||
const char *p_accept; /* Accept: string */
|
const char *p_accept; /* Accept: string */
|
||||||
curl_off_t readbytecount;
|
curl_off_t readbytecount;
|
||||||
curl_off_t writebytecount;
|
curl_off_t writebytecount;
|
||||||
|
|
||||||
/* For FORM posting */
|
/* For FORM posting */
|
||||||
@ -262,7 +262,7 @@ struct FTP {
|
|||||||
long response_time; /* When no timeout is given, this is the amount of
|
long response_time; /* When no timeout is given, this is the amount of
|
||||||
seconds we await for an FTP response. Initialized
|
seconds we await for an FTP response. Initialized
|
||||||
in Curl_ftp_connect() */
|
in Curl_ftp_connect() */
|
||||||
bool ctl_valid; /* Tells Curl_ftp_quit() whether or not to do
|
bool ctl_valid; /* Tells Curl_ftp_quit() whether or not to do
|
||||||
anything. If the connection has timed out or
|
anything. If the connection has timed out or
|
||||||
been closed, this should be FALSE when it gets
|
been closed, this should be FALSE when it gets
|
||||||
to Curl_ftp_quit() */
|
to Curl_ftp_quit() */
|
||||||
@ -466,14 +466,14 @@ struct connectdata {
|
|||||||
|
|
||||||
char *proxyuser; /* proxy user name string, allocated */
|
char *proxyuser; /* proxy user name string, allocated */
|
||||||
char *proxypasswd; /* proxy password string, allocated */
|
char *proxypasswd; /* proxy password string, allocated */
|
||||||
|
|
||||||
struct timeval now; /* "current" time */
|
struct timeval now; /* "current" time */
|
||||||
struct timeval created; /* creation time */
|
struct timeval created; /* creation time */
|
||||||
curl_socket_t sock[2]; /* two sockets, the second is used for the data
|
curl_socket_t sock[2]; /* two sockets, the second is used for the data
|
||||||
transfer when doing FTP */
|
transfer when doing FTP */
|
||||||
curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, 0
|
curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, 0
|
||||||
means unlimited */
|
means unlimited */
|
||||||
|
|
||||||
struct ssl_connect_data ssl[2]; /* this is for ssl-stuff */
|
struct ssl_connect_data ssl[2]; /* this is for ssl-stuff */
|
||||||
struct ssl_config_data ssl_config;
|
struct ssl_config_data ssl_config;
|
||||||
|
|
||||||
@ -492,17 +492,17 @@ struct connectdata {
|
|||||||
|
|
||||||
/* This function *MAY* be set to a protocol-dependent function that is run
|
/* This function *MAY* be set to a protocol-dependent function that is run
|
||||||
* after the connect() and everything is done, as a step in the connection.
|
* after the connect() and everything is done, as a step in the connection.
|
||||||
*/
|
*/
|
||||||
CURLcode (*curl_connect)(struct connectdata *);
|
CURLcode (*curl_connect)(struct connectdata *);
|
||||||
|
|
||||||
/* This function *MAY* be set to a protocol-dependent function that is run
|
/* This function *MAY* be set to a protocol-dependent function that is run
|
||||||
* by the curl_disconnect(), as a step in the disconnection.
|
* by the curl_disconnect(), as a step in the disconnection.
|
||||||
*/
|
*/
|
||||||
CURLcode (*curl_disconnect)(struct connectdata *);
|
CURLcode (*curl_disconnect)(struct connectdata *);
|
||||||
|
|
||||||
/* This function *MAY* be set to a protocol-dependent function that is run
|
/* This function *MAY* be set to a protocol-dependent function that is run
|
||||||
* in the curl_close() function if protocol-specific cleanups are required.
|
* in the curl_close() function if protocol-specific cleanups are required.
|
||||||
*/
|
*/
|
||||||
CURLcode (*curl_close)(struct connectdata *);
|
CURLcode (*curl_close)(struct connectdata *);
|
||||||
|
|
||||||
/**** curl_get() phase fields */
|
/**** curl_get() phase fields */
|
||||||
@ -511,7 +511,7 @@ struct connectdata {
|
|||||||
curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
|
curl_socket_t sockfd; /* socket to read from or CURL_SOCKET_BAD */
|
||||||
curl_off_t size; /* -1 if unknown at this point */
|
curl_off_t size; /* -1 if unknown at this point */
|
||||||
curl_off_t *bytecountp; /* return number of bytes read or NULL */
|
curl_off_t *bytecountp; /* return number of bytes read or NULL */
|
||||||
|
|
||||||
/* WRITE stuff */
|
/* WRITE stuff */
|
||||||
curl_socket_t writesockfd; /* socket to write to, it may very
|
curl_socket_t writesockfd; /* socket to write to, it may very
|
||||||
well be the same we read from.
|
well be the same we read from.
|
||||||
@ -762,7 +762,7 @@ struct DynamicStatic {
|
|||||||
bool url_alloc; /* URL string is malloc()'ed */
|
bool url_alloc; /* URL string is malloc()'ed */
|
||||||
bool url_changed; /* set on CURL_OPT_URL, used to detect if the URL was
|
bool url_changed; /* set on CURL_OPT_URL, used to detect if the URL was
|
||||||
changed after the connect phase, as we allow callback
|
changed after the connect phase, as we allow callback
|
||||||
to change it and if so, we reconnect to use the new
|
to change it and if so, we reconnect to use the new
|
||||||
URL instead */
|
URL instead */
|
||||||
char *proxy; /* work proxy, copied from UserDefined */
|
char *proxy; /* work proxy, copied from UserDefined */
|
||||||
bool proxy_alloc; /* http proxy string is malloc()'ed */
|
bool proxy_alloc; /* http proxy string is malloc()'ed */
|
||||||
@ -787,7 +787,7 @@ struct UserDefined {
|
|||||||
char *proxyuserpwd; /* Proxy <user:password>, if used */
|
char *proxyuserpwd; /* Proxy <user:password>, if used */
|
||||||
long proxyport; /* If non-zero, use this port number by default. If the
|
long proxyport; /* If non-zero, use this port number by default. If the
|
||||||
proxy string features a ":[port]" that one will override
|
proxy string features a ":[port]" that one will override
|
||||||
this. */
|
this. */
|
||||||
void *out; /* the fetched file goes here */
|
void *out; /* the fetched file goes here */
|
||||||
void *in; /* the uploaded file is read from here */
|
void *in; /* the uploaded file is read from here */
|
||||||
void *writeheader; /* write the header to this is non-NULL */
|
void *writeheader; /* write the header to this is non-NULL */
|
||||||
@ -864,10 +864,10 @@ struct UserDefined {
|
|||||||
|
|
||||||
struct curl_slist *http200aliases; /* linked list of aliases for http200 */
|
struct curl_slist *http200aliases; /* linked list of aliases for http200 */
|
||||||
|
|
||||||
int ip_version;
|
int ip_version;
|
||||||
|
|
||||||
curl_off_t max_filesize; /* Maximum file size to download */
|
curl_off_t max_filesize; /* Maximum file size to download */
|
||||||
|
|
||||||
/* Here follows boolean settings that define how to behave during
|
/* Here follows boolean settings that define how to behave during
|
||||||
this session. They are STATIC, set by libcurl users or at least initially
|
this session. They are STATIC, set by libcurl users or at least initially
|
||||||
and they don't change during operations. */
|
and they don't change during operations. */
|
||||||
|
Loading…
Reference in New Issue
Block a user