1 #ifndef CIVETWEB_CONFIGURED 2 #define CIVETWEB_CONFIGURED 35 #ifndef CIVETWEB_HEADER_INCLUDED 36 #define CIVETWEB_HEADER_INCLUDED 38 #define CIVETWEB_VERSION "1.8" 42 #if defined(CIVETWEB_DLL_EXPORTS) 43 #define CIVETWEB_API __declspec(dllexport) 44 #elif defined(CIVETWEB_DLL_IMPORTS) 45 #define CIVETWEB_API __declspec(dllimport) 50 #define CIVETWEB_API __attribute__((visibility("default"))) 84 #if defined(MG_LEGACY_INTERFACE) 144 #if defined(MG_LEGACY_INTERFACE) 255 const char **configuration_options);
413 #if defined(MG_LEGACY_INTERFACE) 419 CIVETWEB_API const char **mg_get_valid_option_names(
void);
550 #if defined(MG_LEGACY_INTERFACE) 551 #define mg_lock mg_lock_connection 552 #define mg_unlock mg_unlock_connection 574 #undef PRINTF_FORMAT_STRING 575 #if defined(_MSC_VER) && _MSC_VER >= 1400 577 #if defined(_MSC_VER) && _MSC_VER > 1400 578 #define PRINTF_FORMAT_STRING(s) _Printf_format_string_ s 580 #define PRINTF_FORMAT_STRING(s) __format_string s 583 #define PRINTF_FORMAT_STRING(s) s 587 #define PRINTF_ARGS(x, y) __attribute__((format(printf, x, y))) 589 #define PRINTF_ARGS(x, y) 662 const char *var_name,
692 const char *var_name,
712 const char *var_name,
737 size_t error_buffer_size,
751 const char *destination_dir);
776 int(*field_found)(
const char *key,
777 const char *filename,
793 int(*field_get)(
const char *key,
849 typedef void *(*mg_thread_func_t)(
void *);
872 int is_form_url_encoded);
929 size_t error_buffer_size,
953 size_t error_buffer_size);
968 size_t error_buffer_size);
int port
Definition: civetweb.h:958
Definition: civetweb.h:828
const char * http_version
Definition: civetweb.h:77
CIVETWEB_API void * mg_get_user_connection_data(const struct mg_connection *conn)
Definition: civetweb.c:1745
int(* log_access)(const struct mg_connection *, const char *message)
Definition: civetweb.h:133
CIVETWEB_API const struct mg_option * mg_get_valid_options(void)
Definition: civetweb.c:1458
const char * mime_type
Definition: civetweb.c:4910
GLuint const GLchar * name
Definition: glext.h:6671
CIVETWEB_API int mg_get_cookie(const char *cookie, const char *var_name, char *buf, size_t buf_len)
Definition: civetweb.c:4405
CIVETWEB_API void mg_set_request_handler(struct mg_context *ctx, const char *uri, mg_request_handler handler, void *cbdata)
Definition: civetweb.c:9537
GLbitfield GLuint64 timeout
Definition: glext.h:7831
#define file_name
Definition: ps3_defines.h:291
Definition: civetweb.h:971
#define const
Definition: zconf.h:217
static const unsigned char password[MAX_TESTS][32]
Definition: pkcs5.c:305
Definition: civetweb.h:756
CIVETWEB_API int mg_websocket_client_write(struct mg_connection *conn, int opcode, const char *data, size_t data_len)
Definition: civetweb.h:107
CIVETWEB_API void * mg_get_user_data(const struct mg_context *ctx)
Definition: civetweb.c:1729
#define file_size
Definition: ps3_defines.h:293
int _reserved1
Definition: civetweb.h:452
int _reserved4
Definition: civetweb.h:455
CIVETWEB_API void mg_set_websocket_handler(struct mg_context *ctx, const char *uri, mg_websocket_connect_handler connect_handler, mg_websocket_ready_handler ready_handler, mg_websocket_data_handler data_handler, mg_websocket_close_handler close_handler, void *cbdata)
Definition: civetweb.c:9557
CIVETWEB_API const char * mg_get_builtin_mime_type(const char *file_name)
Definition: civetweb.c:5009
int _reserved2
Definition: civetweb.h:453
void(* init_lua)(const struct mg_connection *, void *lua_context)
Definition: civetweb.h:198
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
int remote_port
Definition: civetweb.h:91
int(* mg_websocket_connect_handler)(const struct mg_connection *, void *)
Definition: civetweb.h:333
CIVETWEB_API struct mg_connection * mg_connect_client(const char *host, int port, int use_ssl, char *error_buffer, size_t error_buffer_size)
Definition: civetweb.c:11557
GLsizei const GLchar ** path
Definition: glext.h:7901
const char * request_method
Definition: civetweb.h:70
void(* connection_close)(const struct mg_connection *)
Definition: civetweb.h:178
GLenum GLsizei len
Definition: glext.h:7389
CIVETWEB_API int mg_write(struct mg_connection *, const void *buf, size_t len)
Definition: civetweb.c:4123
int(* http_error)(struct mg_connection *, int status)
Definition: civetweb.h:213
CIVETWEB_API int mg_url_decode(const char *src, int src_len, char *dst, int dst_len, int is_form_url_encoded)
Definition: civetweb.c:4302
int(* mg_websocket_data_handler)(struct mg_connection *, int, char *, size_t, void *)
Definition: civetweb.h:336
int(* log_message)(const struct mg_connection *, const char *message)
Definition: civetweb.h:129
GLsizeiptr size
Definition: glext.h:6559
int(* mg_request_handler)(struct mg_connection *conn, void *cbdata)
Definition: civetweb.h:278
GLfloat f
Definition: glext.h:8207
int protocol
Definition: civetweb.h:448
int is_redirect
Definition: civetweb.h:451
#define ssl_context
Definition: compat-1.3.h:2276
int type
Definition: civetweb.h:425
Definition: civetweb.h:437
includes all by default used to find thumbnails Please choose a single playlist first Add Entry Add Folder Select Files< multiple > Please fill out all required fields RetroArch updated successfully Please restart the application for the changes to take effect Contributors Move Down Load Remove Add Pass No shader passes Reset All Passes Download thumbnail Start on Download All Thumbnails This Playlist Configured in port
Definition: msg_hash_us.h:7699
Definition: civetweb.h:447
CIVETWEB_API struct mg_context * mg_start(const struct mg_callbacks *callbacks, void *user_data, const char **configuration_options)
Definition: civetweb.c:12793
int num_headers
Definition: civetweb.h:96
CIVETWEB_API const struct mg_request_info * mg_get_request_info(const struct mg_connection *)
Definition: civetweb.c:1949
static void close_func(LexState *ls)
Definition: lparser.c:552
CIVETWEB_API struct mg_connection * mg_connect_websocket_client(const char *host, int port, int use_ssl, char *error_buffer, size_t error_buffer_size, const char *path, const char *origin, mg_websocket_data_handler data_func, mg_websocket_close_handler close_func, void *user_data)
Definition: civetweb.c:11978
CIVETWEB_API void CIVETWEB_API int mg_strncasecmp(const char *s1, const char *s2, size_t len)
Definition: civetweb.c:1562
CIVETWEB_API void mg_set_auth_handler(struct mg_context *ctx, const char *uri, mg_authorization_handler handler, void *cbdata)
Definition: civetweb.c:9582
Definition: civetweb.h:832
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void(* end_request)(const struct mg_connection *, int reply_status_code)
Definition: civetweb.h:125
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:6303
const char * name
Definition: civetweb.h:98
CIVETWEB_API int mg_handle_form_request(struct mg_connection *conn, struct mg_form_data_handler *fdh)
Definition: handle_form.inl:155
CIVETWEB_API void mg_send_mime_file(struct mg_connection *conn, const char *path, const char *mime_type)
Definition: civetweb.c:6616
CIVETWEB_API void mg_set_user_connection_data(const struct mg_connection *conn, void *data)
Definition: civetweb.c:1736
void(* mg_websocket_close_handler)(const struct mg_connection *, void *)
Definition: civetweb.h:341
void * conn_data
Definition: civetweb.h:94
CIVETWEB_API struct mg_connection * mg_connect_client_secure(const struct mg_client_options *client_options, char *error_buffer, size_t error_buffer_size)
Definition: civetweb.c:11545
Definition: civetweb.h:568
CIVETWEB_API const char * mg_get_header(const struct mg_connection *, const char *name)
Definition: civetweb.c:2042
const char * request_uri
Definition: civetweb.h:71
int port
Definition: civetweb.h:449
void(* init_context)(const struct mg_context *ctx)
Definition: civetweb.h:219
CIVETWEB_API int mg_get_response(struct mg_connection *conn, char *ebuf, size_t ebuf_len, int timeout)
Definition: civetweb.c:11856
struct mg_request_info::mg_header http_headers[64]
AVFormatContext * ctx
Definition: record_ffmpeg.c:247
const char * name
Definition: civetweb.h:424
CIVETWEB_API int mg_websocket_write(struct mg_connection *conn, int opcode, const char *data, size_t data_len)
CIVETWEB_API struct mg_connection * mg_download(const char *host, int port, int use_ssl, char *error_buffer, size_t error_buffer_size, PRINTF_FORMAT_STRING(const char *request_fmt),...) PRINTF_ARGS(6
CIVETWEB_API char * mg_md5(char buf[33],...)
Definition: civetweb.c:5077
const char * remote_user
Definition: civetweb.h:80
Definition: civetweb.h:567
Definition: civetweb.h:432
const char * local_uri
Definition: civetweb.h:73
const char * default_value
Definition: civetweb.h:426
Definition: civetweb.h:569
const char * query_string
Definition: civetweb.h:78
CIVETWEB_API struct mg_context * mg_get_context(const struct mg_connection *conn)
Definition: civetweb.c:1722
CIVETWEB_API void mg_lock_context(struct mg_context *ctx)
Definition: civetweb.c:8381
GLenum GLuint GLenum GLsizei const GLchar * message
Definition: glext.h:6233
CIVETWEB_API size_t mg_get_ports(const struct mg_context *ctx, size_t size, int *ports, int *ssl)
Definition: civetweb.c:1755
Definition: civetweb.h:431
CIVETWEB_API struct mg_connection CIVETWEB_API void mg_close_connection(struct mg_connection *conn)
Definition: civetweb.c:11374
void(* exit_context)(const struct mg_context *ctx)
Definition: civetweb.h:224
GLenum src
Definition: glext.h:6980
const char * server_cert
Definition: civetweb.h:960
Definition: civetweb.h:434
CIVETWEB_API int mg_start_thread(mg_thread_func_t f, void *p)
Definition: civetweb.c:3440
Definition: civetweb.h:565
Definition: civetweb.h:826
CIVETWEB_API void mg_cry(const struct mg_connection *conn, PRINTF_FORMAT_STRING(const char *fmt),...) PRINTF_ARGS(2
const char * uri
Definition: civetweb.h:76
struct mg_callbacks callbacks
Definition: civetweb.c:1223
char remote_addr[48]
Definition: civetweb.h:82
GLfloat GLfloat p
Definition: glext.h:9809
CIVETWEB_API void mg_unlock_context(struct mg_context *ctx)
Definition: civetweb.c:8389
Definition: civetweb.h:566
CIVETWEB_API int CIVETWEB_API void mg_send_file(struct mg_connection *conn, const char *path)
Definition: civetweb.c:6610
const char * host
Definition: civetweb.h:957
CIVETWEB_API int mg_get_var(const char *data, size_t data_len, const char *var_name, char *dst, size_t dst_len)
Definition: civetweb.c:4335
Definition: civetweb.h:97
CIVETWEB_API int mg_modify_passwords_file(const char *passwords_file_name, const char *domain, const char *user, const char *password)
Definition: civetweb.c:5603
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
Definition: glext.h:11836
void * user_data
Definition: civetweb.c:1224
const char * value
Definition: civetweb.h:99
int(* begin_request)(struct mg_connection *)
Definition: civetweb.h:122
CIVETWEB_API const char * mg_get_option(const struct mg_context *ctx, const char *name)
Definition: civetweb.c:1706
void(* mg_websocket_ready_handler)(struct mg_connection *, void *)
Definition: civetweb.h:335
CIVETWEB_API int mg_printf(struct mg_connection *, PRINTF_FORMAT_STRING(const char *fmt),...) PRINTF_ARGS(2
CIVETWEB_API int mg_read(struct mg_connection *, void *buf, size_t len)
Definition: civetweb.c:4042
Definition: civetweb.h:564
Definition: civetweb.h:435
void *(* mg_thread_func_t)(void *)
Definition: civetweb.h:849
int data_len
Definition: civetweb.c:1293
int is_ssl
Definition: civetweb.h:92
JSON_Parser_EncodingDetectedHandler handler
Definition: jsonsax_full.h:561
Definition: civetweb.h:956
Definition: civetweb.c:1266
int _reserved3
Definition: civetweb.h:454
CIVETWEB_API int mg_url_encode(const char *src, char *dst, size_t dst_len)
Definition: civetweb.c:5888
CIVETWEB_API void mg_unlock_connection(struct mg_connection *conn)
Definition: civetweb.c:8373
const char * client_cert
Definition: civetweb.h:959
CIVETWEB_API int mg_get_server_ports(const struct mg_context *ctx, int size, struct mg_server_ports *ports)
Definition: civetweb.c:1770
CIVETWEB_API int mg_get_var2(const char *data, size_t data_len, const char *var_name, char *dst, size_t dst_len, size_t occurrence)
Definition: civetweb.c:4346
void * user_data
Definition: civetweb.h:93
GLsizei const GLfloat * value
Definition: glext.h:6709
CIVETWEB_API const char * mg_version(void)
Definition: civetweb.c:1942
void(* upload)(struct mg_connection *, const char *file_name)
Definition: civetweb.h:204
CIVETWEB_API int mg_upload(struct mg_connection *conn, const char *destination_dir)
Definition: civetweb.c:9304
int is_ssl
Definition: civetweb.h:450
GLenum GLenum dst
Definition: glext.h:6980
#define CIVETWEB_API
Definition: civetweb.h:52
CIVETWEB_API long long mg_store_body(struct mg_connection *conn, const char *path)
Definition: civetweb.c:6701
#define PRINTF_FORMAT_STRING(s)
Definition: civetweb.h:583
CIVETWEB_API void mg_lock_connection(struct mg_connection *conn)
Definition: civetweb.c:8365
Definition: civetweb.h:433
#define PRINTF_ARGS(x, y)
Definition: civetweb.h:589
Definition: civetweb.c:1219
Definition: civetweb.h:830
void * user_data
Definition: civetweb.h:817
Definition: civetweb.h:436
CIVETWEB_API unsigned mg_check_feature(unsigned feature)
Definition: civetweb.c:13016
long long content_length
Definition: civetweb.h:89
int(* mg_authorization_handler)(struct mg_connection *conn, void *cbdata)
Definition: civetweb.h:370
Definition: civetweb.h:423
int(* init_ssl)(void *ssl_context, void *user_data)
Definition: civetweb.h:142
Definition: civetweb.h:69
CIVETWEB_API void mg_stop(struct mg_context *)
Definition: civetweb.c:12719