Postfix3.3.1
マクロ定義 | 型定義 | 関数
dict_cache.h ファイル
#include <dict.h>
#include <check_arg.h>

[ソースコード]

マクロ定義

#define DICT_CACHE_FLAG_VERBOSE   (1<<0) /* verbose operation */
 
#define DICT_CACHE_FLAG_STATISTICS   (1<<1) /* log cache statistics */
 
#define DICT_CACHE_CTL_END   0 /* list terminator */
 
#define DICT_CACHE_CTL_FLAGS   1 /* see above */
 
#define DICT_CACHE_CTL_INTERVAL   2 /* cleanup interval */
 
#define DICT_CACHE_CTL_VALIDATOR   3 /* call-back validator */
 
#define DICT_CACHE_CTL_CONTEXT   4 /* call-back context */
 
#define CA_DICT_CACHE_CTL_END   DICT_CACHE_CTL_END
 
#define CA_DICT_CACHE_CTL_FLAGS(v)   DICT_CACHE_CTL_FLAGS, CHECK_VAL(DICT_CACHE, int, (v))
 
#define CA_DICT_CACHE_CTL_INTERVAL(v)   DICT_CACHE_CTL_INTERVAL, CHECK_VAL(DICT_CACHE, int, (v))
 
#define CA_DICT_CACHE_CTL_VALIDATOR(v)   DICT_CACHE_CTL_VALIDATOR, CHECK_VAL(DICT_CACHE, DICT_CACHE_VALIDATOR_FN, (v))
 
#define CA_DICT_CACHE_CTL_CONTEXT(v)   DICT_CACHE_CTL_CONTEXT, CHECK_PTR(DICT_CACHE, void, (v))
 

型定義

typedef struct DICT_CACHE DICT_CACHE
 
typedef int(* DICT_CACHE_VALIDATOR_FN) (const char *, const char *, void *)
 

関数

DICT_CACHE * dict_cache_open (const char *, int, int)
 
void dict_cache_close (DICT_CACHE *)
 
const char * dict_cache_lookup (DICT_CACHE *, const char *)
 
int dict_cache_update (DICT_CACHE *, const char *, const char *)
 
int dict_cache_delete (DICT_CACHE *, const char *)
 
int dict_cache_sequence (DICT_CACHE *, int, const char **, const char **)
 
void dict_cache_control (DICT_CACHE *,...)
 
const char * dict_cache_name (DICT_CACHE *)
 
 CHECK_VAL_HELPER_DCL (DICT_CACHE, int)
 
 CHECK_VAL_HELPER_DCL (DICT_CACHE, DICT_CACHE_VALIDATOR_FN)
 
 CHECK_PTR_HELPER_DCL (DICT_CACHE, void)
 

マクロ定義詳解

#define CA_DICT_CACHE_CTL_CONTEXT (   v)    DICT_CACHE_CTL_CONTEXT, CHECK_PTR(DICT_CACHE, void, (v))

dict_cache.h の 50 行目に定義があります。

#define CA_DICT_CACHE_CTL_END   DICT_CACHE_CTL_END

dict_cache.h の 46 行目に定義があります。

#define CA_DICT_CACHE_CTL_FLAGS (   v)    DICT_CACHE_CTL_FLAGS, CHECK_VAL(DICT_CACHE, int, (v))

dict_cache.h の 47 行目に定義があります。

#define CA_DICT_CACHE_CTL_INTERVAL (   v)    DICT_CACHE_CTL_INTERVAL, CHECK_VAL(DICT_CACHE, int, (v))

dict_cache.h の 48 行目に定義があります。

#define CA_DICT_CACHE_CTL_VALIDATOR (   v)    DICT_CACHE_CTL_VALIDATOR, CHECK_VAL(DICT_CACHE, DICT_CACHE_VALIDATOR_FN, (v))

dict_cache.h の 49 行目に定義があります。

#define DICT_CACHE_CTL_CONTEXT   4 /* call-back context */

dict_cache.h の 43 行目に定義があります。

#define DICT_CACHE_CTL_END   0 /* list terminator */

dict_cache.h の 39 行目に定義があります。

#define DICT_CACHE_CTL_FLAGS   1 /* see above */

dict_cache.h の 40 行目に定義があります。

#define DICT_CACHE_CTL_INTERVAL   2 /* cleanup interval */

dict_cache.h の 41 行目に定義があります。

#define DICT_CACHE_CTL_VALIDATOR   3 /* call-back validator */

dict_cache.h の 42 行目に定義があります。

#define DICT_CACHE_FLAG_STATISTICS   (1<<1) /* log cache statistics */

dict_cache.h の 36 行目に定義があります。

#define DICT_CACHE_FLAG_VERBOSE   (1<<0) /* verbose operation */

dict_cache.h の 35 行目に定義があります。

型定義詳解

typedef struct DICT_CACHE DICT_CACHE

dict_cache.h の 23 行目に定義があります。

typedef int(* DICT_CACHE_VALIDATOR_FN) (const char *, const char *, void *)

dict_cache.h の 24 行目に定義があります。

関数詳解

CHECK_PTR_HELPER_DCL ( DICT_CACHE  ,
void   
)
CHECK_VAL_HELPER_DCL ( DICT_CACHE  ,
int   
)
CHECK_VAL_HELPER_DCL ( DICT_CACHE  ,
DICT_CACHE_VALIDATOR_FN   
)
void dict_cache_close ( DICT_CACHE *  )

dict_cache.c の 656 行目に定義があります。

void dict_cache_control ( DICT_CACHE *  ,
  ... 
)

dict_cache.c の 538 行目に定義があります。

int dict_cache_delete ( DICT_CACHE *  ,
const char *   
)

dict_cache.c の 328 行目に定義があります。

const char* dict_cache_lookup ( DICT_CACHE *  ,
const char *   
)

dict_cache.c の 269 行目に定義があります。

const char* dict_cache_name ( DICT_CACHE *  )

dict_cache.c の 674 行目に定義があります。

DICT_CACHE* dict_cache_open ( const char *  ,
int  ,
int   
)

dict_cache.c の 621 行目に定義があります。

int dict_cache_sequence ( DICT_CACHE *  ,
int  ,
const char **  ,
const char **   
)

dict_cache.c の 360 行目に定義があります。

int dict_cache_update ( DICT_CACHE *  ,
const char *  ,
const char *   
)

dict_cache.c の 301 行目に定義があります。