GNU libmicrohttpd 1.0.0
Loading...
Searching...
No Matches
mhd_str_types.h File Reference

Header for string manipulating helpers types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _MHD_cstr_w_len
 
struct  _MHD_str_w_len
 
struct  _MHD_mstr_w_len
 

Macros

#define MHD_STATICSTR_LEN_(macro)
 
#define _MHD_S_STR_W_LEN(str)
 

Detailed Description

Header for string manipulating helpers types.

Author
Karlson2k (Evgeny Grin)

Definition in file mhd_str_types.h.

Macro Definition Documentation

◆ _MHD_S_STR_W_LEN

#define _MHD_S_STR_W_LEN ( str)
Value:
{ str, MHD_STATICSTR_LEN_(str) }
#define MHD_STATICSTR_LEN_(macro)
Definition mhd_str.h:45

Static string initialiser for struct _MHD_str_w_len

Definition at line 66 of file mhd_str_types.h.

◆ MHD_STATICSTR_LEN_

#define MHD_STATICSTR_LEN_ ( macro)
Value:
(sizeof(macro) / sizeof(char) - 1)

Determine length of static string / macro strings at compile time.

Definition at line 33 of file mhd_str_types.h.