]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libxo/libxo/xo_set_version.3
Merge llvm trunk r238337 from ^/vendor/llvm/dist, resolve conflicts, and
[FreeBSD/FreeBSD.git] / contrib / libxo / libxo / xo_set_version.3
1 .\" #
2 .\" # Copyright (c) 2015, Juniper Networks, Inc.
3 .\" # All rights reserved.
4 .\" # This SOFTWARE is licensed under the LICENSE provided in the
5 .\" # ../Copyright file. By downloading, installing, copying, or 
6 .\" # using the SOFTWARE, you agree to be bound by the terms of that
7 .\" # LICENSE.
8 .\" # Phil Shafer, July 2014
9 .\" 
10 .Dd December 4, 2014
11 .Dt LIBXO 3
12 .Os
13 .Sh NAME
14 .Nm xo_set_version
15 .Nd record content version information in encoded output
16 .Sh LIBRARY
17 .Lb libxo
18 .Sh SYNOPSIS
19 .In libxo/xo.h
20 .Ft void
21 .Fn xo_set_version "const char *version"
22 .Ft void
23 .Fn xo_set_version_h "xo_handle_t *xop" "const char *version"
24 .Sh DESCRIPTION
25 The
26 .Nm xo_set_version
27 function records a version number to be emitted as
28 part of the data for encoding styles (XML and JSON).
29 This version number is suitable for tracking changes in the content,
30 allowing a user of the data to discern which version of the data model
31 is in use.
32 .Sh ADDITIONAL DOCUMENTATION
33 Complete documentation can be found on github:
34 .Bd -literal -offset indent
35 http://juniper.github.io/libxo/libxo-manual.html
36 .Ed
37 .Pp
38 .Nm libxo
39 lives on github as:
40 .Bd -literal -offset indent
41 https://github.com/Juniper/libxo
42 .Ed
43 .Pp
44 The latest release of
45 .Nm libxo
46 is available at:
47 .Bd -literal -offset indent
48 https://github.com/Juniper/libxo/releases
49 .Ed
50 .Sh SEE ALSO
51 .Xr xo_emit 3 ,
52 .Xr libxo 3
53 .Sh HISTORY
54 The
55 .Nm libxo
56 library was added in
57 .Fx 11.0 .
58 .Sh AUTHOR
59 Phil Shafer