~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to db/qam/qam.src

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-06-25 18:57:20 UTC
  • mfrom: (1.1.5 upstream) (4.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090625185720-617sjskgtgmf09vf
Tags: 4.7.0-7ubuntu1
* Merge from debian unstable, remaining changes:
  - change build depends from libdwarf-dev -> libdw-dev
    (libdwarf-dev is in universe)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*-
2
 
 * See the file LICENSE for redistribution information.
3
 
 *
4
 
 * Copyright (c) 1999-2004
5
 
 *      Sleepycat Software.  All rights reserved.
6
 
 *
7
 
 * $Id: qam.src,v 11.33 2004/06/17 17:35:22 bostic Exp $
8
 
 */
9
 
 
10
 
PREFIX  __qam
11
 
DBPRIVATE
12
 
 
13
 
INCLUDE #ifndef NO_SYSTEM_INCLUDES
14
 
INCLUDE #include <sys/types.h>
15
 
INCLUDE
16
 
INCLUDE #include <ctype.h>
17
 
INCLUDE #include <string.h>
18
 
INCLUDE #endif
19
 
INCLUDE
20
 
INCLUDE #include "db_int.h"
21
 
INCLUDE #include "dbinc/crypto.h"
22
 
INCLUDE #include "dbinc/db_page.h"
23
 
INCLUDE #include "dbinc/db_dispatch.h"
24
 
INCLUDE #include "dbinc/db_am.h"
25
 
INCLUDE #include "dbinc/log.h"
26
 
INCLUDE #include "dbinc/qam.h"
27
 
INCLUDE #include "dbinc/txn.h"
28
 
INCLUDE
29
 
 
30
 
/*
31
 
 * incfirst
32
 
 * Used when we increment first_recno.
33
 
 */
34
 
BEGIN incfirst          84
35
 
DB      fileid          int32_t         ld
36
 
ARG     recno           db_recno_t      lu
37
 
ARG     meta_pgno       db_pgno_t       lu
38
 
END
39
 
 
40
 
/*
41
 
 * mvptr
42
 
 * Used when we change one or both of cur_recno and first_recno.
43
 
 */
44
 
BEGIN mvptr             85
45
 
ARG     opcode          u_int32_t       lu
46
 
DB      fileid          int32_t         ld
47
 
ARG     old_first       db_recno_t      lu
48
 
ARG     new_first       db_recno_t      lu
49
 
ARG     old_cur         db_recno_t      lu
50
 
ARG     new_cur         db_recno_t      lu
51
 
POINTER metalsn         DB_LSN *        lu
52
 
ARG     meta_pgno       db_pgno_t       lu
53
 
END
54
 
 
55
 
 
56
 
/*
57
 
 * del
58
 
 * Used when we delete a record.
59
 
 * recno is the record that is being deleted.
60
 
 */
61
 
BEGIN del               79
62
 
DB      fileid          int32_t         ld
63
 
POINTER lsn             DB_LSN *        lu
64
 
ARG     pgno            db_pgno_t       lu
65
 
ARG     indx            u_int32_t       lu
66
 
ARG     recno           db_recno_t      lu
67
 
END
68
 
 
69
 
/*
70
 
 * add
71
 
 * Used when we put a record on a page.
72
 
 * recno is the record being added.
73
 
 * data is the record itself.
74
 
 */
75
 
BEGIN add               80
76
 
DB      fileid          int32_t         ld
77
 
POINTER lsn             DB_LSN *        lu
78
 
ARG     pgno            db_pgno_t       lu
79
 
ARG     indx            u_int32_t       lu
80
 
ARG     recno           db_recno_t      lu
81
 
DBT     data            DBT             s
82
 
ARG     vflag           u_int32_t       lu
83
 
DBT     olddata         DBT             s
84
 
END
85
 
 
86
 
/*
87
 
 * delext
88
 
 * Used when we delete a record in extent based queue.
89
 
 * recno is the record that is being deleted.
90
 
 */
91
 
BEGIN delext            83
92
 
DB      fileid          int32_t         ld
93
 
POINTER lsn             DB_LSN *        lu
94
 
ARG     pgno            db_pgno_t       lu
95
 
ARG     indx            u_int32_t       lu
96
 
ARG     recno           db_recno_t      lu
97
 
DBT     data            DBT             s
98
 
END