~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/qam/qam.src

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

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