Postfix3.3.1
データ構造 | マクロ定義 | 関数
attr_clnt.c ファイル
#include <sys_defs.h>
#include <unistd.h>
#include <errno.h>
#include <msg.h>
#include <mymalloc.h>
#include <vstream.h>
#include <htable.h>
#include <attr.h>
#include <iostuff.h>
#include <compat_va_copy.h>
#include <auto_clnt.h>
#include <attr_clnt.h>

[ソースコード]

データ構造

struct  ATTR_CLNT
 

マクロ定義

#define ATTR_CLNT_DEF_REQ_LIMIT   (0) /* default per-session request limit */
 
#define ATTR_CLNT_DEF_TRY_LIMIT   (2) /* default request (re)try limit */
 
#define ATTR_CLNT_DEF_TRY_DELAY   (1) /* default request (re)try delay */
 
#define SKIP_ARG(ap, type)
 
#define SKIP_ARG2(ap, t1, t2)
 

関数

void attr_clnt_free (ATTR_CLNT *client)
 
ATTR_CLNTattr_clnt_create (const char *service, int timeout, int max_idle, int max_ttl)
 
int attr_clnt_request (ATTR_CLNT *client, int send_flags,...)
 
void attr_clnt_control (ATTR_CLNT *client, int name,...)
 

マクロ定義詳解

#define ATTR_CLNT_DEF_REQ_LIMIT   (0) /* default per-session request limit */

attr_clnt.c116 行目に定義があります。

#define ATTR_CLNT_DEF_TRY_DELAY   (1) /* default request (re)try delay */

attr_clnt.c118 行目に定義があります。

#define ATTR_CLNT_DEF_TRY_LIMIT   (2) /* default request (re)try limit */

attr_clnt.c117 行目に定義があります。

#define SKIP_ARG (   ap,
  type 
)
値:
{ \
(void) va_arg(ap, char *); \
(void) va_arg(ap, type); \
}
#define SKIP_ARG2 (   ap,
  t1,
  t2 
)
値:
{ \
SKIP_ARG(ap, t1); \
(void) va_arg(ap, t2); \
}
#define SKIP_ARG(ap, type)

関数詳解

void attr_clnt_control ( ATTR_CLNT client,
int  name,
  ... 
)

attr_clnt.c246 行目に定義があります。

ATTR_CLNT* attr_clnt_create ( const char *  service,
int  timeout,
int  max_idle,
int  max_ttl 
)

attr_clnt.c130 行目に定義があります。

void attr_clnt_free ( ATTR_CLNT client)

attr_clnt.c122 行目に定義があります。

int attr_clnt_request ( ATTR_CLNT client,
int  send_flags,
  ... 
)

attr_clnt.c148 行目に定義があります。