Deleted Added
full compact
smdb.c (98121) smdb.c (141858)
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
10#include <sm/gen.h>
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
10#include <sm/gen.h>
11SM_RCSID("@(#)$Id: smdb.c,v 8.57 2002/05/24 23:09:11 gshapiro Exp $")
11SM_RCSID("@(#)$Id: smdb.c,v 8.58 2004/08/03 20:58:38 ca Exp $")
12
13#include <fcntl.h>
14#include <stdlib.h>
15#include <unistd.h>
16
17
18#include <sendmail/sendmail.h>
19#include <libsmdb/smdb.h>
20
12
13#include <fcntl.h>
14#include <stdlib.h>
15#include <unistd.h>
16
17
18#include <sendmail/sendmail.h>
19#include <libsmdb/smdb.h>
20
21static bool smdb_lockfile __P((int, int));
22
21/*
22** SMDB_MALLOC_DATABASE -- Allocates a database structure.
23**
24** Parameters:
25** None
26**
27** Returns:
28** An pointer to an allocated SMDB_DATABASE structure or

--- 519 unchanged lines hidden ---
23/*
24** SMDB_MALLOC_DATABASE -- Allocates a database structure.
25**
26** Parameters:
27** None
28**
29** Returns:
30** An pointer to an allocated SMDB_DATABASE structure or

--- 519 unchanged lines hidden ---