Deleted Added
full compact
smdb.h (98121) smdb.h (110560)
1/*
2 * Copyright (c) 1999-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 *
1/*
2 * Copyright (c) 1999-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: smdb.h,v 8.40 2002/05/24 23:20:14 gshapiro Exp $
9 * $Id: smdb.h,v 8.40.2.1 2002/10/05 17:04:51 ca Exp $
10 *
11 */
12
13#ifndef _SMDB_H_
14# define _SMDB_H_
15
16# include <sys/types.h>
17# include <sys/stat.h>
18# include <sm/gen.h>
19# include <sm/errstring.h>
20
21# ifdef NDBM
22# include <ndbm.h>
23# endif /* NDBM */
24
25# ifdef NEWDB
10 *
11 */
12
13#ifndef _SMDB_H_
14# define _SMDB_H_
15
16# include <sys/types.h>
17# include <sys/stat.h>
18# include <sm/gen.h>
19# include <sm/errstring.h>
20
21# ifdef NDBM
22# include <ndbm.h>
23# endif /* NDBM */
24
25# ifdef NEWDB
26# include <db.h>
27# ifndef DB_VERSION_MAJOR
28# define DB_VERSION_MAJOR 1
29# endif /* ! DB_VERSION_MAJOR */
26# include "sm/bdb.h"
30# endif /* NEWDB */
31
32/*
33** Some size constants
34*/
35
36#define SMDB_MAX_USER_NAME_LEN 1024
37

--- 326 unchanged lines hidden ---
27# endif /* NEWDB */
28
29/*
30** Some size constants
31*/
32
33#define SMDB_MAX_USER_NAME_LEN 1024
34

--- 326 unchanged lines hidden ---