<refentry id="libole2-Miscellaneous" revision="9 Jun 2000">
<refmeta>
<refentrytitle>Miscellaneous</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBOLE2 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Miscellaneous</refname><refpurpose>Support functions.</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>

#include &lt;libole2/libole2.h&gt;


#define     <link linkend="LIBOLE2-MAJOR-VERSION">LIBOLE2_MAJOR_VERSION</link>
#define     <link linkend="LIBOLE2-MINOR-VERSION">LIBOLE2_MINOR_VERSION</link>
#define     <link linkend="LIBOLE2-MICRO-VERSION">LIBOLE2_MICRO_VERSION</link>
extern      int <link linkend="libole2-major-version">libole2_major_version</link>;
extern      int <link linkend="libole2-minor-version">libole2_minor_version</link>;
extern      int <link linkend="libole2-micro-version">libole2_micro_version</link>;
void        <link linkend="ms-ole-dump">ms_ole_dump</link>                     (<link linkend="guint8">guint8</link> const *ptr,
                                             <link linkend="guint32">guint32</link> len);
</synopsis>
</refsynopsisdiv>





<refsect1>
<title>Description</title>
<para>
	The next definitions can help when using libole2.
</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="LIBOLE2-MAJOR-VERSION">LIBOLE2_MAJOR_VERSION</title>
<programlisting>#define LIBOLE2_MAJOR_VERSION 0
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="LIBOLE2-MINOR-VERSION">LIBOLE2_MINOR_VERSION</title>
<programlisting>#define LIBOLE2_MINOR_VERSION 1
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="LIBOLE2-MICRO-VERSION">LIBOLE2_MICRO_VERSION</title>
<programlisting>#define LIBOLE2_MICRO_VERSION 0
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="libole2-major-version">libole2_major_version</title>
<programlisting>extern int libole2_major_version;
</programlisting>
<para>
	It must be equal than <link linkend="LIBOLE2-MAJOR-VERSION">LIBOLE2_MAJOR_VERSION</link>.
</para></refsect2>
<refsect2>
<title><anchor id="libole2-minor-version">libole2_minor_version</title>
<programlisting>extern int libole2_minor_version;
</programlisting>
<para>
	It must be equal than <link linkend="LIBOLE2-MINOR-VERSION">LIBOLE2_MINOR_VERSION</link>.
</para></refsect2>
<refsect2>
<title><anchor id="libole2-micro-version">libole2_micro_version</title>
<programlisting>extern int libole2_micro_version;
</programlisting>
<para>
	It must be equal than <link linkend="LIBOLE2-MICRO-VERSION">LIBOLE2_MICRO_VERSION</link>.
</para></refsect2>
<refsect2>
<title><anchor id="ms-ole-dump">ms_ole_dump ()</title>
<programlisting>void        ms_ole_dump                     (<link linkend="guint8">guint8</link> const *ptr,
                                             <link linkend="guint32">guint32</link> len);</programlisting>
<para>
Dump <parameter>len</parameter> bytes from the memory location given by <parameter>ptr</parameter>.</para>
<para>

</para><informaltable pgwide=1 frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><parameter>ptr</parameter>&nbsp;:</entry>
<entry> memory area to be dumped.
</entry></row>
<row><entry align="right"><parameter>len</parameter>&nbsp;:</entry>
<entry> how many bytes will be dumped.
</entry></row>
</tbody></tgroup></informaltable></refsect2>

</refsect1>




</refentry>
