<refentry id="lunar-lunarmain">
<refmeta>
<refentrytitle role="top_of_page" id="lunar-lunarmain.top_of_page">Intialization</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LUNAR Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Intialization</refname>
<refpurpose>Initialization functions</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="lunar-lunarmain.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

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

<link linkend="void">void</link>                <link linkend="lunar-init">lunar_init</link>                          (<link linkend="int">int</link> *argc,
                                                         <link linkend="char">char</link> ***argv);
</synopsis>
</refsynopsisdiv>









<refsect1 id="lunar-lunarmain.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="lunar-lunarmain.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="lunar-init" role="function">
<title>lunar_init ()</title>
<indexterm zone="lunar-init"><primary>lunar_init</primary></indexterm><programlisting><link linkend="void">void</link>                lunar_init                          (<link linkend="int">int</link> *argc,
                                                         <link linkend="char">char</link> ***argv);</programlisting>
<para>
Call this function before using any other liblunar functions in your applications. It will initialize liblunar.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>argc</parameter>&nbsp;:</term>
<listitem><simpara> Address of the <parameter>argc</parameter> parameter of your <link linkend="main"><function>main()</function></link> function. Changed if any arguments were handled.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>argv</parameter>&nbsp;:</term>
<listitem><simpara> Address of the <parameter>argv</parameter> parameter of <link linkend="main"><function>main()</function></link>. Any parameters understood by <link linkend="lunar-init"><function>lunar_init()</function></link> are stripped before return.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
