\doxysection{cmd\+\_\+ln.\+h}
\label{cmd__ln_8h_source}\index{include/sphinxbase/cmd\_ln.h@{include/sphinxbase/cmd\_ln.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ -\/*-\/\ c-\/basic-\/offset:\ 4;\ indent-\/tabs-\/mode:\ nil\ -\/*-\/\ */}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*\ ====================================================================}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999-\/2004\ Carnegie\ Mellon\ University.\ \ All\ rights}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Redistribution\ and\ use\ in\ source\ and\ binary\ forms,\ with\ or\ without}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ modification,\ are\ permitted\ provided\ that\ the\ following\ conditions}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ are\ met:}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ 1.\ Redistributions\ of\ source\ code\ must\ retain\ the\ above\ copyright}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer.\ }}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ 2.\ Redistributions\ in\ binary\ form\ must\ reproduce\ the\ above\ copyright}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ \ \ notice,\ this\ list\ of\ conditions\ and\ the\ following\ disclaimer\ in}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ \ \ the\ documentation\ and/or\ other\ materials\ provided\ with\ the}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ \ \ distribution.}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ This\ work\ was\ supported\ in\ part\ by\ funding\ from\ the\ Defense\ Advanced\ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Research\ Projects\ Agency\ and\ the\ National\ Science\ Foundation\ of\ the\ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ United\ States\ of\ America,\ and\ the\ CMU\ Sphinx\ Speech\ Consortium.}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ THIS\ SOFTWARE\ IS\ PROVIDED\ BY\ CARNEGIE\ MELLON\ UNIVERSITY\ \`{}\`{}AS\ IS''\ AND\ }}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ ANY\ EXPRESSED\ OR\ IMPLIED\ WARRANTIES,\ INCLUDING,\ BUT\ NOT\ LIMITED\ TO,\ }}
\DoxyCodeLine{00024\ \textcolor{comment}{\ *\ THE\ IMPLIED\ WARRANTIES\ OF\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ A\ PARTICULAR}}
\DoxyCodeLine{00025\ \textcolor{comment}{\ *\ PURPOSE\ ARE\ DISCLAIMED.\ \ IN\ NO\ EVENT\ SHALL\ CARNEGIE\ MELLON\ UNIVERSITY}}
\DoxyCodeLine{00026\ \textcolor{comment}{\ *\ NOR\ ITS\ EMPLOYEES\ BE\ LIABLE\ FOR\ ANY\ DIRECT,\ INDIRECT,\ INCIDENTAL,}}
\DoxyCodeLine{00027\ \textcolor{comment}{\ *\ SPECIAL,\ EXEMPLARY,\ OR\ CONSEQUENTIAL\ DAMAGES\ (INCLUDING,\ BUT\ NOT\ }}
\DoxyCodeLine{00028\ \textcolor{comment}{\ *\ LIMITED\ TO,\ PROCUREMENT\ OF\ SUBSTITUTE\ GOODS\ OR\ SERVICES;\ LOSS\ OF\ USE,\ }}
\DoxyCodeLine{00029\ \textcolor{comment}{\ *\ DATA,\ OR\ PROFITS;\ OR\ BUSINESS\ INTERRUPTION)\ HOWEVER\ CAUSED\ AND\ ON\ ANY\ }}
\DoxyCodeLine{00030\ \textcolor{comment}{\ *\ THEORY\ OF\ LIABILITY,\ WHETHER\ IN\ CONTRACT,\ STRICT\ LIABILITY,\ OR\ TORT\ }}
\DoxyCodeLine{00031\ \textcolor{comment}{\ *\ (INCLUDING\ NEGLIGENCE\ OR\ OTHERWISE)\ ARISING\ IN\ ANY\ WAY\ OUT\ OF\ THE\ USE\ }}
\DoxyCodeLine{00032\ \textcolor{comment}{\ *\ OF\ THIS\ SOFTWARE,\ EVEN\ IF\ ADVISED\ OF\ THE\ POSSIBILITY\ OF\ SUCH\ DAMAGE.}}
\DoxyCodeLine{00033\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00034\ \textcolor{comment}{\ *\ ====================================================================}}
\DoxyCodeLine{00035\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00036\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00037\ \textcolor{comment}{/*}}
\DoxyCodeLine{00038\ \textcolor{comment}{\ *\ cmd\_ln.h\ -\/-\/\ Command\ line\ argument\ parsing.}}
\DoxyCodeLine{00039\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00040\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00041\ \textcolor{comment}{\ *\ CMU\ ARPA\ Speech\ Project}}
\DoxyCodeLine{00042\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00043\ \textcolor{comment}{\ *\ Copyright\ (c)\ 1999\ Carnegie\ Mellon\ University.}}
\DoxyCodeLine{00044\ \textcolor{comment}{\ *\ ALL\ RIGHTS\ RESERVED.}}
\DoxyCodeLine{00045\ \textcolor{comment}{\ *\ **********************************************}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00047\ \textcolor{comment}{\ *\ HISTORY}}
\DoxyCodeLine{00048\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00049\ \textcolor{comment}{\ *\ 15-\/Jul-\/1997\ \ M\ K\ Ravishankar\ (rkm@cs.cmu.edu)\ at\ Carnegie\ Mellon\ University}}
\DoxyCodeLine{00050\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Added\ required\ arguments\ types.}}
\DoxyCodeLine{00051\ \textcolor{comment}{\ *\ }}
\DoxyCodeLine{00052\ \textcolor{comment}{\ *\ 07-\/Dec-\/96\ \ \ \ M\ K\ Ravishankar\ (rkm@cs.cmu.edu)\ at\ Carnegie\ Mellon\ University}}
\DoxyCodeLine{00053\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ Created,\ based\ on\ Eric's\ implementation.\ \ Basically,\ combined\ several}}
\DoxyCodeLine{00054\ \textcolor{comment}{\ *\ \ \ \ \ \ \ \ \ \ \ \ \ \ functions\ into\ one,\ eliminated\ validation,\ and\ simplified\ the\ interface.}}
\DoxyCodeLine{00055\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\#ifndef\ \_LIBUTIL\_CMD\_LN\_H\_}}
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\#define\ \_LIBUTIL\_CMD\_LN\_H\_}}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\#include\ <stdarg.h>}}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \textcolor{comment}{/*\ Win32/WinCE\ DLL\ gunk\ */}}
\DoxyCodeLine{00065\ \textcolor{preprocessor}{\#include\ <sphinxbase/sphinxbase\_export.h>}}
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\#include\ <sphinxbase/prim\_type.h>}}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00076\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00077\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00078\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00079\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00080\ \textcolor{comment}{/*\ Fool\ Emacs.\ */}}
\DoxyCodeLine{00081\ \}}
\DoxyCodeLine{00082\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00088\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }arg\_s\ \{}
\DoxyCodeLine{00089\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name;\ \ \ }
\DoxyCodeLine{00090\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ type;\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00091\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *deflt;\ \ }
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *doc;\ \ \ \ }
\DoxyCodeLine{00093\ \}\ arg\_t;}
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00098\ \textcolor{comment}{/*\ @\{\ */}}
\DoxyCodeLine{00102\ \textcolor{preprocessor}{\#define\ ARG\_REQUIRED\ (1<<0)}}
\DoxyCodeLine{00106\ \textcolor{preprocessor}{\#define\ ARG\_INTEGER\ \ (1<<1)}}
\DoxyCodeLine{00110\ \textcolor{preprocessor}{\#define\ ARG\_FLOATING\ (1<<2)}}
\DoxyCodeLine{00114\ \textcolor{preprocessor}{\#define\ ARG\_STRING\ \ \ (1<<3)}}
\DoxyCodeLine{00118\ \textcolor{preprocessor}{\#define\ ARG\_BOOLEAN\ \ (1<<4)}}
\DoxyCodeLine{00122\ \textcolor{preprocessor}{\#define\ ARG\_STRING\_LIST\ \ (1<<5)}}
\DoxyCodeLine{00123\ }
\DoxyCodeLine{00127\ \textcolor{preprocessor}{\#define\ REQARG\_INTEGER\ (ARG\_INTEGER\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00131\ \textcolor{preprocessor}{\#define\ REQARG\_FLOATING\ (ARG\_FLOATING\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00135\ \textcolor{preprocessor}{\#define\ REQARG\_STRING\ (ARG\_STRING\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00139\ \textcolor{preprocessor}{\#define\ REQARG\_BOOLEAN\ (ARG\_BOOLEAN\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00140\ }
\DoxyCodeLine{00144\ \textcolor{preprocessor}{\#define\ ARG\_INT32\ \ \ ARG\_INTEGER}}
\DoxyCodeLine{00148\ \textcolor{preprocessor}{\#define\ ARG\_FLOAT32\ ARG\_FLOATING}}
\DoxyCodeLine{00152\ \textcolor{preprocessor}{\#define\ ARG\_FLOAT64\ ARG\_FLOATING}}
\DoxyCodeLine{00156\ \textcolor{preprocessor}{\#define\ REQARG\_INT32\ (ARG\_INT32\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00160\ \textcolor{preprocessor}{\#define\ REQARG\_FLOAT32\ (ARG\_FLOAT32\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00164\ \textcolor{preprocessor}{\#define\ REQARG\_FLOAT64\ (ARG\_FLOAT64\ |\ ARG\_REQUIRED)}}
\DoxyCodeLine{00165\ \textcolor{comment}{/*\ @\}\ */}}
\DoxyCodeLine{00166\ }
\DoxyCodeLine{00167\ }
\DoxyCodeLine{00172\ \textcolor{preprocessor}{\#define\ ARG\_STRINGIFY(s)\ ARG\_STRINGIFY1(s)}}
\DoxyCodeLine{00173\ \textcolor{preprocessor}{\#define\ ARG\_STRINGIFY1(s)\ \#s}}
\DoxyCodeLine{00174\ }
\DoxyCodeLine{00179\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }cmd\_ln\_s\ cmd\_ln\_t;}
\DoxyCodeLine{00180\ }
\DoxyCodeLine{00199\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00200\ cmd\_ln\_t\ *cmd\_ln\_init(cmd\_ln\_t\ *inout\_cmdln,\ arg\_t\ \textcolor{keyword}{const}\ *defn,\ int32\ strict,\ ...);}
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00207\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00208\ cmd\_ln\_t\ *cmd\_ln\_retain(cmd\_ln\_t\ *cmdln);}
\DoxyCodeLine{00209\ }
\DoxyCodeLine{00215\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00216\ \textcolor{keywordtype}{int}\ cmd\_ln\_free\_r(cmd\_ln\_t\ *cmdln);}
\DoxyCodeLine{00217\ }
\DoxyCodeLine{00237\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00238\ cmd\_ln\_t\ *cmd\_ln\_parse\_r(cmd\_ln\_t\ *inout\_cmdln,\ }
\DoxyCodeLine{00240\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ arg\_t\ \textcolor{keyword}{const}\ *defn,\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00241\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ argc,\ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00242\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *argv[],\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00243\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ strict\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00245\ \ \ \ \ );}
\DoxyCodeLine{00246\ }
\DoxyCodeLine{00253\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00254\ cmd\_ln\_t\ *cmd\_ln\_parse\_file\_r(cmd\_ln\_t\ *inout\_cmdln,\ }
\DoxyCodeLine{00256\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ arg\_t\ \textcolor{keyword}{const}\ *defn,\ \ \ }
\DoxyCodeLine{00257\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *filename,}
\DoxyCodeLine{00259\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ strict\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00261\ \ \ \ \ );}
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00266\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00267\ anytype\_t\ *cmd\_ln\_access\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name);}
\DoxyCodeLine{00268\ }
\DoxyCodeLine{00283\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00284\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *cmd\_ln\_str\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name);}
\DoxyCodeLine{00285\ }
\DoxyCodeLine{00300\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00301\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ **cmd\_ln\_str\_list\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name);}
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00314\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00315\ \textcolor{keywordtype}{long}\ cmd\_ln\_int\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name);}
\DoxyCodeLine{00316\ }
\DoxyCodeLine{00328\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00329\ \textcolor{keywordtype}{double}\ cmd\_ln\_float\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name);}
\DoxyCodeLine{00330\ }
\DoxyCodeLine{00334\ \textcolor{preprocessor}{\#define\ cmd\_ln\_boolean\_r(c,n)\ (cmd\_ln\_int\_r(c,n)\ !=\ 0)}}
\DoxyCodeLine{00335\ }
\DoxyCodeLine{00344\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00345\ \textcolor{keywordtype}{void}\ cmd\_ln\_set\_str\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *str);}
\DoxyCodeLine{00346\ }
\DoxyCodeLine{00354\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00355\ \textcolor{keywordtype}{void}\ cmd\_ln\_set\_int\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name,\ \textcolor{keywordtype}{long}\ iv);}
\DoxyCodeLine{00356\ }
\DoxyCodeLine{00364\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00365\ \textcolor{keywordtype}{void}\ cmd\_ln\_set\_float\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name,\ \textcolor{keywordtype}{double}\ fv);}
\DoxyCodeLine{00366\ }
\DoxyCodeLine{00370\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_boolean\_r(c,n,b)\ (cmd\_ln\_set\_int\_r(c,n,(b)!=0))}}
\DoxyCodeLine{00371\ }
\DoxyCodeLine{00372\ \textcolor{comment}{/*}}
\DoxyCodeLine{00373\ \textcolor{comment}{\ *\ Compatibility\ macros}}
\DoxyCodeLine{00374\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00375\ \textcolor{preprocessor}{\#define\ cmd\_ln\_int32\_r(c,n)\ \ \ \ \ (int32)cmd\_ln\_int\_r(c,n)}}
\DoxyCodeLine{00376\ \textcolor{preprocessor}{\#define\ cmd\_ln\_float32\_r(c,n)\ \ \ (float32)cmd\_ln\_float\_r(c,n)}}
\DoxyCodeLine{00377\ \textcolor{preprocessor}{\#define\ cmd\_ln\_float64\_r(c,n)\ \ \ (float64)cmd\_ln\_float\_r(c,n)}}
\DoxyCodeLine{00378\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_int32\_r(c,n,i)\ \ \ cmd\_ln\_set\_int\_r(c,n,i)}}
\DoxyCodeLine{00379\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_float32\_r(c,n,f)\ cmd\_ln\_set\_float\_r(c,n,(double)f)}}
\DoxyCodeLine{00380\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_float64\_r(c,n,f)\ cmd\_ln\_set\_float\_r(c,n,(double)f)}}
\DoxyCodeLine{00381\ }
\DoxyCodeLine{00388\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00389\ \textcolor{keywordtype}{int}\ cmd\_ln\_exists\_r(cmd\_ln\_t\ *cmdln,\ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *name);}
\DoxyCodeLine{00390\ }
\DoxyCodeLine{00395\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00396\ \textcolor{keywordtype}{void}\ cmd\_ln\_print\_help\_r\ (cmd\_ln\_t\ *cmdln,}
\DoxyCodeLine{00397\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ FILE\ *fp,\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00398\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ arg\_t\ *defn\ }
\DoxyCodeLine{00399\ \ \ \ \ \ \ \ \ );}
\DoxyCodeLine{00400\ }
\DoxyCodeLine{00408\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00409\ int32\ cmd\_ln\_parse(\textcolor{keyword}{const}\ arg\_t\ *defn,\ \ }
\DoxyCodeLine{00410\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ argc,\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00411\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *argv[],\ \ \ \ \ \ \ }
\DoxyCodeLine{00412\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ strict\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00414\ \ \ \ \ \ \ \ \ );}
\DoxyCodeLine{00415\ }
\DoxyCodeLine{00425\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00426\ int32\ cmd\_ln\_parse\_file(\textcolor{keyword}{const}\ arg\_t\ *defn,\ \ \ }
\DoxyCodeLine{00427\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}\ *filename,}
\DoxyCodeLine{00428\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int32\ strict\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00430\ \ \ \ \ \ \ \ \ );}
\DoxyCodeLine{00431\ }
\DoxyCodeLine{00437\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00438\ \textcolor{keywordtype}{void}\ cmd\_ln\_appl\_enter(\textcolor{keywordtype}{int}\ argc,\ \ \ }
\DoxyCodeLine{00439\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *argv[],\ }
\DoxyCodeLine{00440\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ \textcolor{keyword}{const}*\ default\_argfn,\ }
\DoxyCodeLine{00441\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ arg\_t\ *defn\ }
\DoxyCodeLine{00442\ \ \ \ \ \ \ \ \ );}
\DoxyCodeLine{00443\ }
\DoxyCodeLine{00444\ }
\DoxyCodeLine{00451\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00452\ \textcolor{keywordtype}{void}\ cmd\_ln\_appl\_exit(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00453\ }
\DoxyCodeLine{00460\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00461\ cmd\_ln\_t\ *cmd\_ln\_get(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00462\ }
\DoxyCodeLine{00473\ \textcolor{preprocessor}{\#define\ cmd\_ln\_exists(name)\ \ \ \ \ cmd\_ln\_exists\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00474\ }
\DoxyCodeLine{00481\ \textcolor{preprocessor}{\#define\ cmd\_ln\_access(name)\ \ \ \ \ cmd\_ln\_access\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00482\ }
\DoxyCodeLine{00489\ \textcolor{preprocessor}{\#define\ cmd\_ln\_str(name)\ \ \ \ \ \ \ \ cmd\_ln\_str\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00490\ }
\DoxyCodeLine{00497\ \textcolor{preprocessor}{\#define\ cmd\_ln\_str\_list(name)\ \ \ cmd\_ln\_str\_list\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00498\ }
\DoxyCodeLine{00505\ \textcolor{preprocessor}{\#define\ cmd\_ln\_int32(name)\ \ \ \ \ \ (int32)cmd\_ln\_int\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00512\ \textcolor{preprocessor}{\#define\ cmd\_ln\_float32(name)\ \ \ \ (float32)cmd\_ln\_float\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00519\ \textcolor{preprocessor}{\#define\ cmd\_ln\_float64(name)\ \ \ \ (float64)cmd\_ln\_float\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00526\ \textcolor{preprocessor}{\#define\ cmd\_ln\_boolean(name)\ \ \ \ cmd\_ln\_boolean\_r(cmd\_ln\_get(),\ name)}}
\DoxyCodeLine{00527\ }
\DoxyCodeLine{00534\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_str(n,s)\ \ \ \ \ cmd\_ln\_set\_str\_r(cmd\_ln\_get(),n,s)}}
\DoxyCodeLine{00541\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_int32(n,i)\ \ \ cmd\_ln\_set\_int\_r(cmd\_ln\_get(),n,i)}}
\DoxyCodeLine{00548\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_float32(n,f)\ cmd\_ln\_set\_float\_r(cmd\_ln\_get(),n,f)}}
\DoxyCodeLine{00555\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_float64(n,f)\ cmd\_ln\_set\_float\_r(cmd\_ln\_get(),n,f)}}
\DoxyCodeLine{00562\ \textcolor{preprocessor}{\#define\ cmd\_ln\_set\_boolean(n,b)\ cmd\_ln\_set\_boolean\_r(cmd\_ln\_get(),n,b)}}
\DoxyCodeLine{00563\ }
\DoxyCodeLine{00571\ \textcolor{preprocessor}{\#define\ cmd\_ln\_print\_help(f,d)\ cmd\_ln\_print\_help\_r(cmd\_ln\_get(),f,d)}}
\DoxyCodeLine{00572\ }
\DoxyCodeLine{00577\ SPHINXBASE\_EXPORT}
\DoxyCodeLine{00578\ \textcolor{keywordtype}{void}\ cmd\_ln\_free\ (\textcolor{keywordtype}{void});}
\DoxyCodeLine{00579\ }
\DoxyCodeLine{00580\ }
\DoxyCodeLine{00581\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00582\ \}}
\DoxyCodeLine{00583\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00584\ }
\DoxyCodeLine{00585\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00586\ }
\DoxyCodeLine{00587\ }

\end{DoxyCode}
