GNU libmicrohttpd  0.9.29
mhd_limits.h File Reference

limits values definitions More...

#include "platform.h"
Include dependency graph for mhd_limits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LONG_MAX   ((long) ~(((uint64_t) 1) << (8 * sizeof(long) - 1)))
 
#define MHD_UNSIGNED_LONG_LONG   ) ~((MHD_UNSIGNED_LONG_LONG)0))
 
#define INT32_MAX   ((int32_t)0x7FFFFFFF)
 
#define SIZE_MAX   ((size_t) ~((size_t)0))
 
#define OFF_T_MAX   ((off_t) ~(((uint64_t) 1) << (8 * sizeof(off_t) - 1)))
 
#define TIME_T_MAX   ( (time_t) ~(((uint64_t) 1) << (8 * sizeof(time_t) - 1)) )
 
#define TIMEVAL_TV_SEC_MAX   TIME_T_MAX
 

Detailed Description

limits values definitions

Author
Karlson2k (Evgeny Grin)

Definition in file mhd_limits.h.

Macro Definition Documentation

#define INT32_MAX   ((int32_t)0x7FFFFFFF)

Definition at line 44 of file mhd_limits.h.

Referenced by file_reader(), and MHD_create_response_from_fd_at_offset64().

#define LONG_MAX   ((long) ~(((uint64_t) 1) << (8 * sizeof(long) - 1)))

Definition at line 36 of file mhd_limits.h.

Referenced by MHD_digest_auth_check(), and parse_connection_headers().

#define MHD_UNSIGNED_LONG_LONG   ) ~((MHD_UNSIGNED_LONG_LONG)0))

Definition at line 40 of file mhd_limits.h.

#define OFF_T_MAX   ((off_t) ~(((uint64_t) 1) << (8 * sizeof(off_t) - 1)))

Definition at line 52 of file mhd_limits.h.

Referenced by send_param_adapter().

#define SIZE_MAX   ((size_t) ~((size_t)0))

Definition at line 48 of file mhd_limits.h.

Referenced by MHD_connection_handle_write(), and parse_options_va().

#define TIME_T_MAX   ( (time_t) ~(((uint64_t) 1) << (8 * sizeof(time_t) - 1)) )

Definition at line 62 of file mhd_limits.h.

#define TIMEVAL_TV_SEC_MAX   TIME_T_MAX

Definition at line 67 of file mhd_limits.h.

Referenced by MHD_handle_connection(), and MHD_select().