# This file is automatically generated, do not modify directly
from enum import IntEnum

class CurlOpt(IntEnum):
	WRITEDATA = 10000 + 1
	URL = 10000 + 2
	PORT = 0 + 3
	PROXY = 10000 + 4
	USERPWD = 10000 + 5
	PROXYUSERPWD = 10000 + 6
	RANGE = 10000 + 7
	READDATA = 10000 + 9
	ERRORBUFFER = 10000 + 10
	WRITEFUNCTION = 20000 + 11
	READFUNCTION = 20000 + 12
	TIMEOUT = 0 + 13
	INFILESIZE = 0 + 14
	POSTFIELDS = 10000 + 15
	REFERER = 10000 + 16
	FTPPORT = 10000 + 17
	USERAGENT = 10000 + 18
	LOW_SPEED_LIMIT = 0 + 19
	LOW_SPEED_TIME = 0 + 20
	RESUME_FROM = 0 + 21
	COOKIE = 10000 + 22
	HTTPHEADER = 10000 + 23
	HTTPPOST = 10000 + 24
	SSLCERT = 10000 + 25
	KEYPASSWD = 10000 + 26
	CRLF = 0 + 27
	QUOTE = 10000 + 28
	HEADERDATA = 10000 + 29
	COOKIEFILE = 10000 + 31
	SSLVERSION = 0 + 32
	TIMECONDITION = 0 + 33
	TIMEVALUE = 0 + 34
	CUSTOMREQUEST = 10000 + 36
	STDERR = 10000 + 37
	POSTQUOTE = 10000 + 39
	OBSOLETE40 = 10000 + 40
	VERBOSE = 0 + 41
	HEADER = 0 + 42
	NOPROGRESS = 0 + 43
	NOBODY = 0 + 44
	FAILONERROR = 0 + 45
	UPLOAD = 0 + 46
	POST = 0 + 47
	DIRLISTONLY = 0 + 48
	APPEND = 0 + 50
	NETRC = 0 + 51
	FOLLOWLOCATION = 0 + 52
	TRANSFERTEXT = 0 + 53
	PUT = 0 + 54
	PROGRESSFUNCTION = 20000 + 56
	PROGRESSDATA = 10000 + 57
	AUTOREFERER = 0 + 58
	PROXYPORT = 0 + 59
	POSTFIELDSIZE = 0 + 60
	HTTPPROXYTUNNEL = 0 + 61
	INTERFACE = 10000 + 62
	KRBLEVEL = 10000 + 63
	SSL_VERIFYPEER = 0 + 64
	CAINFO = 10000 + 65
	MAXREDIRS = 0 + 68
	FILETIME = 0 + 69
	TELNETOPTIONS = 10000 + 70
	MAXCONNECTS = 0 + 71
	OBSOLETE72 = 0 + 72
	FRESH_CONNECT = 0 + 74
	FORBID_REUSE = 0 + 75
	RANDOM_FILE = 10000 + 76
	EGDSOCKET = 10000 + 77
	CONNECTTIMEOUT = 0 + 78
	HEADERFUNCTION = 20000 + 79
	HTTPGET = 0 + 80
	SSL_VERIFYHOST = 0 + 81
	COOKIEJAR = 10000 + 82
	SSL_CIPHER_LIST = 10000 + 83
	HTTP_VERSION = 0 + 84
	FTP_USE_EPSV = 0 + 85
	SSLCERTTYPE = 10000 + 86
	SSLKEY = 10000 + 87
	SSLKEYTYPE = 10000 + 88
	SSLENGINE = 10000 + 89
	SSLENGINE_DEFAULT = 0 + 90
	DNS_USE_GLOBAL_CACHE = 0 + 91
	DNS_CACHE_TIMEOUT = 0 + 92
	PREQUOTE = 10000 + 93
	DEBUGFUNCTION = 20000 + 94
	DEBUGDATA = 10000 + 95
	COOKIESESSION = 0 + 96
	CAPATH = 10000 + 97
	BUFFERSIZE = 0 + 98
	NOSIGNAL = 0 + 99
	SHARE = 10000 + 100
	PROXYTYPE = 0 + 101
	ACCEPT_ENCODING = 10000 + 102
	PRIVATE = 10000 + 103
	HTTP200ALIASES = 10000 + 104
	UNRESTRICTED_AUTH = 0 + 105
	FTP_USE_EPRT = 0 + 106
	HTTPAUTH = 0 + 107
	SSL_CTX_FUNCTION = 20000 + 108
	SSL_CTX_DATA = 10000 + 109
	FTP_CREATE_MISSING_DIRS = 0 + 110
	PROXYAUTH = 0 + 111
	FTP_RESPONSE_TIMEOUT = 0 + 112
	IPRESOLVE = 0 + 113
	MAXFILESIZE = 0 + 114
	INFILESIZE_LARGE = 30000 + 115
	RESUME_FROM_LARGE = 30000 + 116
	MAXFILESIZE_LARGE = 30000 + 117
	NETRC_FILE = 10000 + 118
	USE_SSL = 0 + 119
	POSTFIELDSIZE_LARGE = 30000 + 120
	TCP_NODELAY = 0 + 121
	FTPSSLAUTH = 0 + 129
	IOCTLFUNCTION = 20000 + 130
	IOCTLDATA = 10000 + 131
	FTP_ACCOUNT = 10000 + 134
	COOKIELIST = 10000 + 135
	IGNORE_CONTENT_LENGTH = 0 + 136
	FTP_SKIP_PASV_IP = 0 + 137
	FTP_FILEMETHOD = 0 + 138
	LOCALPORT = 0 + 139
	LOCALPORTRANGE = 0 + 140
	CONNECT_ONLY = 0 + 141
	CONV_FROM_NETWORK_FUNCTION = 20000 + 142
	CONV_TO_NETWORK_FUNCTION = 20000 + 143
	CONV_FROM_UTF8_FUNCTION = 20000 + 144
	MAX_SEND_SPEED_LARGE = 30000 + 145
	MAX_RECV_SPEED_LARGE = 30000 + 146
	FTP_ALTERNATIVE_TO_USER = 10000 + 147
	SOCKOPTFUNCTION = 20000 + 148
	SOCKOPTDATA = 10000 + 149
	SSL_SESSIONID_CACHE = 0 + 150
	SSH_AUTH_TYPES = 0 + 151
	SSH_PUBLIC_KEYFILE = 10000 + 152
	SSH_PRIVATE_KEYFILE = 10000 + 153
	FTP_SSL_CCC = 0 + 154
	TIMEOUT_MS = 0 + 155
	CONNECTTIMEOUT_MS = 0 + 156
	HTTP_TRANSFER_DECODING = 0 + 157
	HTTP_CONTENT_DECODING = 0 + 158
	NEW_FILE_PERMS = 0 + 159
	NEW_DIRECTORY_PERMS = 0 + 160
	POSTREDIR = 0 + 161
	SSH_HOST_PUBLIC_KEY_MD5 = 10000 + 162
	OPENSOCKETFUNCTION = 20000 + 163
	OPENSOCKETDATA = 10000 + 164
	COPYPOSTFIELDS = 10000 + 165
	PROXY_TRANSFER_MODE = 0 + 166
	SEEKFUNCTION = 20000 + 167
	SEEKDATA = 10000 + 168
	CRLFILE = 10000 + 169
	ISSUERCERT = 10000 + 170
	ADDRESS_SCOPE = 0 + 171
	CERTINFO = 0 + 172
	USERNAME = 10000 + 173
	PASSWORD = 10000 + 174
	PROXYUSERNAME = 10000 + 175
	PROXYPASSWORD = 10000 + 176
	NOPROXY = 10000 + 177
	TFTP_BLKSIZE = 0 + 178
	SOCKS5_GSSAPI_SERVICE = 10000 + 179
	SOCKS5_GSSAPI_NEC = 0 + 180
	PROTOCOLS = 0 + 181
	REDIR_PROTOCOLS = 0 + 182
	SSH_KNOWNHOSTS = 10000 + 183
	SSH_KEYFUNCTION = 20000 + 184
	SSH_KEYDATA = 10000 + 185
	MAIL_FROM = 10000 + 186
	MAIL_RCPT = 10000 + 187
	FTP_USE_PRET = 0 + 188
	RTSP_REQUEST = 0 + 189
	RTSP_SESSION_ID = 10000 + 190
	RTSP_STREAM_URI = 10000 + 191
	RTSP_TRANSPORT = 10000 + 192
	RTSP_CLIENT_CSEQ = 0 + 193
	RTSP_SERVER_CSEQ = 0 + 194
	INTERLEAVEDATA = 10000 + 195
	INTERLEAVEFUNCTION = 20000 + 196
	WILDCARDMATCH = 0 + 197
	CHUNK_BGN_FUNCTION = 20000 + 198
	CHUNK_END_FUNCTION = 20000 + 199
	FNMATCH_FUNCTION = 20000 + 200
	CHUNK_DATA = 10000 + 201
	FNMATCH_DATA = 10000 + 202
	RESOLVE = 10000 + 203
	TLSAUTH_USERNAME = 10000 + 204
	TLSAUTH_PASSWORD = 10000 + 205
	TLSAUTH_TYPE = 10000 + 206
	TRANSFER_ENCODING = 0 + 207
	CLOSESOCKETFUNCTION = 20000 + 208
	CLOSESOCKETDATA = 10000 + 209
	GSSAPI_DELEGATION = 0 + 210
	DNS_SERVERS = 10000 + 211
	ACCEPTTIMEOUT_MS = 0 + 212
	TCP_KEEPALIVE = 0 + 213
	TCP_KEEPIDLE = 0 + 214
	TCP_KEEPINTVL = 0 + 215
	SSL_OPTIONS = 0 + 216
	MAIL_AUTH = 10000 + 217
	SASL_IR = 0 + 218
	XFERINFOFUNCTION = 20000 + 219
	XOAUTH2_BEARER = 10000 + 220
	DNS_INTERFACE = 10000 + 221
	DNS_LOCAL_IP4 = 10000 + 222
	DNS_LOCAL_IP6 = 10000 + 223
	LOGIN_OPTIONS = 10000 + 224
	SSL_ENABLE_NPN = 0 + 225
	SSL_ENABLE_ALPN = 0 + 226
	EXPECT_100_TIMEOUT_MS = 0 + 227
	PROXYHEADER = 10000 + 228
	HEADEROPT = 0 + 229
	PINNEDPUBLICKEY = 10000 + 230
	UNIX_SOCKET_PATH = 10000 + 231
	SSL_VERIFYSTATUS = 0 + 232
	SSL_FALSESTART = 0 + 233
	PATH_AS_IS = 0 + 234
	PROXY_SERVICE_NAME = 10000 + 235
	SERVICE_NAME = 10000 + 236
	PIPEWAIT = 0 + 237
	DEFAULT_PROTOCOL = 10000 + 238
	STREAM_WEIGHT = 0 + 239
	STREAM_DEPENDS = 10000 + 240
	STREAM_DEPENDS_E = 10000 + 241
	if locals().get("WRITEDATA"):
		FILE = locals().get("WRITEDATA")
	if locals().get("READDATA"):
		INFILE = locals().get("READDATA")
	if locals().get("HEADERDATA"):
		WRITEHEADER = locals().get("READDATA")


