head	1.2;
access;
symbols
	RPM_4_2_1:1.1.1.5
	RPM_4_2:1.1.1.5
	RPM_4_1_1:1.1.1.5
	RPM_4_1:1.1.1.4
	RPM_4_0_5:1.1.1.3
	RPM_4_0_4:1.1.1.2
	RPM_4_0_3:1.1.1.1
	RPM:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.01.02.09.58.13;	author rse;	state dead;
branches;
next	1.1;
commitid	z4cpSiAhOCXk5PLs;

1.1
date	2001.07.23.20.45.40;	author rse;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.07.23.20.45.40;	author rse;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2002.01.08.02.28.56;	author rse;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2003.01.18.13.49.09;	author rse;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2001.10.15.03.47.27;	author rse;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2003.01.18.14.05.11;	author rse;	state Exp;
branches;
next	;


desc
@@


1.2
log
@remove the ancient RPM 4.2.1 source tree copy
@
text
@/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 1999-2001
 *	Sleepycat Software.  All rights reserved.
 *
 * $Id: qam.src,v 1.1 2001/07/23 20:45:40 rse Exp $
 */

PREFIX	qam

INCLUDE	#include "db_config.h"
INCLUDE
INCLUDE #ifndef NO_SYSTEM_INCLUDES
INCLUDE #include <sys/types.h>
INCLUDE
INCLUDE #include <ctype.h>
INCLUDE #include <string.h>
INCLUDE #endif
INCLUDE
INCLUDE #include "db_int.h"
INCLUDE #include "db_page.h"
INCLUDE #include "db_dispatch.h"
INCLUDE #include "db_am.h"
INCLUDE #include "qam.h"
INCLUDE #include "txn.h"
INCLUDE

/*
 * inc
 * Used when we increment a record number.  These do not actually
 * tell you what record number you got, just that you incremented
 * the record number.  These operations are never undone.
 */
IGNORED inc		76
ARG	fileid		int32_t		ld
POINTER	lsn		DB_LSN *	lu
END

/*
 * incfirst
 * Used when we increment first_recno.
 */
BEGIN incfirst		77
ARG	fileid		int32_t		ld
ARG	recno		db_recno_t	lu
END

/*
 * mvptr
 * Used when we change one or both of cur_recno and first_recno.
 */
BEGIN mvptr		78
ARG	opcode		u_int32_t	lu
ARG	fileid		int32_t		ld
ARG	old_first	db_recno_t	lu
ARG	new_first	db_recno_t	lu
ARG	old_cur		db_recno_t	lu
ARG	new_cur		db_recno_t	lu
POINTER	metalsn		DB_LSN *	lu
END

/*
 * del
 * Used when we delete a record.
 * recno is the record that is being deleted.
 */
BEGIN del		79
ARG	fileid		int32_t		ld
POINTER	lsn		DB_LSN *	lu
ARG	pgno		db_pgno_t	lu
ARG	indx		u_int32_t	lu
ARG	recno		db_recno_t	lu
END

/*
 * add
 * Used when we put a record on a page.
 * recno is the record being added.
 * data is the record itself.
 */
BEGIN add		80
ARG	fileid		int32_t		ld
POINTER	lsn		DB_LSN *	lu
ARG	pgno		db_pgno_t	lu
ARG	indx		u_int32_t	lu
ARG	recno		db_recno_t	lu
DBT	data		DBT		s
ARG	vflag		u_int32_t	lu
DBT	olddata		DBT		s
END

/*
 * delete
 * Used when we remove a Queue extent file.
 */
BEGIN delete		81
DBT	name		DBT		s
POINTER	lsn		DB_LSN *	lu
END

/*
 * rename
 * Used when we rename a Queue extent file.
 */
BEGIN rename		82
DBT	name		DBT		s
DBT	newname		DBT		s
END

/*
 * delext
 * Used when we delete a record in extent based queue.
 * recno is the record that is being deleted.
 */
BEGIN delext		83
ARG	fileid		int32_t		ld
POINTER	lsn		DB_LSN *	lu
ARG	pgno		db_pgno_t	lu
ARG	indx		u_int32_t	lu
ARG	recno		db_recno_t	lu
DBT	data		DBT		s
END
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
 * $Id: qam.src,v 11.20 2001/06/15 16:38:14 bostic Exp $
@


