~ubuntu-branches/ubuntu/utopic/mtbl/utopic-proposed

« back to all changes in this revision

Viewing changes to man/mtbl_merge.1

  • Committer: Package Import Robot
  • Author(s): Robert S. Edmonds
  • Date: 2012-05-29 22:36:36 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120529223636-1teu4pxtjzktricb
Tags: 0.2-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: mtbl_merge
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5
 
.\"      Date: 02/23/2012
 
5
.\"      Date: 05/29/2012
6
6
.\"    Manual: \ \&
7
7
.\"    Source: \ \&
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "MTBL_MERGE" "1" "02/23/2012" "\ \&" "\ \&"
 
10
.TH "MTBL_MERGE" "1" "05/29/2012" "\ \&" "\ \&"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * Define some portability stuff
13
13
.\" -----------------------------------------------------------------
66
66
The user\-provided merge function must have the same type as the \fImtbl_merge_func\fR function type given above in the synopsis\&. The symbol name of the merge function to be loaded from the user\-provided DSO will be constructed by appending "_func" to the string provided in the \fIMTBL_MERGE_FUNC_PREFIX\fR environment variable, which must be non\-empty\&.
67
67
.sp
68
68
Additionally, two optional functions may be provided: an "init" function whose symbol name is "_init" appended to the function prefix, and a "free" function whose symbol name is "_free" appended to the function prefix\&. If the "init" function exists, it will be called at the beginning, before any calls to the merge function, and the return value from the init function will be passed as the first argument to the merge function\&. If the "free" function exists, it will be called at the end, after any calls to the merge function, and its argument will be the return value of the "init" function\&.
 
69
.sp
 
70
The environment variable \fIMTBL_MERGE_BLOCK_SIZE\fR may optionally be set in order to configure the MTBL block size (in bytes) of the output file\&.
69
71
.SH "SEE ALSO"
70
72
.sp
71
73
\fBmtbl_merger\fR(3)