class CurlInfo(IntEnum):
	TEXT = 0
	EFFECTIVE_URL = 0x100000 + 1
	RESPONSE_CODE = 0x200000 + 2
	TOTAL_TIME = 0x300000 + 3
	NAMELOOKUP_TIME = 0x300000 + 4
	CONNECT_TIME = 0x300000 + 5
	PRETRANSFER_TIME = 0x300000 + 6
	SIZE_UPLOAD = 0x300000 + 7
	SIZE_DOWNLOAD = 0x300000 + 8
	SPEED_DOWNLOAD = 0x300000 + 9
	SPEED_UPLOAD = 0x300000 + 10
	HEADER_SIZE = 0x200000 + 11
	REQUEST_SIZE = 0x200000 + 12
	SSL_VERIFYRESULT = 0x200000 + 13
	FILETIME = 0x200000 + 14
	CONTENT_LENGTH_DOWNLOAD = 0x300000 + 15
	CONTENT_LENGTH_UPLOAD = 0x300000 + 16
	STARTTRANSFER_TIME = 0x300000 + 17
	CONTENT_TYPE = 0x100000 + 18
	REDIRECT_TIME = 0x300000 + 19
	REDIRECT_COUNT = 0x200000 + 20
	PRIVATE = 0x100000 + 21
	HTTP_CONNECTCODE = 0x200000 + 22
	HTTPAUTH_AVAIL = 0x200000 + 23
	PROXYAUTH_AVAIL = 0x200000 + 24
	OS_ERRNO = 0x200000 + 25
	NUM_CONNECTS = 0x200000 + 26
	SSL_ENGINES = 0x400000 + 27
	COOKIELIST = 0x400000 + 28
	LASTSOCKET = 0x200000 + 29
	FTP_ENTRY_PATH = 0x100000 + 30
	REDIRECT_URL = 0x100000 + 31
	PRIMARY_IP = 0x100000 + 32
	APPCONNECT_TIME = 0x300000 + 33
	CERTINFO = 0x400000 + 34
	CONDITION_UNMET = 0x200000 + 35
	RTSP_SESSION_ID = 0x100000 + 36
	RTSP_CLIENT_CSEQ = 0x200000 + 37
	RTSP_SERVER_CSEQ = 0x200000 + 38
	RTSP_CSEQ_RECV = 0x200000 + 39
	PRIMARY_PORT = 0x200000 + 40
	LOCAL_IP = 0x100000 + 41
	LOCAL_PORT = 0x200000 + 42
	TLS_SESSION = 0x400000 + 43
	ACTIVESOCKET = 0x500000 + 44
	LASTONE = 44
	if locals().get("RESPONSE_CODE"):
		HTTP_CODE = locals().get("RESPONSE_CODE")
