70 "%s: Function \"Get\" not available",
78 "%s: Function \"Store\" not available",
105 "%s: Not enough memory (required: %lu)",
170 for (i = 0; i <=
clen; i++) {
171 if (!
memcmp(buf + i,
"\r\n--", 4)) {
256 memset(path, 0,
sizeof(path));
296#if !defined(NO_FILESYSTEMS)
308 "%s: Cannot write file %s",
328 "%s: Error saving file %s",
338 "%s: Cannot create file %s",
375 "APPLICATION/X-WWW-FORM-URLENCODED",
378 "APPLICATION/WWW-FORM-URLENCODED",
397 if ((
size_t)
buf_fill < (
sizeof(buf) - 1)) {
429 memset(path, 0,
sizeof(path));
446#if !defined(NO_FILESYSTEMS)
454 "%s: Cannot create file %s",
507#if !defined(NO_FILESYSTEMS)
513 "%s: Cannot write file %s",
527 sizeof(buf) - (
size_t)
used);
530 if ((
size_t)
buf_fill < (
sizeof(buf) - 1)) {
535#if !defined(NO_FILESYSTEMS)
563#if !defined(NO_FILESYSTEMS)
575 "%s: Error saving file %s",
633 "%s: Cannot allocate memory for boundary [%lu]",
709 if ((
d > 0) && (buf[
d] ==
'-')) {
716 if (buf[0] !=
'-' || buf[1] !=
'-') {
726 if (buf[
bl + 2] !=
'\r' || buf[
bl + 3] !=
'\n') {
730 || (
strncmp(buf +
bl + 2,
"--\r\n", 4))) {
763 "Content-Disposition");
868 if (!(((ptrdiff_t)
fbeg > (ptrdiff_t)
nend)
869 || ((ptrdiff_t)
nbeg > (ptrdiff_t)
fend))) {
875 memset(path, 0,
sizeof(path));
893#if !defined(NO_FILESYSTEMS)
903 "%s: Cannot create file %s",
948#if !defined(NO_FILESYSTEMS)
956 "%s: Cannot write file %s",
975#if !defined(NO_FILESYSTEMS)
994 if (!next && (
r == 0)) {
1022#if !defined(NO_FILESYSTEMS)
1029 "%s: Cannot write file %s",
1046 "%s: Error saving file %s",
1065 used = next - buf + 2;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
int mg_strncasecmp(const char *s1, const char *s2, size_t len)
#define mg_malloc_ctx(a, c)
static void remove_bad_file(const struct mg_connection *conn, const char *path)
static __inline void * mg_malloc(size_t a)
static int mg_fopen(const struct mg_connection *conn, const char *path, int mode, struct mg_file *filep)
static int parse_http_headers(char **buf, struct mg_header hdr[(64)])
static const char * get_header(const struct mg_header *hdr, int num_hdr, const char *name)
const char * mg_get_header(const struct mg_connection *conn, const char *name)
#define mg_cry_internal(conn, fmt,...)
int mg_url_decode(const char *src, int src_len, char *dst, int dst_len, int is_form_url_encoded)
#define MG_FOPEN_MODE_WRITE
static void remove_dot_segments(char *inout)
int mg_read(struct mg_connection *conn, void *buf, size_t len)
static int mg_fclose(struct mg_file_access *fileacc)
static __inline void mg_free(void *a)
#define STRUCT_FILE_INITIALIZER
@ MG_FORM_FIELD_STORAGE_GET
@ MG_FORM_FIELD_STORAGE_ABORT
@ MG_FORM_FIELD_STORAGE_STORE
@ MG_FORM_FIELD_STORAGE_SKIP
@ MG_FORM_FIELD_HANDLE_NEXT
@ MG_FORM_FIELD_HANDLE_ABORT
struct mg_request_info request_info
struct mg_context * phys_ctx