Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > d76e9d0335eb50de9ef01195761a76f9 > files > 47

lib64kate-devel-0.3.7-1mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libkate: Format - metadata</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul>
</div>
<h1><a class="anchor" name="format_metadata">Format - metadata </a></h1>A metadata definition consists of:<p>
<ul>
<li>a bit, being 0 if the metadata set is empty, 1 otherwise.</li>
</ul>
Then, if the set is not empty:<p>
<ul>
<li>a <a class="el" href="format_32v.html">variable length integer</a> representing the number of metadata pairs present in the set.</li>
</ul>
Then, for that number:<p>
<ul>
<li>a <a class="el" href="format_32v.html">variable length integer</a> representing the number of bytes in the tag name. </li>
<li>that same number of bytes, representing the tag name. The typical C string terminating NUL is not included. </li>
<li>a <a class="el" href="format_32v.html">variable length integer</a> representing the number of bytes in the value. </li>
<li>that same number of bytes, representing the value. This value may be any stream of arbitrary, but is encouraged to be UTF-8, though this is not enforced and should not be assumed. No terminating NUL. </li>
<li>a bit, being 0 if the metadata pair applies to the whole object, or 1 if there are bounds</li>
</ul>
If there are bounds:<p>
<ul>
<li>a <a class="el" href="format_32v.html">variable length integer</a> representing the start point of the segment the metadata applies to. </li>
<li>a <a class="el" href="format_32v.html">variable length integer</a> representing the end point of the segment the metadata applies to.</li>
</ul>
Next, we have a <a class="el" href="format_warp.html">warp</a>.<p>
Then, the data for this metadata pair ends.<p>
Next, we have a <a class="el" href="format_warp.html">warp</a>.<p>
Next, the data ends. <hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 21 14:01:43 2009 for libkate by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>