1 /*
2 * Copyright (c) 2001-2002 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 *
9 * $Id: mbdb.h,v 1.6 2002/05/24 20:50:14 gshapiro Exp $
10 */
11
12 #pragma ident "%Z%%M% %I% %E% SMI"
13
14 #ifndef SM_MBDB_H
15 # define SM_MBDB_H
16
17 #include <pwd.h>
18 #include <sm/types.h>
19 #include <sm/limits.h>
20
21 /*
22 ** This is an abstract interface for looking up local mail recipients.
23 */
24
25 #define MBDB_MAXNAME 256
26 #define SM_NO_UID ((uid_t)(-1))
27 #define SM_NO_GID ((gid_t)(-1))
28
29 typedef struct
30 {
31 uid_t mbdb_uid;
32 gid_t mbdb_gid;
33 char mbdb_name[MBDB_MAXNAME];
|
1 /*
2 * Copyright (c) 2001-2002 Proofpoint, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 *
9 * $Id: mbdb.h,v 1.7 2013-11-22 20:51:31 ca Exp $
10 */
11
12 #ifndef SM_MBDB_H
13 # define SM_MBDB_H
14
15 #include <pwd.h>
16 #include <sm/types.h>
17 #include <sm/limits.h>
18
19 /*
20 ** This is an abstract interface for looking up local mail recipients.
21 */
22
23 #define MBDB_MAXNAME 256
24 #define SM_NO_UID ((uid_t)(-1))
25 #define SM_NO_GID ((gid_t)(-1))
26
27 typedef struct
28 {
29 uid_t mbdb_uid;
30 gid_t mbdb_gid;
31 char mbdb_name[MBDB_MAXNAME];
|