1 |
688 |
jeremybenn |
__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;
|
5 |
|
|
typedef __mode_t mode_t;
|
6 |
|
|
typedef __off64_t off_t;
|
7 |
|
|
struct timeval {};
|
8 |
|
|
typedef struct {} fd_set;
|
9 |
|
|
typedef union {} __pthread_slist_t;
|
10 |
|
|
typedef union {
|
11 |
|
|
struct __pthread_mutex_s { __extension__ union { }; } __data;
|
12 |
|
|
};
|
13 |
|
|
extern int stat64 (__const char *__restrict __file, struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
|
14 |
|
|
extern int fstatat64 (int __fd, __const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
|
15 |
|
|
enum __socket_type { SOCK_STREAM = 1, };
|
16 |
|
|
enum { SI_ASYNCNL = -60, };
|
17 |
|
|
enum { CLD_EXITED = 1, };
|
18 |
|
|
typedef struct sigaltstack { } stack_t;
|
19 |
|
|
enum __rlimit_resource { __RLIMIT_SIGPENDING = 11, };
|
20 |
|
|
struct rlimit { };
|
21 |
|
|
enum __priority_which { PRIO_PROCESS = 0, };
|
22 |
|
|
typedef union { } __WAIT_STATUS __attribute__ ((__transparent_union__));
|
23 |
|
|
union wait {
|
24 |
|
|
struct { } __wait_stopped;
|
25 |
|
|
};
|
26 |
|
|
typedef enum { P_ALL, } idtype_t;
|
27 |
|
|
struct utsname { };
|
28 |
|
|
enum { IPPROTO_IP = 0, };
|
29 |
|
|
enum { IPPORT_ECHO = 7, };
|
30 |
|
|
struct in_addr { };
|
31 |
|
|
struct in6_addr {
|
32 |
|
|
union { } in6_u;
|
33 |
|
|
};
|
34 |
|
|
typedef long int wchar_t;
|
35 |
|
|
typedef unsigned char guint8;
|
36 |
|
|
typedef signed int gint32;
|
37 |
|
|
typedef unsigned int guint32;
|
38 |
|
|
typedef signed int gssize;
|
39 |
|
|
typedef unsigned int gsize;
|
40 |
|
|
struct _GStaticMutex {
|
41 |
|
|
union { } static_mutex;
|
42 |
|
|
};
|
43 |
|
|
union _GSystemThread { };
|
44 |
|
|
typedef int GPid;
|
45 |
|
|
typedef char gchar;
|
46 |
|
|
typedef int gint;
|
47 |
|
|
typedef gint gboolean;
|
48 |
|
|
typedef unsigned short gushort;
|
49 |
|
|
typedef unsigned long gulong;
|
50 |
|
|
typedef unsigned int guint;
|
51 |
|
|
typedef void* gpointer;
|
52 |
|
|
typedef const void *gconstpointer;
|
53 |
|
|
typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b);
|
54 |
|
|
typedef void (*GFunc) (gpointer data, gpointer user_data);
|
55 |
|
|
typedef void (*GHFunc) (gpointer key, gpointer user_data);
|
56 |
|
|
struct _GTimeVal { };
|
57 |
|
|
typedef struct _GByteArray GByteArray;
|
58 |
|
|
guint8* g_byte_array_free (GByteArray *array, guint index_);
|
59 |
|
|
typedef guint32 GQuark;
|
60 |
|
|
typedef struct _GError GError;
|
61 |
|
|
GError* g_error_new (GQuark domain, const gchar *message);
|
62 |
|
|
gboolean g_error_matches (const GError *error, gint code);
|
63 |
|
|
typedef __builtin_va_list __gnuc_va_list;
|
64 |
|
|
typedef __gnuc_va_list va_list;
|
65 |
|
|
typedef enum { G_USER_DIRECTORY_DESKTOP, } GUserDirectory;
|
66 |
|
|
typedef enum { G_THREAD_PRIORITY_URGENT } GThreadPriority;
|
67 |
|
|
struct _GThread { };
|
68 |
|
|
typedef struct _GCond GCond;
|
69 |
|
|
struct _GThreadFunctions {
|
70 |
|
|
void (*cond_wait) (GCond *cond, GError **error);
|
71 |
|
|
gboolean (*thread_equal) (gpointer thread1, gpointer thread2);
|
72 |
|
|
};
|
73 |
|
|
typedef struct _GAsyncQueue GAsyncQueue;
|
74 |
|
|
void g_async_queue_sort (GAsyncQueue *queue, guint *save);
|
75 |
|
|
struct tm { };
|
76 |
|
|
typedef struct __locale_struct { } *__locale_t;
|
77 |
|
|
extern int getaddrinfo (__const char *__restrict __name, struct addrinfo **__restrict __pai);
|
78 |
|
|
typedef struct _IO_FILE FILE;
|
79 |
|
|
__strsep_1c (char **__s, char __reject) { }
|
80 |
|
|
__strsep_2c (char **__s, char __reject1, char __reject2) { }
|
81 |
|
|
typedef struct stack_st { } STACK;
|
82 |
|
|
typedef struct asn1_string_st ASN1_BIT_STRING;
|
83 |
|
|
typedef struct bn_mont_ctx_st BN_MONT_CTX;
|
84 |
|
|
typedef struct evp_cipher_st EVP_CIPHER;
|
85 |
|
|
typedef struct EDIPartyName_st {
|
86 |
|
|
union { } d;
|
87 |
|
|
} GENERAL_NAME;
|
88 |
|
|
typedef struct DIST_POINT_NAME_st {
|
89 |
|
|
union { } name;
|
90 |
|
|
} DIST_POINT_NAME;
|
91 |
|
|
typedef struct SXNET_st { } NOTICEREF;
|
92 |
|
|
typedef struct GENERAL_SUBTREE_st { } X509_PURPOSE;
|
93 |
|
|
int X509V3_add_value(const char *name, const char *value, STACK **extlist);
|
94 |
|
|
int X509_PURPOSE_add(int id, int trust, int flags, char *name, char *sname, void *arg);
|
95 |
|
|
extern char *dcgettext (__const char *__domainname, __const char *__msgid, int __category) __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
|
96 |
|
|
enum { __LC_CTYPE = 0, };
|
97 |
|
|
struct lconv { };
|
98 |
|
|
typedef enum gftp_logging_level_tag { gftp_logging_send, } gftp_logging_level;
|
99 |
|
|
struct 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;
|
105 |
|
|
typedef enum { gftp_option_type_text = 0, } gftp_option_type_enum;
|
106 |
|
|
typedef struct gftp_config_list_vars_tag { } gftp_config_list_vars;
|
107 |
|
|
typedef struct gftp_config_vars_tag { } gftp_config_vars;
|
108 |
|
|
typedef 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;
|
112 |
|
|
typedef struct gftp_request_tag gftp_request;
|
113 |
|
|
typedef void (*gftp_logging_func) ( gftp_logging_level level, const char *string, ... );
|
114 |
|
|
typedef 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;
|
120 |
|
|
typedef struct gftp_log_tag {
|
121 |
|
|
unsigned int shown : 1,
|
122 |
|
|
use_threads : 1;
|
123 |
|
|
} supported_gftp_protocols;
|
124 |
|
|
void
|
125 |
|
|
gftp_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 |
|
|
}
|