FreeBSD/contrib/sendmail/libsmdb/smdb2.c
/*
**  Except for smdb_db_open, the rest of these functions correspond to the
**  interface laid out in smdb.h.
*/
Except for smdb_db_open, the rest of these functions correspond to the
interface laid out in smdb.h.
Except for smdb_db_open the rest of these functions correspond to the interface laid out in smdb . h .
SMDB_DB2_DATABASE *
smdb2_malloc_database()
{
	SMDB_DB2_DATABASE *db2;
	db2 = (SMDB_DB2_DATABASE *) malloc(sizeof(SMDB_DB2_DATABASE));
	if (db2 != NULL)
		db2->smdb2_lock_fd = -1;
	return db2;
}
SMDB_DB2_DATABASE * smdb2_malloc_database ( ) { SMDB_DB2_DATABASE * db2 ; db2 = ( SMDB_DB2_DATABASE * ) malloc ( sizeof ( SMDB_DB2_DATABASE ) ) ; if ( db2 != NULL ) db2 -> smdb2_lock_fd = -1 ; return db2 ; }
Except for smdb_db_open, the rest of these functions correspond to the
interface laid out in smdb.h.
Except for smdb_db_open the rest of these functions correspond to the interface laid out in smdb . h .