Postfix3.3.1
総合概要
データ構造
ファイル
ファイル一覧
大域各種
postfix-3.3.1
src
global
mbox_open.h
[詳解]
1
#ifndef _MBOX_OPEN_H_INCLUDED_
2
#define _MBOX_OPEN_H_INCLUDED_
3
4
/*++
5
/* NAME
6
/* mbox_open 3h
7
/* SUMMARY
8
/* mailbox access
9
/* SYNOPSIS
10
/* #include <mbox_open.h>
11
/* DESCRIPTION
12
/* .nf
13
14
/*
15
* Utility library.
16
*/
17
#include <
vstream.h
>
18
#include <
vstring.h
>
19
#include <
safe_open.h
>
20
21
/*
22
* Global library.
23
*/
24
#include <
dsn_buf.h
>
25
26
/*
27
* External interface.
28
*/
29
typedef
struct
{
30
char
*
path
;
/* saved path, for dot_unlock */
31
VSTREAM
*
fp
;
/* open stream or null */
32
int
locked
;
/* what locks were set */
33
}
MBOX
;
34
extern
MBOX
*
mbox_open
(
const
char
*,
int
, mode_t,
struct
stat
*, uid_t, gid_t,
35
int
,
const
char
*,
DSN_BUF
*);
36
extern
void
mbox_release
(
MBOX
*);
37
extern
const
char
*
mbox_dsn
(
int
,
const
char
*);
38
39
/* LICENSE
40
/* .ad
41
/* .fi
42
/* The Secure Mailer license must be distributed with this software.
43
/* AUTHOR(S)
44
/* Wietse Venema
45
/* IBM T.J. Watson Research
46
/* P.O. Box 704
47
/* Yorktown Heights, NY 10598, USA
48
/*--*/
49
50
#endif
VSTREAM
Definition:
vstream.h:43
stat
#define stat(p, s)
Definition:
warn_stat.h:18
MBOX::fp
VSTREAM * fp
Definition:
mbox_open.h:31
mbox_dsn
const char * mbox_dsn(int, const char *)
Definition:
mbox_open.c:243
MBOX
Definition:
mbox_open.h:29
vstring.h
DSN_BUF
Definition:
dsn_buf.h:27
safe_open.h
mbox_release
void mbox_release(MBOX *)
Definition:
mbox_open.c:224
vstream.h
MBOX::locked
int locked
Definition:
mbox_open.h:32
mbox_open
MBOX * mbox_open(const char *, int, mode_t, struct stat *, uid_t, gid_t, int, const char *, DSN_BUF *)
Definition:
mbox_open.c:105
dsn_buf.h
MBOX::path
char * path
Definition:
mbox_open.h:30
2018年11月10日(土) 18時59分38秒作成 - Postfix3.3.1 / 構成:
1.8.9.1