LibreDWG API  0.12.2
LibreDWG API - The DWG Library
curlrules.h File Reference

Go to the source code of this file.

Macros

#define CurlchkszEQ(t, s)   sizeof(t) == s ? 1 : -1
 
#define CurlchkszGE(t1, t2)   sizeof(t1) >= sizeof(t2) ? 1 : -1
 
#define __CURL_OFF_T_C_HLPR2(Val, Suffix)   ValSuffix
 
#define __CURL_OFF_T_C_HLPR1(Val, Suffix)   __CURL_OFF_T_C_HLPR2(Val,Suffix)
 
#define CURL_OFF_T_C(Val)   __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T)
 
#define CURL_OFF_TU_C(Val)   __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_TU)
 

Typedefs

typedef char __curl_rule_01__[sizeof(long)==CURL_SIZEOF_LONG ? 1 :-1]
 
typedef char __curl_rule_02__[sizeof(curl_off_t)==CURL_SIZEOF_CURL_OFF_T ? 1 :-1]
 
typedef char __curl_rule_03__[sizeof(curl_off_t) >=sizeof(long) ? 1 :-1]
 
typedef char __curl_rule_04__[sizeof(curl_socklen_t)==CURL_SIZEOF_CURL_SOCKLEN_T ? 1 :-1]
 
typedef char __curl_rule_05__[sizeof(curl_socklen_t) >=sizeof(int) ? 1 :-1]
 

Macro Definition Documentation

◆ __CURL_OFF_T_C_HLPR1

#define __CURL_OFF_T_C_HLPR1 (   Val,
  Suffix 
)    __CURL_OFF_T_C_HLPR2(Val,Suffix)

◆ __CURL_OFF_T_C_HLPR2

#define __CURL_OFF_T_C_HLPR2 (   Val,
  Suffix 
)    ValSuffix

◆ CURL_OFF_T_C

#define CURL_OFF_T_C (   Val)    __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T)

◆ CURL_OFF_TU_C

#define CURL_OFF_TU_C (   Val)    __CURL_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_TU)

◆ CurlchkszEQ

#define CurlchkszEQ (   t,
  s 
)    sizeof(t) == s ? 1 : -1

◆ CurlchkszGE

#define CurlchkszGE (   t1,
  t2 
)    sizeof(t1) >= sizeof(t2) ? 1 : -1

Typedef Documentation

◆ __curl_rule_01__

typedef char __curl_rule_01__[sizeof(long)== CURL_SIZEOF_LONG ? 1 :-1]

◆ __curl_rule_02__

typedef char __curl_rule_02__[sizeof(curl_off_t)== CURL_SIZEOF_CURL_OFF_T ? 1 :-1]

◆ __curl_rule_03__

typedef char __curl_rule_03__[sizeof(curl_off_t) >=sizeof(long) ? 1 :-1]

◆ __curl_rule_04__

typedef char __curl_rule_04__[sizeof(curl_socklen_t)== CURL_SIZEOF_CURL_SOCKLEN_T ? 1 :-1]

◆ __curl_rule_05__

typedef char __curl_rule_05__[sizeof(curl_socklen_t) >=sizeof(int) ? 1 :-1]