1.1.1.1
log
@Import: RPM 4.0.3
@
text
@@


1.1.1.2
log
@Import: RPM 4.0.4
@
text
@d7 1
a7 1
 * Id: qam.src,v 11.22 2001/07/27 19:07:18 krinsky Exp 
a24 1
INCLUDE #include "log.h"
a25 1
INCLUDE #include "rep.h"
d30 11
d44 1
a44 1
BEGIN incfirst		84
a46 1
WRLOCK	meta_pgno	db_pgno_t	lu
d53 1
a53 1
BEGIN mvptr		85
a60 1
WRLOCK	meta_pgno	db_pgno_t	lu
a62 1

d71 1
a71 1
WRLOCK	pgno		db_pgno_t	lu
d85 1
a85 1
WRLOCK	pgno		db_pgno_t	lu
@


1.1.1.3
log
@Import: RPM 4.0.5
@
text
@d4 1
a4 1
 * Copyright (c) 1999-2002
d7 1
a7 1
 * Id: qam.src,v 11.28 2002/04/17 19:03:13 krinsky Exp 
d10 1
a10 2
PREFIX	__qam
DBPRIVATE
d22 7
a28 8
INCLUDE #include "dbinc/crypto.h"
INCLUDE #include "dbinc/db_page.h"
INCLUDE #include "dbinc/db_dispatch.h"
INCLUDE #include "dbinc/db_am.h"
INCLUDE #include "dbinc/log.h"
INCLUDE #include "dbinc/qam.h"
INCLUDE #include "dbinc/rep.h"
INCLUDE #include "dbinc/txn.h"
d36 1
a36 1
DB	fileid		int32_t		ld
d47 1
a47 1
DB	fileid		int32_t		ld
d63 1
a63 1
DB	fileid		int32_t		ld
d77 1
a77 1
DB	fileid		int32_t		ld
d88 18
d111 1
a111 1
DB	fileid		int32_t		ld
@


1.1.1.4
log
@Import: RPM 4.1
@
text
@d4 1
a4 1
 * Copyright (c) 1999-2001
d7 1
a7 1
 * Id: qam.src,v 11.22 2001/07/27 19:07:18 krinsky Exp 
d10 2
a11 1
PREFIX	qam
d23 8
a30 7
INCLUDE #include "db_page.h"
INCLUDE #include "db_dispatch.h"
INCLUDE #include "db_am.h"
INCLUDE #include "log.h"
INCLUDE #include "qam.h"
INCLUDE #include "rep.h"
INCLUDE #include "txn.h"
d38 1
a38 1
ARG	fileid		int32_t		ld
d49 1
a49 1
ARG	fileid		int32_t		ld
d65 1
a65 1
ARG	fileid		int32_t		ld
d79 1
a79 1
ARG	fileid		int32_t		ld
a89 18
 * delete
 * Used when we remove a Queue extent file.
 */
BEGIN delete		81
DBT	name		DBT		s
POINTER	lsn		DB_LSN *	lu
END

/*
 * rename
 * Used when we rename a Queue extent file.
 */
BEGIN rename		82
DBT	name		DBT		s
DBT	newname		DBT		s
END

/*
d95 1
a95 1
ARG	fileid		int32_t		ld
@


1.1.1.5
log
@Import: RPM 4.1.1
@
text
@d4 1
a4 1
 * Copyright (c) 1999-2002
d7 1
a7 1
 * Id: qam.src,v 11.28 2002/04/17 19:03:13 krinsky Exp 
d10 1
a10 2
PREFIX	__qam
DBPRIVATE
d22 7
a28 8
INCLUDE #include "dbinc/crypto.h"
INCLUDE #include "dbinc/db_page.h"
INCLUDE #include "dbinc/db_dispatch.h"
INCLUDE #include "dbinc/db_am.h"
INCLUDE #include "dbinc/log.h"
INCLUDE #include "dbinc/qam.h"
INCLUDE #include "dbinc/rep.h"
INCLUDE #include "dbinc/txn.h"
d36 1
a36 1
DB	fileid		int32_t		ld
d47 1
a47 1
DB	fileid		int32_t		ld
d63 1
a63 1
DB	fileid		int32_t		ld
d77 1
a77 1
DB	fileid		int32_t		ld
d88 18
d111 1
a111 1
DB	fileid		int32_t		ld
@


