1__extension__ typedef __SIZE_TYPE__ size_t;
2__extension__ typedef long long int __quad_t;
3__extension__ typedef unsigned int __mode_t;
4__extension__ typedef __quad_t __off64_t;
5typedef __mode_t mode_t;
6typedef __off64_t off_t;
7struct timeval   {};
8typedef struct   {} fd_set;
9typedef union {} __pthread_slist_t;
10typedef union {
11    struct __pthread_mutex_s   { __extension__ union { };   } __data;
12};
13extern int stat64 (__const char *__restrict __file,      struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14extern int fstatat64 (int __fd, __const char *__restrict __file,         struct stat64 *__restrict __buf, int __flag)      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
15enum __socket_type { SOCK_STREAM = 1, };
16enum { SI_ASYNCNL = -60, };
17enum { CLD_EXITED = 1, };
18typedef struct sigaltstack   { } stack_t;
19enum __rlimit_resource { __RLIMIT_SIGPENDING = 11, };
20struct rlimit   { };
21enum __priority_which { PRIO_PROCESS = 0, };
22typedef union   { } __WAIT_STATUS __attribute__ ((__transparent_union__));
23union wait   {
24    struct       {       } __wait_stopped;
25};
26typedef enum {  P_ALL, } idtype_t;
27struct utsname   { };
28enum   { IPPROTO_IP = 0,   };
29enum   { IPPORT_ECHO = 7,   };
30struct in_addr   { };
31struct in6_addr   {
32    union       {       } in6_u;
33};
34typedef long int wchar_t;
35typedef unsigned char guint8;
36typedef signed int gint32;
37typedef unsigned int guint32;
38typedef signed int gssize;
39typedef unsigned int gsize;
40struct _GStaticMutex {
41    union {   } static_mutex;
42};
43union _GSystemThread { };
44typedef int GPid;
45typedef char gchar;
46typedef int gint;
47typedef gint gboolean;
48typedef unsigned short gushort;
49typedef unsigned long gulong;
50typedef unsigned int guint;
51typedef void* gpointer;
52typedef const void *gconstpointer;
53typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b);
54typedef void (*GFunc) (gpointer data,   gpointer user_data);
55typedef void (*GHFunc) (gpointer key,   gpointer user_data);
56struct _GTimeVal { };
57typedef struct _GByteArray GByteArray;
58guint8* g_byte_array_free (GByteArray *array,      guint index_);
59typedef guint32 GQuark;
60typedef struct _GError GError;
61GError* g_error_new (GQuark domain,   const gchar *message);
62gboolean g_error_matches (const GError *error,   gint code);
63typedef __builtin_va_list __gnuc_va_list;
64typedef __gnuc_va_list va_list;
65typedef enum { G_USER_DIRECTORY_DESKTOP, } GUserDirectory;
66typedef enum { G_THREAD_PRIORITY_URGENT } GThreadPriority;
67struct _GThread { };
68typedef struct _GCond GCond;
69struct _GThreadFunctions {
70    void (*cond_wait) (GCond *cond,  GError **error);
71    gboolean (*thread_equal) (gpointer thread1,        gpointer thread2);
72};
73typedef struct _GAsyncQueue GAsyncQueue;
74void g_async_queue_sort (GAsyncQueue *queue,           guint *save);
75struct tm { };
76typedef struct __locale_struct { } *__locale_t;
77extern int getaddrinfo (__const char *__restrict __name, struct addrinfo **__restrict __pai);
78typedef struct _IO_FILE FILE;
79__strsep_1c (char **__s, char __reject) { }
80__strsep_2c (char **__s, char __reject1, char __reject2) { }
81typedef struct stack_st  { } STACK;
82typedef struct asn1_string_st ASN1_BIT_STRING;
83typedef struct bn_mont_ctx_st BN_MONT_CTX;
84typedef struct evp_cipher_st EVP_CIPHER;
85typedef struct EDIPartyName_st {
86    union { } d;
87} GENERAL_NAME;
88typedef struct DIST_POINT_NAME_st {
89    union { } name;
90} DIST_POINT_NAME;
91typedef struct SXNET_st { } NOTICEREF;
92typedef struct GENERAL_SUBTREE_st { } X509_PURPOSE;
93int X509V3_add_value(const char *name, const char *value, STACK **extlist);
94int X509_PURPOSE_add(int id, int trust, int flags, char *name, char *sname, void *arg);
95extern char *dcgettext (__const char *__domainname, __const char *__msgid, int __category) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
96enum { __LC_CTYPE = 0, };
97struct lconv { };
98typedef enum gftp_logging_level_tag { gftp_logging_send, } gftp_logging_level;
99struct gftp_file_tag {
100    char *file,        *destfile;
101    unsigned int selected : 1,
102                is_fd : 1;
103    gint32 ipv4_network_address, ipv4_netmask;
104} gftp_proxy_hosts;
105typedef enum { gftp_option_type_text = 0, } gftp_option_type_enum;
106typedef struct gftp_config_list_vars_tag { } gftp_config_list_vars;
107typedef struct gftp_config_vars_tag { } gftp_config_vars;
108typedef struct gftp_option_type_tag {
109    int (*read_function) (char *str, gftp_config_vars * cv, int line);
110    int (*write_function) (gftp_config_vars * cv, char *buf, size_t buflen, int to_config_file);
111} gftp_option_type_var;
112typedef struct gftp_request_tag gftp_request;
113typedef void (*gftp_logging_func) ( gftp_logging_level level, const char *string, ... );
114typedef struct gftp_transfer_tag {
115    gftp_request * fromreq, * toreq;
116    unsigned int cancel : 1,
117                skip_file : 1;
118    long numfiles,  resumed_bytes;
119} gftp_transfer;
120typedef struct gftp_log_tag {
121    unsigned int shown : 1,
122	use_threads : 1;
123} supported_gftp_protocols;
124void
125gftp_config_parse_args (char *str, int numargs, int lineno, char **first, ...)
126{
127    char *curpos, *endpos, *pos, **dest, tempchar;
128    va_list argp;
129    dest = first;
130    while (numargs > 0)
131    {
132        if (numargs > 1)
133	{
134	    dest = __builtin_va_arg(argp,char **);
135	    *dest = ((void *)0);
136	}
137	numargs--;
138	**dest = '\0';
139    }
140}
141