Skip to content

File cache_time.h

FileList > compat > cache_time.h

Go to the source code of this file

Classes

Type Name
struct cache_time

Public Types

Type Name
typedef struct cache_time CACHE_TIME

Macros

Type Name
define CACHE_TIME_AS_ARGS (ct) ([**ct**](broker__monitor_8c.md#function-timeout))->sec, ([**ct**](broker__monitor_8c.md#function-timeout))->usec
define CACHE_TIME_EQ (T1, T2) ((([**T1**](broker__monitor_8c.md#function-timeout))->sec != 0) && (([**T1**](broker__monitor_8c.md#function-timeout))->sec == ([**T2**](broker__monitor_8c.md#function-timeout))->sec) && (([**T1**](broker__monitor_8c.md#function-timeout))->usec == ([**T2**](broker__monitor_8c.md#function-timeout))->usec))
define CACHE_TIME_MAKE (CT, TV) /* multi line expression */
define CACHE_TIME_RESET (T) /* multi line expression */
define OR_CACHE_TIME_SIZE ([**OR\_INT\_SIZE**](object__representation__constants_8h.md#define-or_int_size) \* 2)
define OR_PACK_CACHE_TIME (PTR, T) /* multi line expression */
define OR_UNPACK_CACHE_TIME (PTR, T) /* multi line expression */

Public Types Documentation

typedef CACHE_TIME

typedef struct cache_time CACHE_TIME;

Macro Definition Documentation

define CACHE_TIME_AS_ARGS

#define CACHE_TIME_AS_ARGS (
    ct
) `( ct )->sec, ( ct )->usec`

define CACHE_TIME_EQ

#define CACHE_TIME_EQ (
    T1,
    T2
) `((( T1 )->sec != 0) && (( T1 )->sec == ( T2 )->sec) && (( T1 )->usec == ( T2 )->usec))`

define CACHE_TIME_MAKE

#define CACHE_TIME_MAKE (
    CT,
    TV
) `/* multi line expression */`

define CACHE_TIME_RESET

#define CACHE_TIME_RESET (
    T
) `/* multi line expression */`

define OR_CACHE_TIME_SIZE

#define OR_CACHE_TIME_SIZE `( OR_INT_SIZE * 2)`

define OR_PACK_CACHE_TIME

#define OR_PACK_CACHE_TIME (
    PTR,
    T
) `/* multi line expression */`

define OR_UNPACK_CACHE_TIME

#define OR_UNPACK_CACHE_TIME (
    PTR,
    T
) `/* multi line expression */`


The documentation for this class was generated from the following file cubrid/src/compat/cache_time.h