3 #ifndef _MBOX_OPEN_H_INCLUDED_
4 #define _MBOX_OPEN_H_INCLUDED_
12 /* #include <mbox_open.h>
21 #include <safe_open.h>
32 char *path
; /* saved path, for dot_unlock */
33 VSTREAM
*fp
; /* open stream or null */
34 int locked
; /* what locks were set */
36 extern MBOX
*mbox_open(const char *, int, mode_t
, struct stat
*, uid_t
, gid_t
,
37 int, const char *, DSN_BUF
*);
38 extern void mbox_release(MBOX
*);
39 extern const char *mbox_dsn(int, const char *);
44 /* The Secure Mailer license must be distributed with this software.
47 /* IBM T.J. Watson Research
49 /* Yorktown Heights, NY 10598, USA