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

« back to all changes in this revision

Viewing changes to libdb/tcl/docs/rep.html

  • 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
 
<!--Copyright 1999-2002 by Sleepycat Software, Inc.-->
2
 
<!--All rights reserved.-->
3
 
<html>
4
 
<head>
5
 
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6
 
   <title>Replication commands</title>
7
 
</head>
8
 
<body>
9
 
 
10
 
<h2>
11
 
<a NAME="Replication Commands"></a>Replication Commands</h2>
12
 
Replication commands are invoked from the environment handle, after
13
 
it has been opened with the appropriate flags defined
14
 
<a href="./env.html">here</a>.<br>
15
 
<hr WIDTH="100%">
16
 
<p><b>> &lt;env> rep_process_message <i>machid</i> <i>control</i>
17
 
<i>rec</i></b>
18
 
<p>This command processes a single incoming replication message.&nbsp; It
19
 
is a direct translation of the <a
20
 
href="../../docs/api_c/rep_process_message.html">rep_process_message</a>
21
 
function.&nbsp;
22
 
It returns either a 0 (for success), a DB error message or it throws a
23
 
Tcl error with a system message.&nbsp; The arguments are:
24
 
<ul>
25
 
<li>
26
 
<b>machid </b>is the machine ID of the machine that <i>sent</i> this
27
 
message.</li>
28
 
 
29
 
<li>
30
 
<b>control</b> is a binary string containing the exact contents of the
31
 
<b><i>control</i></b> argument to the <b><i>sendproc</i></b> function
32
 
that was passed this message on another site.</li>
33
 
 
34
 
<li>
35
 
<b>rec</b> is a binary string containing the exact contents of the
36
 
<b><i>rec</i></b> argument to the <b><i>sendproc</i></b> function
37
 
that was passed this message on another site.</li>
38
 
</ul>
39
 
 
40
 
<hr WIDTH="100%">
41
 
<br><b>> &lt;env> rep_elect <i>nsites</i> <i>pri</i> <i>wait</i>
42
 
<i>sleep</i></b>
43
 
<p>This command causes a replication election.&nbsp; It is a direct translation
44
 
of the <a href="../../docs/api_c/rep_elect.html">rep_elect</a> function.&nbsp;
45
 
Its arguments, all integers, correspond exactly to that C function's
46
 
parameters.
47
 
It will return a list containing two integers, which contain,
48
 
respectively, the integer values returned in the C function's
49
 
<i><b>midp</b></i> and <i><b>selfp</b></i> parameters.
50
 
</body>
51
 
</html>