Annotation of embedaddon/confuse/doc/html/confuse_8h_source.html, revision 1.1.1.1
1.1 misho 1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2: <html xmlns="http://www.w3.org/1999/xhtml">
3: <head>
4: <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5: <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6: <meta name="generator" content="Doxygen 1.8.17"/>
7: <title>confuse: confuse.h Source File</title>
8: <link href="tabs.css" rel="stylesheet" type="text/css"/>
9: <script type="text/javascript" src="jquery.js"></script>
10: <script type="text/javascript" src="dynsections.js"></script>
11: <link href="search/search.css" rel="stylesheet" type="text/css"/>
12: <script type="text/javascript" src="search/searchdata.js"></script>
13: <script type="text/javascript" src="search/search.js"></script>
14: <link href="doxygen.css" rel="stylesheet" type="text/css" />
15: </head>
16: <body>
17: <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
18: <div id="titlearea">
19: <table cellspacing="0" cellpadding="0">
20: <tbody>
21: <tr style="height: 56px;">
22: <td id="projectalign" style="padding-left: 0.5em;">
23: <div id="projectname">confuse
24:  <span id="projectnumber">3.3</span>
25: </div>
26: </td>
27: </tr>
28: </tbody>
29: </table>
30: </div>
31: <!-- end header part -->
32: <!-- Generated by Doxygen 1.8.17 -->
33: <script type="text/javascript">
34: /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
35: var searchBox = new SearchBox("searchBox", "search",false,'Search');
36: /* @license-end */
37: </script>
38: <script type="text/javascript" src="menudata.js"></script>
39: <script type="text/javascript" src="menu.js"></script>
40: <script type="text/javascript">
41: /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
42: $(function() {
43: initMenu('',true,false,'search.php','Search');
44: $(document).ready(function() { init_search(); });
45: });
46: /* @license-end */</script>
47: <div id="main-nav"></div>
48: <!-- window showing the filter options -->
49: <div id="MSearchSelectWindow"
50: onmouseover="return searchBox.OnSearchSelectShow()"
51: onmouseout="return searchBox.OnSearchSelectHide()"
52: onkeydown="return searchBox.OnSearchSelectKey(event)">
53: </div>
54:
55: <!-- iframe showing the search results (closed by default) -->
56: <div id="MSearchResultsWindow">
57: <iframe src="javascript:void(0)" frameborder="0"
58: name="MSearchResults" id="MSearchResults">
59: </iframe>
60: </div>
61:
62: <div id="nav-path" class="navpath">
63: <ul>
64: <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
65: </div>
66: </div><!-- top -->
67: <div class="header">
68: <div class="headertitle">
69: <div class="title">confuse.h</div> </div>
70: </div><!--header-->
71: <div class="contents">
72: <a href="confuse_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
73: <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2002-2017 Martin Hedenfalk <martin@bzero.se></span></div>
74: <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
75: <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Permission to use, copy, modify, and/or distribute this software for any</span></div>
76: <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * purpose with or without fee is hereby granted, provided that the above</span></div>
77: <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * copyright notice and this permission notice appear in all copies.</span></div>
78: <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
79: <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
80: <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
81: <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
82: <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
83: <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
84: <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
85: <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
86: <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div>
87: <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
88: <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifndef CONFUSE_H_</span></div>
89: <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#define CONFUSE_H_</span></div>
90: <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
91: <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
92: <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
93: <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#endif</span></div>
94: <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
95: <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <stdio.h></span></div>
96: <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include <stdarg.h></span></div>
97: <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
98: <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#if defined(_WIN32) && !defined(__GNUC__)</span></div>
99: <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor"># ifdef HAVE__FILENO</span></div>
100: <div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor"># define fileno _fileno</span></div>
101: <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"># endif</span></div>
102: <div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor"># include <io.h></span></div>
103: <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor"># ifdef HAVE__ISATTY</span></div>
104: <div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor"># define isatty _isatty</span></div>
105: <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor"># endif</span></div>
106: <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"># ifdef BUILDING_STATIC</span></div>
107: <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor"># define DLLIMPORT</span></div>
108: <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor"># else </span><span class="comment">/* ! BUILDING_STATIC */</span><span class="preprocessor"></span></div>
109: <div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor"># ifdef BUILDING_DLL</span></div>
110: <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"># define DLLIMPORT __declspec (dllexport)</span></div>
111: <div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor"># else </span><span class="comment">/* ! BUILDING_DLL */</span><span class="preprocessor"></span></div>
112: <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"># define DLLIMPORT __declspec (dllimport)</span></div>
113: <div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"># endif </span><span class="comment">/* BUILDING_DLL */</span><span class="preprocessor"></span></div>
114: <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"># endif </span><span class="comment">/* BUILDING_STATIC */</span><span class="preprocessor"></span></div>
115: <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#else </span><span class="comment">/* ! _WIN32 || __GNUC__ */</span><span class="preprocessor"></span></div>
116: <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"># define DLLIMPORT</span></div>
117: <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif </span><span class="comment">/* _WIN32 */</span><span class="preprocessor"></span></div>
118: <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
119: <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor">#ifndef __BORLANDC__</span></div>
120: <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor"># define __export</span></div>
121: <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#endif</span></div>
122: <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
123: <div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7"> 72</a></span> <span class="keyword">enum</span> <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7">cfg_type_t</a> {</div>
124: <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  CFGT_NONE,</div>
125: <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7af397ec05171bfacd9944b3d538fbd6dc"> 74</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7af397ec05171bfacd9944b3d538fbd6dc">CFGT_INT</a>, </div>
126: <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7abd237f20c366857f5521da911ba813cb"> 75</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7abd237f20c366857f5521da911ba813cb">CFGT_FLOAT</a>, </div>
127: <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7ac6a18c97187c38648e11f18ad465f4f3"> 76</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7ac6a18c97187c38648e11f18ad465f4f3">CFGT_STR</a>, </div>
128: <div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a8f04ccea50fbe06f9a118b4423ead6fd"> 77</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a8f04ccea50fbe06f9a118b4423ead6fd">CFGT_BOOL</a>, </div>
129: <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7aa786f6288e70d0ec5fc0ef38f1671f1b"> 78</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7aa786f6288e70d0ec5fc0ef38f1671f1b">CFGT_SEC</a>, </div>
130: <div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a531bc0d05779dd0fbbe90ac9ae744c0f"> 79</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a531bc0d05779dd0fbbe90ac9ae744c0f">CFGT_FUNC</a>, </div>
131: <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a1b2260acd1f600d08b1317676b90dbb4"> 80</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a1b2260acd1f600d08b1317676b90dbb4">CFGT_PTR</a>, </div>
132: <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a5129850f14713386d370f620c828004a"> 81</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a5129850f14713386d370f620c828004a">CFGT_COMMENT</a> </div>
133: <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> };</div>
134: <div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7">cfg_type_t</a> <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7">cfg_type_t</a>;</div>
135: <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
136: <div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="confuse_8h.html#a65df72d236bcc3e7f22c5b2b5c24bded"> 86</a></span> <span class="preprocessor">#define CFGF_NONE (0)</span></div>
137: <div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="confuse_8h.html#a86b522a5daef5c07066b28f1585d2d77"> 87</a></span> <span class="preprocessor">#define CFGF_MULTI (1 << 0) </span></div>
138: <div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="confuse_8h.html#a644afc2caf9da9274ec08407997aa4ef"> 88</a></span> <span class="preprocessor">#define CFGF_LIST (1 << 1) </span></div>
139: <div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="confuse_8h.html#a7adecc621a1910b8807c613051bd8d1d"> 89</a></span> <span class="preprocessor">#define CFGF_NOCASE (1 << 2) </span></div>
140: <div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="confuse_8h.html#a65d20dbd5b778dd1bf3b3895206b4497"> 90</a></span> <span class="preprocessor">#define CFGF_TITLE (1 << 3) </span></div>
141: <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9020ea37bfdb4f3e88a18d0a0d00cdd9"> 91</a></span> <span class="preprocessor">#define CFGF_NODEFAULT (1 << 4) </span></div>
142: <div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="confuse_8h.html#a0f8c2f9b82f0338efdc22df54805a467"> 92</a></span> <span class="preprocessor">#define CFGF_NO_TITLE_DUPES (1 << 5) </span></div>
143: <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#define CFGF_RESET (1 << 6)</span></div>
144: <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor">#define CFGF_DEFINIT (1 << 7)</span></div>
145: <div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="confuse_8h.html#a51766e2c30fcf1c8d49b125db55a00bb"> 97</a></span> <span class="preprocessor">#define CFGF_IGNORE_UNKNOWN (1 << 8) </span></div>
146: <div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="confuse_8h.html#ac860586bbfb8db825009652a7ce33347"> 98</a></span> <span class="preprocessor">#define CFGF_DEPRECATED (1 << 9) </span></div>
147: <div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="confuse_8h.html#ad6f11a2efb1dec9df6b0c27f9ffe1a16"> 99</a></span> <span class="preprocessor">#define CFGF_DROP (1 << 10) </span></div>
148: <div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="confuse_8h.html#a95c35bf0ec5ca7c43b0dd3f3f8e7ed1e"> 100</a></span> <span class="preprocessor">#define CFGF_COMMENTS (1 << 11) </span></div>
149: <div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="confuse_8h.html#a7b25525f51adff514fd2ced4d3caa23e"> 101</a></span> <span class="preprocessor">#define CFGF_MODIFIED (1 << 12) </span></div>
150: <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="confuse_8h.html#a292c81c72ef7e04b97226529e3157f30"> 102</a></span> <span class="preprocessor">#define CFGF_KEYSTRVAL (1 << 13) </span></div>
151: <div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="confuse_8h.html#a66a1002180229809620b9bf2d3b888a6"> 105</a></span> <span class="preprocessor">#define CFG_SUCCESS 0</span></div>
152: <div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="preprocessor">#define CFG_FAIL -1</span></div>
153: <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#define CFG_FILE_ERROR -1</span></div>
154: <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#define CFG_PARSE_ERROR 1</span></div>
155: <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div>
156: <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">typedef</span> <span class="keyword">union </span><a class="code" href="unioncfg__value__t.html">cfg_value_t</a> <a class="code" href="unioncfg__value__t.html">cfg_value_t</a>;</div>
157: <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">typedef</span> <span class="keyword">union </span><a class="code" href="unioncfg__simple__t.html">cfg_simple_t</a> <a class="code" href="unioncfg__simple__t.html">cfg_simple_t</a>;</div>
158: <div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a>;</div>
159: <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcfg__t.html">cfg_t</a> <a class="code" href="structcfg__t.html">cfg_t</a>;</div>
160: <div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structcfg__defvalue__t.html">cfg_defvalue_t</a> <a class="code" href="structcfg__defvalue__t.html">cfg_defvalue_t</a>;</div>
161: <div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">typedef</span> <span class="keywordtype">int</span> cfg_flag_t;</div>
162: <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="keyword">typedef</span> <span class="keyword">struct </span>cfg_searchpath_t cfg_searchpath_t;</div>
163: <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
164: <div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="confuse_8h.html#a775e9fa25691f0754a643c0246efcc3c"> 143</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="confuse_8h.html#a775e9fa25691f0754a643c0246efcc3c">cfg_func_t</a>)(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">int</span> argc, <span class="keyword">const</span> <span class="keywordtype">char</span> **argv);</div>
165: <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div>
166: <div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9"> 165</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a>)(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index, FILE *fp);</div>
167: <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
168: <div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="confuse_8h.html#a6fd5dd8df47cbf571782463ca1e0c4b7"> 188</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="confuse_8h.html#a6fd5dd8df47cbf571782463ca1e0c4b7">cfg_callback_t</a>)(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keyword">const</span> <span class="keywordtype">char</span> *value, <span class="keywordtype">void</span> *result);</div>
169: <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
170: <div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="confuse_8h.html#a16da0a75f6314baedf4ed4ee2dd28d11"> 203</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="confuse_8h.html#a16da0a75f6314baedf4ed4ee2dd28d11">cfg_validate_callback_t</a>)(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
171: <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
172: <div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="confuse_8h.html#a5285e2294a128c40810a986ef87c6ed3"> 219</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="confuse_8h.html#a5285e2294a128c40810a986ef87c6ed3">cfg_validate_callback2_t</a>)(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">void</span> *value);</div>
173: <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
174: <div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="confuse_8h.html#a1761cfbf430e57415ed517374028996f"> 229</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="confuse_8h.html#a1761cfbf430e57415ed517374028996f">cfg_free_func_t</a>)(<span class="keywordtype">void</span> *value);</div>
175: <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
176: <div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4"> 232</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> { cfg_false, cfg_true } <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a>;</div>
177: <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
178: <div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="confuse_8h.html#a21921b63558b504a7f68cf97ba3cf3ce"> 235</a></span> <span class="keyword">typedef</span> void (*<a class="code" href="confuse_8h.html#a21921b63558b504a7f68cf97ba3cf3ce">cfg_errfunc_t</a>)(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, va_list ap);</div>
179: <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
180: <div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="confuse_8h.html#ac0d704ca318d6a83072f3e6860965694"> 246</a></span> <span class="keyword">typedef</span> int (*<a class="code" href="confuse_8h.html#ac0d704ca318d6a83072f3e6860965694">cfg_print_filter_func_t</a>)(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
181: <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div>
182: <div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="structcfg__t.html"> 252</a></span> <span class="keyword">struct </span><a class="code" href="structcfg__t.html">cfg_t</a> {</div>
183: <div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="structcfg__t.html#a9b4066552cd320b6a7f34fb6593474d1"> 253</a></span>  cfg_flag_t <a class="code" href="structcfg__t.html#a9b4066552cd320b6a7f34fb6593474d1">flags</a>; </div>
184: <div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="structcfg__t.html#a725fb2555ab71a36eb8f5c461c731e64"> 254</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structcfg__t.html#a725fb2555ab71a36eb8f5c461c731e64">name</a>; </div>
185: <div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="structcfg__t.html#ab4be96e6713f164062c07b4e2a2c51b2"> 257</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structcfg__t.html#ab4be96e6713f164062c07b4e2a2c51b2">comment</a>; </div>
186: <div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="structcfg__t.html#a2afb9c3a1087ff2cecd893ff7ab65123"> 258</a></span>  <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *<a class="code" href="structcfg__t.html#a2afb9c3a1087ff2cecd893ff7ab65123">opts</a>; </div>
187: <div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structcfg__t.html#a74db29ce5d3b2d4cf99b9db1f6f5139d"> 259</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structcfg__t.html#a74db29ce5d3b2d4cf99b9db1f6f5139d">title</a>; </div>
188: <div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="structcfg__t.html#af4a7d62ed73689853a0045412ab30a24"> 261</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structcfg__t.html#af4a7d62ed73689853a0045412ab30a24">filename</a>; </div>
189: <div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="structcfg__t.html#a5bd45667c23f040a20b2f2c0eacf7b1b"> 262</a></span>  <span class="keywordtype">int</span> <a class="code" href="structcfg__t.html#a5bd45667c23f040a20b2f2c0eacf7b1b">line</a>; </div>
190: <div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="structcfg__t.html#a63b77129d671d1a7b2179c2aeb52ad10"> 263</a></span>  <a class="code" href="confuse_8h.html#a21921b63558b504a7f68cf97ba3cf3ce">cfg_errfunc_t</a> <a class="code" href="structcfg__t.html#a63b77129d671d1a7b2179c2aeb52ad10">errfunc</a>; </div>
191: <div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="structcfg__t.html#af6c59f8d119f4f06db13220129db0b5e"> 266</a></span>  cfg_searchpath_t *<a class="code" href="structcfg__t.html#af6c59f8d119f4f06db13220129db0b5e">path</a>; </div>
192: <div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structcfg__t.html#a7fed5a4a0254e3f014c3a4e83caf4ca4"> 267</a></span>  <a class="code" href="confuse_8h.html#ac0d704ca318d6a83072f3e6860965694">cfg_print_filter_func_t</a> <a class="code" href="structcfg__t.html#a7fed5a4a0254e3f014c3a4e83caf4ca4">pff</a>; </div>
193: <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> };</div>
194: <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>
195: <div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html"> 272</a></span> <span class="keyword">union </span><a class="code" href="unioncfg__value__t.html">cfg_value_t</a> {</div>
196: <div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html#aa72899aba82866c330379808f5a92b82"> 273</a></span>  <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="unioncfg__value__t.html#aa72899aba82866c330379808f5a92b82">number</a>; </div>
197: <div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html#ad2e403d70d11800811b81032b4b7e032"> 274</a></span>  <span class="keywordtype">double</span> <a class="code" href="unioncfg__value__t.html#ad2e403d70d11800811b81032b4b7e032">fpnumber</a>; </div>
198: <div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html#a9213cfe5b50eb6d2c5fec1e0a1ff3c8a"> 275</a></span>  <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> <a class="code" href="unioncfg__value__t.html#a9213cfe5b50eb6d2c5fec1e0a1ff3c8a">boolean</a>; </div>
199: <div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html#a7406159ddee3574d8ded326af1ab0764"> 276</a></span>  <span class="keywordtype">char</span> *<a class="code" href="unioncfg__value__t.html#a7406159ddee3574d8ded326af1ab0764">string</a>; </div>
200: <div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html#a6d27d8470954ed35947dfcf3bcc52796"> 277</a></span>  <a class="code" href="structcfg__t.html">cfg_t</a> *<a class="code" href="unioncfg__value__t.html#a6d27d8470954ed35947dfcf3bcc52796">section</a>; </div>
201: <div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="unioncfg__value__t.html#a401f5e5ef96fd0c3cdb7abd7ce11a3bb"> 278</a></span>  <span class="keywordtype">void</span> *<a class="code" href="unioncfg__value__t.html#a401f5e5ef96fd0c3cdb7abd7ce11a3bb">ptr</a>; </div>
202: <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> };</div>
203: <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  </div>
204: <div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="unioncfg__simple__t.html"> 284</a></span> <span class="keyword">union </span><a class="code" href="unioncfg__simple__t.html">cfg_simple_t</a> {</div>
205: <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keywordtype">long</span> <span class="keywordtype">int</span> *number;</div>
206: <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordtype">double</span> *fpnumber;</div>
207: <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> *boolean;</div>
208: <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordtype">char</span> **string;</div>
209: <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordtype">void</span> **ptr;</div>
210: <div class="line"><a name="l00290"></a><span class="lineno"> 290</span> };</div>
211: <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  </div>
212: <div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="structcfg__defvalue__t.html"> 295</a></span> <span class="keyword">struct </span><a class="code" href="structcfg__defvalue__t.html">cfg_defvalue_t</a> {</div>
213: <div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="structcfg__defvalue__t.html#a068568c644c8991d477c3d2793d5556a"> 296</a></span>  <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="structcfg__defvalue__t.html#a068568c644c8991d477c3d2793d5556a">number</a>; </div>
214: <div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="structcfg__defvalue__t.html#add9c41c942eb6207ca019b86055a298a"> 297</a></span>  <span class="keywordtype">double</span> <a class="code" href="structcfg__defvalue__t.html#add9c41c942eb6207ca019b86055a298a">fpnumber</a>; </div>
215: <div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="structcfg__defvalue__t.html#aaaed19d35087bff1882ddf6873146624"> 298</a></span>  <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> <a class="code" href="structcfg__defvalue__t.html#aaaed19d35087bff1882ddf6873146624">boolean</a>; </div>
216: <div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="structcfg__defvalue__t.html#a80df4364da2c5ac1c2c063343cc4e7e5"> 299</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structcfg__defvalue__t.html#a80df4364da2c5ac1c2c063343cc4e7e5">string</a>; </div>
217: <div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="structcfg__defvalue__t.html#a9d92990af2ee07184dd223724b1b750c"> 300</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structcfg__defvalue__t.html#a9d92990af2ee07184dd223724b1b750c">parsed</a>; </div>
218: <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> };</div>
219: <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  </div>
220: <div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html"> 309</a></span> <span class="keyword">struct </span><a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> {</div>
221: <div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a0754fed6c0e415e12d7fe4ecfd2b3295"> 310</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structcfg__opt__t.html#a0754fed6c0e415e12d7fe4ecfd2b3295">name</a>; </div>
222: <div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a8eac503e744faf87c8ec1cdb7f6d8648"> 311</a></span>  <span class="keywordtype">char</span> *<a class="code" href="structcfg__opt__t.html#a8eac503e744faf87c8ec1cdb7f6d8648">comment</a>; </div>
223: <div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a0cdd99a97da9f62a6876421571842c5a"> 312</a></span>  <a class="code" href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7">cfg_type_t</a> <a class="code" href="structcfg__opt__t.html#a0cdd99a97da9f62a6876421571842c5a">type</a>; </div>
224: <div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#af6c23c379f0c391d665faeaaf9c49d64"> 313</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structcfg__opt__t.html#af6c23c379f0c391d665faeaaf9c49d64">nvalues</a>; </div>
225: <div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#aed01618b386409cdd2305ba2ec3b5028"> 314</a></span>  <a class="code" href="unioncfg__value__t.html">cfg_value_t</a> **<a class="code" href="structcfg__opt__t.html#aed01618b386409cdd2305ba2ec3b5028">values</a>; </div>
226: <div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#adba3a76e9eccb195383327f645f79da0"> 315</a></span>  cfg_flag_t <a class="code" href="structcfg__opt__t.html#adba3a76e9eccb195383327f645f79da0">flags</a>; </div>
227: <div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#aa3361a9b809e83d22e911b32e10387d9"> 316</a></span>  <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *<a class="code" href="structcfg__opt__t.html#aa3361a9b809e83d22e911b32e10387d9">subopts</a>; </div>
228: <div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a2b7d4ec69eb37823f90989e876fe59be"> 317</a></span>  <a class="code" href="structcfg__defvalue__t.html">cfg_defvalue_t</a> <a class="code" href="structcfg__opt__t.html#a2b7d4ec69eb37823f90989e876fe59be">def</a>; </div>
229: <div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a7ae186c0caf8c6208675e08a7a608448"> 318</a></span>  <a class="code" href="confuse_8h.html#a775e9fa25691f0754a643c0246efcc3c">cfg_func_t</a> <a class="code" href="structcfg__opt__t.html#a7ae186c0caf8c6208675e08a7a608448">func</a>; </div>
230: <div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a74cd795bf14bcbc4fd5f8993e1ec241a"> 319</a></span>  <a class="code" href="unioncfg__simple__t.html">cfg_simple_t</a> <a class="code" href="structcfg__opt__t.html#a74cd795bf14bcbc4fd5f8993e1ec241a">simple_value</a>; </div>
231: <div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a5c391c4830df02c70d92c1438fee812e"> 322</a></span>  <a class="code" href="confuse_8h.html#a6fd5dd8df47cbf571782463ca1e0c4b7">cfg_callback_t</a> <a class="code" href="structcfg__opt__t.html#a5c391c4830df02c70d92c1438fee812e">parsecb</a>; </div>
232: <div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a99bfdb357aca5b75254352a54fd6f9be"> 323</a></span>  <a class="code" href="confuse_8h.html#a16da0a75f6314baedf4ed4ee2dd28d11">cfg_validate_callback_t</a> <a class="code" href="structcfg__opt__t.html#a99bfdb357aca5b75254352a54fd6f9be">validcb</a>; </div>
233: <div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#a8a6eefc8e2c0efe76587fef68c5c3331"> 324</a></span>  <a class="code" href="confuse_8h.html#a5285e2294a128c40810a986ef87c6ed3">cfg_validate_callback2_t</a> <a class="code" href="structcfg__opt__t.html#a8a6eefc8e2c0efe76587fef68c5c3331">validcb2</a>; </div>
234: <div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="structcfg__opt__t.html#ad6b58f20b560e054150136fe1818cc44"> 325</a></span>  <a class="code" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a> <a class="code" href="structcfg__opt__t.html#ad6b58f20b560e054150136fe1818cc44">pf</a>; </div>
235: <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="confuse_8h.html#a1761cfbf430e57415ed517374028996f">cfg_free_func_t</a> freecb; <span class="comment">/***< user-defined memory release function */</span></div>
236: <div class="line"><a name="l00327"></a><span class="lineno"> 327</span> };</div>
237: <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div>
238: <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> __export confuse_copyright[];</div>
239: <div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> __export confuse_version[];</div>
240: <div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> __export confuse_author[];</div>
241: <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  </div>
242: <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="preprocessor">#define __CFG_STR(name, def, flags, svalue, cb) \</span></div>
243: <div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="preprocessor"> {name,0,CFGT_STR,0,0,flags,0,{0,0,cfg_false,def,0},0,{.string=svalue},cb,0,0,0,0}</span></div>
244: <div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="preprocessor">#define __CFG_STR_LIST(name, def, flags, svalue, cb) \</span></div>
245: <div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="preprocessor"> {name,0,CFGT_STR,0,0,flags | CFGF_LIST,0,{0,0,cfg_false,0,def},0,{.string=svalue},cb,0,0,0,0}</span></div>
246: <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  </div>
247: <div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="confuse_8h.html#a963e2ee16396dcf36f6d1937faa00f0c"> 340</a></span> <span class="preprocessor">#define CFG_STR(name, def, flags) \</span></div>
248: <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="preprocessor"> __CFG_STR(name, def, flags, 0, 0)</span></div>
249: <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  </div>
250: <div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="confuse_8h.html#adb9b1c168e72a3e065d2a06f2ed46c9f"> 345</a></span> <span class="preprocessor">#define CFG_STR_LIST(name, def, flags) \</span></div>
251: <div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor"> __CFG_STR_LIST(name, def, flags, 0, 0)</span></div>
252: <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  </div>
253: <div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="confuse_8h.html#ab5a56a69f0f8236be65c1d35a94b4437"> 350</a></span> <span class="preprocessor">#define CFG_STR_CB(name, def, flags, cb) \</span></div>
254: <div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="preprocessor"> __CFG_STR(name, def, flags, 0, cb)</span></div>
255: <div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  </div>
256: <div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="confuse_8h.html#a1ddedb0317b76dd9da7e8a9f7a585224"> 355</a></span> <span class="preprocessor">#define CFG_STR_LIST_CB(name, def, flags, cb) \</span></div>
257: <div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="preprocessor"> __CFG_STR_LIST(name, def, flags, 0, cb)</span></div>
258: <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  </div>
259: <div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="confuse_8h.html#ae54fbbc31bd8c7ec8d7f04597a9f749d"> 410</a></span> <span class="preprocessor">#define CFG_SIMPLE_STR(name, svalue) \</span></div>
260: <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="preprocessor"> __CFG_STR(name, 0, CFGF_NONE, svalue, 0)</span></div>
261: <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  </div>
262: <div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  </div>
263: <div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="preprocessor">#define __CFG_INT(name, def, flags, svalue, cb) \</span></div>
264: <div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <span class="preprocessor"> {name,0,CFGT_INT,0,0,flags,0,{def,0,cfg_false,0,0},0,{.number=svalue},cb,0,0,0,0}</span></div>
265: <div class="line"><a name="l00416"></a><span class="lineno"> 416</span> <span class="preprocessor">#define __CFG_INT_LIST(name, def, flags, svalue, cb) \</span></div>
266: <div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="preprocessor"> {name,0,CFGT_INT,0,0,flags | CFGF_LIST,0,{0,0,cfg_false,0,def},0,{.number=svalue},cb,0,0,0,0}</span></div>
267: <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  </div>
268: <div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="confuse_8h.html#ac2b17561e944264c594ea0802e56d308"> 421</a></span> <span class="preprocessor">#define CFG_INT(name, def, flags) \</span></div>
269: <div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="preprocessor"> __CFG_INT(name, def, flags, 0, 0)</span></div>
270: <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  </div>
271: <div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="confuse_8h.html#a736ad9fa5db2697c232f490e84bbf622"> 426</a></span> <span class="preprocessor">#define CFG_INT_LIST(name, def, flags) \</span></div>
272: <div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <span class="preprocessor"> __CFG_INT_LIST(name, def, flags, 0, 0)</span></div>
273: <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  </div>
274: <div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="confuse_8h.html#a6f80d4ee3191ce3fb2f9e3b8fba50d49"> 431</a></span> <span class="preprocessor">#define CFG_INT_CB(name, def, flags, cb) \</span></div>
275: <div class="line"><a name="l00432"></a><span class="lineno"> 432</span> <span class="preprocessor"> __CFG_INT(name, def, flags, 0, cb)</span></div>
276: <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  </div>
277: <div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="confuse_8h.html#a19c5daa71195724822a75b1fbd287209"> 436</a></span> <span class="preprocessor">#define CFG_INT_LIST_CB(name, def, flags, cb) \</span></div>
278: <div class="line"><a name="l00437"></a><span class="lineno"> 437</span> <span class="preprocessor"> __CFG_INT_LIST(name, def, flags, 0, cb)</span></div>
279: <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  </div>
280: <div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="confuse_8h.html#a88fa2e73a1294c7e8a1f1519b68ce0ff"> 445</a></span> <span class="preprocessor">#define CFG_SIMPLE_INT(name, svalue) \</span></div>
281: <div class="line"><a name="l00446"></a><span class="lineno"> 446</span> <span class="preprocessor"> __CFG_INT(name, 0, CFGF_NONE, svalue, 0)</span></div>
282: <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  </div>
283: <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  </div>
284: <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  </div>
285: <div class="line"><a name="l00450"></a><span class="lineno"> 450</span> <span class="preprocessor">#define __CFG_FLOAT(name, def, flags, svalue, cb) \</span></div>
286: <div class="line"><a name="l00451"></a><span class="lineno"> 451</span> <span class="preprocessor"> {name,0,CFGT_FLOAT,0,0,flags,0,{0,def,cfg_false,0,0},0,{.fpnumber=svalue},cb,0,0,0,0}</span></div>
287: <div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="preprocessor">#define __CFG_FLOAT_LIST(name, def, flags, svalue, cb) \</span></div>
288: <div class="line"><a name="l00453"></a><span class="lineno"> 453</span> <span class="preprocessor"> {name,0,CFGT_FLOAT,0,0,flags | CFGF_LIST,0,{0,0,cfg_false,0,def},0,{.fpnumber=svalue},cb,0,0,0,0}</span></div>
289: <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  </div>
290: <div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="confuse_8h.html#a9c2060101b9c5e0d31a31ecd0dc6941d"> 457</a></span> <span class="preprocessor">#define CFG_FLOAT(name, def, flags) \</span></div>
291: <div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="preprocessor"> __CFG_FLOAT(name, def, flags, 0, 0)</span></div>
292: <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  </div>
293: <div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="confuse_8h.html#a09dd396c99a0948f03c14214e7735410"> 462</a></span> <span class="preprocessor">#define CFG_FLOAT_LIST(name, def, flags) \</span></div>
294: <div class="line"><a name="l00463"></a><span class="lineno"> 463</span> <span class="preprocessor"> __CFG_FLOAT_LIST(name, def, flags, 0, 0)</span></div>
295: <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  </div>
296: <div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="confuse_8h.html#af4e3227ba01b96f42e5594f25fee00f3"> 467</a></span> <span class="preprocessor">#define CFG_FLOAT_CB(name, def, flags, cb) \</span></div>
297: <div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <span class="preprocessor"> __CFG_FLOAT(name, def, flags, 0, cb)</span></div>
298: <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  </div>
299: <div class="line"><a name="l00472"></a><span class="lineno"><a class="line" href="confuse_8h.html#a82567f08b6a432bb92ba9718285b3e7b"> 472</a></span> <span class="preprocessor">#define CFG_FLOAT_LIST_CB(name, def, flags, cb) \</span></div>
300: <div class="line"><a name="l00473"></a><span class="lineno"> 473</span> <span class="preprocessor"> __CFG_FLOAT_LIST(name, def, flags, 0, cb)</span></div>
301: <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  </div>
302: <div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="confuse_8h.html#a073b3b12a5ba4648a1f4f1aa40ff3a2a"> 478</a></span> <span class="preprocessor">#define CFG_SIMPLE_FLOAT(name, svalue) \</span></div>
303: <div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <span class="preprocessor"> __CFG_FLOAT(name, 0, CFGF_NONE, svalue, 0)</span></div>
304: <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  </div>
305: <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  </div>
306: <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  </div>
307: <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> <span class="preprocessor">#define __CFG_BOOL(name, def, flags, svalue, cb) \</span></div>
308: <div class="line"><a name="l00484"></a><span class="lineno"> 484</span> <span class="preprocessor"> {name,0,CFGT_BOOL,0,0,flags,0,{0,0,def,0,0},0,{.boolean=svalue},cb,0,0,0,0}</span></div>
309: <div class="line"><a name="l00485"></a><span class="lineno"> 485</span> <span class="preprocessor">#define __CFG_BOOL_LIST(name, def, flags, svalue, cb) \</span></div>
310: <div class="line"><a name="l00486"></a><span class="lineno"> 486</span> <span class="preprocessor"> {name,0,CFGT_BOOL,0,0,flags | CFGF_LIST,0,{0,0,cfg_false,0,def},0,{.boolean=svalue},cb,0,0,0,0}</span></div>
311: <div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  </div>
312: <div class="line"><a name="l00490"></a><span class="lineno"><a class="line" href="confuse_8h.html#a5a49fffc6735970c739e34d51a39c95d"> 490</a></span> <span class="preprocessor">#define CFG_BOOL(name, def, flags) \</span></div>
313: <div class="line"><a name="l00491"></a><span class="lineno"> 491</span> <span class="preprocessor"> __CFG_BOOL(name, def, flags, 0, 0)</span></div>
314: <div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  </div>
315: <div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="confuse_8h.html#ad5449a10a53d3ce91ac5a5e0fbffdf35"> 495</a></span> <span class="preprocessor">#define CFG_BOOL_LIST(name, def, flags) \</span></div>
316: <div class="line"><a name="l00496"></a><span class="lineno"> 496</span> <span class="preprocessor"> __CFG_BOOL_LIST(name, def, flags, 0, 0)</span></div>
317: <div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  </div>
318: <div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="confuse_8h.html#a7951fcb3b77e290f5e2a04e1a7ee5f96"> 500</a></span> <span class="preprocessor">#define CFG_BOOL_CB(name, def, flags, cb) \</span></div>
319: <div class="line"><a name="l00501"></a><span class="lineno"> 501</span> <span class="preprocessor"> __CFG_BOOL(name, def, flags, 0, cb)</span></div>
320: <div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  </div>
321: <div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="confuse_8h.html#a2d905913ddeeb2301dbbc039d6a73d31"> 505</a></span> <span class="preprocessor">#define CFG_BOOL_LIST_CB(name, def, flags, cb) \</span></div>
322: <div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="preprocessor"> __CFG_BOOL_LIST(name, def, flags, 0, cb)</span></div>
323: <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  </div>
324: <div class="line"><a name="l00511"></a><span class="lineno"><a class="line" href="confuse_8h.html#a228dc9c22fbcbeabed4d171774662ce8"> 511</a></span> <span class="preprocessor">#define CFG_SIMPLE_BOOL(name, svalue) \</span></div>
325: <div class="line"><a name="l00512"></a><span class="lineno"> 512</span> <span class="preprocessor"> __CFG_BOOL(name, cfg_false, CFGF_NONE, svalue, 0)</span></div>
326: <div class="line"><a name="l00513"></a><span class="lineno"> 513</span>  </div>
327: <div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  </div>
328: <div class="line"><a name="l00515"></a><span class="lineno"> 515</span>  </div>
329: <div class="line"><a name="l00527"></a><span class="lineno"><a class="line" href="confuse_8h.html#a043d5c79624269e5f60f59a698e461a6"> 527</a></span> <span class="preprocessor">#define CFG_SEC(name, opts, flags) \</span></div>
330: <div class="line"><a name="l00528"></a><span class="lineno"> 528</span> <span class="preprocessor"> {name,0,CFGT_SEC,0,0,flags,opts,{0,0,cfg_false,0,0},0,{0},0,0,0,0,0}</span></div>
331: <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  </div>
332: <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  </div>
333: <div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  </div>
334: <div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="confuse_8h.html#ab1ff85d6346cdefeb2ec2b696e50fde9"> 538</a></span> <span class="preprocessor">#define CFG_FUNC(name, func) \</span></div>
335: <div class="line"><a name="l00539"></a><span class="lineno"> 539</span> <span class="preprocessor"> {name,0,CFGT_FUNC,0,0,CFGF_NONE,0,{0,0,cfg_false,0,0},func,{0},0,0,0,0,0}</span></div>
336: <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  </div>
337: <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  </div>
338: <div class="line"><a name="l00542"></a><span class="lineno"> 542</span> <span class="preprocessor">#define __CFG_PTR(name, def, flags, svalue, parsecb, freecb) \</span></div>
339: <div class="line"><a name="l00543"></a><span class="lineno"> 543</span> <span class="preprocessor"> {name,0,CFGT_PTR,0,0,flags,0,{0,0,cfg_false,0,def},0,{.ptr=svalue},parsecb,0,0,0,freecb}</span></div>
340: <div class="line"><a name="l00544"></a><span class="lineno"> 544</span> <span class="preprocessor">#define __CFG_PTR_LIST(name, def, flags, svalue, parsecb, freecb) \</span></div>
341: <div class="line"><a name="l00545"></a><span class="lineno"> 545</span> <span class="preprocessor"> {name,0,CFGT_PTR,0,0,flags | CFGF_LIST,0,{0,0,cfg_false,0,def},0,{.ptr=svalue},parsecb,0,0,0,freecb}</span></div>
342: <div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  </div>
343: <div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="confuse_8h.html#a240cd896d81e219b3acbcf8f7279ffbb"> 559</a></span> <span class="preprocessor">#define CFG_PTR_CB(name, def, flags, parsecb, freecb) \</span></div>
344: <div class="line"><a name="l00560"></a><span class="lineno"> 560</span> <span class="preprocessor"> __CFG_PTR(name, def, flags, 0, parsecb, freecb)</span></div>
345: <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  </div>
346: <div class="line"><a name="l00564"></a><span class="lineno"><a class="line" href="confuse_8h.html#a6846af076094d05ca6b0041ebfef0f2b"> 564</a></span> <span class="preprocessor">#define CFG_PTR_LIST_CB(name, def, flags, parsecb, freecb) \</span></div>
347: <div class="line"><a name="l00565"></a><span class="lineno"> 565</span> <span class="preprocessor"> __CFG_PTR(name, def, flags | CFGF_LIST, 0, parsecb, freecb)</span></div>
348: <div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  </div>
349: <div class="line"><a name="l00567"></a><span class="lineno"> 567</span> <span class="comment">/*#define CFG_SIMPLE_PTR(name, svalue, cb) \</span></div>
350: <div class="line"><a name="l00568"></a><span class="lineno"> 568</span> <span class="comment"> __CFG_PTR(name, 0, 0, svalue, cb)*/</span></div>
351: <div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  </div>
352: <div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  </div>
353: <div class="line"><a name="l00574"></a><span class="lineno"><a class="line" href="confuse_8h.html#a6b29dd8a4c6cd3d392d4ab6b2e535597"> 574</a></span> <span class="preprocessor">#define CFG_END() \</span></div>
354: <div class="line"><a name="l00575"></a><span class="lineno"> 575</span> <span class="preprocessor"> {0,0,CFGT_NONE,0,0,CFGF_NONE,0,{0,0,cfg_false,0,0},0,{0},0,0,0,0,0}</span></div>
355: <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  </div>
356: <div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  </div>
357: <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>  </div>
358: <div class="line"><a name="l00606"></a><span class="lineno"> 606</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *__export <a class="code" href="confuse_8h.html#aec07794916564c8ab437e030ac618aa8">cfg_init</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opts, cfg_flag_t flags);</div>
359: <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  </div>
360: <div class="line"><a name="l00624"></a><span class="lineno"> 624</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a6d41c76e4378f359cf70c5015f452c5d">cfg_add_searchpath</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *dir);</div>
361: <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  </div>
362: <div class="line"><a name="l00637"></a><span class="lineno"> 637</span> DLLIMPORT <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#a2fb3099e4fc619c746eacfb930b9d24d">cfg_searchpath</a>(cfg_searchpath_t *path, <span class="keyword">const</span> <span class="keywordtype">char</span> *file);</div>
363: <div class="line"><a name="l00638"></a><span class="lineno"> 638</span>  </div>
364: <div class="line"><a name="l00652"></a><span class="lineno"> 652</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a0fca327466956c5580199e24397d49fe">cfg_parse</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
365: <div class="line"><a name="l00653"></a><span class="lineno"> 653</span>  </div>
366: <div class="line"><a name="l00666"></a><span class="lineno"> 666</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a7ff54be21c704c3150ad439d7e17dcca">cfg_parse_fp</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, FILE *fp);</div>
367: <div class="line"><a name="l00667"></a><span class="lineno"> 667</span>  </div>
368: <div class="line"><a name="l00678"></a><span class="lineno"> 678</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a6da020721a065f359cf343f014e7834c">cfg_parse_buf</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *buf);</div>
369: <div class="line"><a name="l00679"></a><span class="lineno"> 679</span>  </div>
370: <div class="line"><a name="l00687"></a><span class="lineno"> 687</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a4ad028d56e64c44ea8413d4d79143843">cfg_free_value</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
371: <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>  </div>
372: <div class="line"><a name="l00694"></a><span class="lineno"> 694</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aae5e08626bf53514a6ebf250580feba3">cfg_free</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg);</div>
373: <div class="line"><a name="l00695"></a><span class="lineno"> 695</span>  </div>
374: <div class="line"><a name="l00699"></a><span class="lineno"> 699</span> DLLIMPORT <a class="code" href="confuse_8h.html#a21921b63558b504a7f68cf97ba3cf3ce">cfg_errfunc_t</a> __export <a class="code" href="confuse_8h.html#ae5cd3df98ec4c9895fbe73fd1c32f7a1">cfg_set_error_function</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="confuse_8h.html#a21921b63558b504a7f68cf97ba3cf3ce">cfg_errfunc_t</a> errfunc);</div>
375: <div class="line"><a name="l00700"></a><span class="lineno"> 700</span>  </div>
376: <div class="line"><a name="l00704"></a><span class="lineno"> 704</span> DLLIMPORT <span class="keywordtype">void</span> __export <a class="code" href="confuse_8h.html#a5b448a145f12b67e90bd4e6bd387f129">cfg_error</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...);</div>
377: <div class="line"><a name="l00705"></a><span class="lineno"> 705</span>  </div>
378: <div class="line"><a name="l00710"></a><span class="lineno"> 710</span> DLLIMPORT <span class="keywordtype">char</span> * __export <a class="code" href="confuse_8h.html#a36381357b5db67d0415494332f4d5d94">cfg_opt_getcomment</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
379: <div class="line"><a name="l00711"></a><span class="lineno"> 711</span>  </div>
380: <div class="line"><a name="l00722"></a><span class="lineno"> 722</span> DLLIMPORT <span class="keywordtype">char</span> * __export <a class="code" href="confuse_8h.html#a72cac29b3342eaf5bb0bb05cdd98e19f">cfg_getcomment</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
381: <div class="line"><a name="l00723"></a><span class="lineno"> 723</span>  </div>
382: <div class="line"><a name="l00729"></a><span class="lineno"> 729</span> DLLIMPORT <span class="keywordtype">signed</span> <span class="keywordtype">long</span> __export <a class="code" href="confuse_8h.html#abaa00b2bb179bfc1062c67da8b2beae3">cfg_opt_getnint</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
383: <div class="line"><a name="l00730"></a><span class="lineno"> 730</span>  </div>
384: <div class="line"><a name="l00737"></a><span class="lineno"> 737</span> DLLIMPORT <span class="keywordtype">long</span> <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#addba63989fbf548cb0365ce875f138d4">cfg_getnint</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
385: <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>  </div>
386: <div class="line"><a name="l00748"></a><span class="lineno"> 748</span> DLLIMPORT <span class="keywordtype">long</span> <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aaa50eb2942ae8e7cb7f9ccbfe002b3cd">cfg_getint</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
387: <div class="line"><a name="l00749"></a><span class="lineno"> 749</span>  </div>
388: <div class="line"><a name="l00755"></a><span class="lineno"> 755</span> DLLIMPORT <span class="keywordtype">double</span> __export <a class="code" href="confuse_8h.html#aa93c59e332c95937db84f93c1a9b25bd">cfg_opt_getnfloat</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
389: <div class="line"><a name="l00756"></a><span class="lineno"> 756</span>  </div>
390: <div class="line"><a name="l00763"></a><span class="lineno"> 763</span> DLLIMPORT <span class="keywordtype">double</span> __export <a class="code" href="confuse_8h.html#aaf63837150498ce6ecd530a9769f9e43">cfg_getnfloat</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
391: <div class="line"><a name="l00764"></a><span class="lineno"> 764</span>  </div>
392: <div class="line"><a name="l00773"></a><span class="lineno"> 773</span> DLLIMPORT <span class="keywordtype">double</span> __export <a class="code" href="confuse_8h.html#a40e3d18ed9fbf5eae90aec58d68cb474">cfg_getfloat</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
393: <div class="line"><a name="l00774"></a><span class="lineno"> 774</span>  </div>
394: <div class="line"><a name="l00780"></a><span class="lineno"> 780</span> DLLIMPORT <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#a99289f214566005664f05cac4dc50318">cfg_opt_getnstr</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
395: <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>  </div>
396: <div class="line"><a name="l00788"></a><span class="lineno"> 788</span> DLLIMPORT <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#aabb00a590331a4d9d4e772201dff34d1">cfg_getnstr</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
397: <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>  </div>
398: <div class="line"><a name="l00798"></a><span class="lineno"> 798</span> DLLIMPORT <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#a4a9c34acc55cca63649c088d98053905">cfg_getstr</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
399: <div class="line"><a name="l00799"></a><span class="lineno"> 799</span>  </div>
400: <div class="line"><a name="l00805"></a><span class="lineno"> 805</span> DLLIMPORT <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> __export <a class="code" href="confuse_8h.html#af49441953ac0c45960728b347c25dba3">cfg_opt_getnbool</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
401: <div class="line"><a name="l00806"></a><span class="lineno"> 806</span>  </div>
402: <div class="line"><a name="l00814"></a><span class="lineno"> 814</span> DLLIMPORT <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> __export <a class="code" href="confuse_8h.html#a8984944ec9de3a67e3007bfba32f2127">cfg_getnbool</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
403: <div class="line"><a name="l00815"></a><span class="lineno"> 815</span>  </div>
404: <div class="line"><a name="l00824"></a><span class="lineno"> 824</span> DLLIMPORT <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> __export <a class="code" href="confuse_8h.html#ab4903f75c29f9c2973696039c4f5c0df">cfg_getbool</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
405: <div class="line"><a name="l00825"></a><span class="lineno"> 825</span>  </div>
406: <div class="line"><a name="l00826"></a><span class="lineno"> 826</span>  </div>
407: <div class="line"><a name="l00827"></a><span class="lineno"> 827</span> DLLIMPORT <span class="keywordtype">void</span> *__export cfg_opt_getnptr(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
408: <div class="line"><a name="l00828"></a><span class="lineno"> 828</span> DLLIMPORT <span class="keywordtype">void</span> *__export cfg_getnptr(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> indx);</div>
409: <div class="line"><a name="l00829"></a><span class="lineno"> 829</span>  </div>
410: <div class="line"><a name="l00838"></a><span class="lineno"> 838</span> DLLIMPORT <span class="keywordtype">void</span> *__export <a class="code" href="confuse_8h.html#ad4f0fdb31b6c0113b3c78891e8ee5429">cfg_getptr</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
411: <div class="line"><a name="l00839"></a><span class="lineno"> 839</span>  </div>
412: <div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  </div>
413: <div class="line"><a name="l00846"></a><span class="lineno"> 846</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *__export <a class="code" href="confuse_8h.html#a4312c6bc126283ad8b6dc849c1138a71">cfg_opt_getnsec</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
414: <div class="line"><a name="l00847"></a><span class="lineno"> 847</span>  </div>
415: <div class="line"><a name="l00856"></a><span class="lineno"> 856</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *__export <a class="code" href="confuse_8h.html#ad5e8eea765588892053b73eed4017edd">cfg_getnsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
416: <div class="line"><a name="l00857"></a><span class="lineno"> 857</span>  </div>
417: <div class="line"><a name="l00865"></a><span class="lineno"> 865</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *__export <a class="code" href="confuse_8h.html#adec6a5049ac8306b0892f274e6d406ad">cfg_opt_gettsec</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
418: <div class="line"><a name="l00866"></a><span class="lineno"> 866</span>  </div>
419: <div class="line"><a name="l00876"></a><span class="lineno"> 876</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *__export <a class="code" href="confuse_8h.html#ac1fda0e6937653d891ae276ae69d0f76">cfg_gettsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
420: <div class="line"><a name="l00877"></a><span class="lineno"> 877</span>  </div>
421: <div class="line"><a name="l00888"></a><span class="lineno"> 888</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *__export <a class="code" href="confuse_8h.html#aa1339bde1f672aa0279a51bf2324545d">cfg_getsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
422: <div class="line"><a name="l00889"></a><span class="lineno"> 889</span>  </div>
423: <div class="line"><a name="l00895"></a><span class="lineno"> 895</span> DLLIMPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a1648e78297e9bc970b1f3fa90a715da6">cfg_opt_size</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
424: <div class="line"><a name="l00896"></a><span class="lineno"> 896</span>  </div>
425: <div class="line"><a name="l00909"></a><span class="lineno"> 909</span> DLLIMPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#acb8b2b9aa7d9e2e3c0eca67ea27bed15">cfg_size</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
426: <div class="line"><a name="l00910"></a><span class="lineno"> 910</span>  </div>
427: <div class="line"><a name="l00917"></a><span class="lineno"> 917</span> DLLIMPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#ac51f9e62688527872e38faf308603fff">cfg_title</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg);</div>
428: <div class="line"><a name="l00918"></a><span class="lineno"> 918</span>  </div>
429: <div class="line"><a name="l00925"></a><span class="lineno"> 925</span> DLLIMPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#a5eee21bf6b453b81d477314333d4c47c">cfg_name</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg);</div>
430: <div class="line"><a name="l00926"></a><span class="lineno"> 926</span>  </div>
431: <div class="line"><a name="l00933"></a><span class="lineno"> 933</span> DLLIMPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#a20e3b90b5fce510154d4053db0c8eba4">cfg_opt_name</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
432: <div class="line"><a name="l00934"></a><span class="lineno"> 934</span>  </div>
433: <div class="line"><a name="l00942"></a><span class="lineno"> 942</span> DLLIMPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="confuse_8h.html#a357458a58fe1bd2ba7eac0651e62f403">cfg_opt_getstr</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt);</div>
434: <div class="line"><a name="l00943"></a><span class="lineno"> 943</span>  </div>
435: <div class="line"><a name="l00949"></a><span class="lineno"> 949</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a73e8e62914759632e5d5165fa877f4b3">cfg_include</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">int</span> argc, <span class="keyword">const</span> <span class="keywordtype">char</span> **argv);</div>
436: <div class="line"><a name="l00950"></a><span class="lineno"> 950</span>  </div>
437: <div class="line"><a name="l00957"></a><span class="lineno"> 957</span> DLLIMPORT <span class="keywordtype">char</span> *__export <a class="code" href="confuse_8h.html#accd838b44797a5a89dbfd3ab60203375">cfg_tilde_expand</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *filename);</div>
438: <div class="line"><a name="l00958"></a><span class="lineno"> 958</span>  </div>
439: <div class="line"><a name="l00966"></a><span class="lineno"> 966</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a527f63939bf3f0b5d635fd86cd562086">cfg_parse_boolean</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div>
440: <div class="line"><a name="l00967"></a><span class="lineno"> 967</span>  </div>
441: <div class="line"><a name="l00974"></a><span class="lineno"> 974</span> DLLIMPORT <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *<a class="code" href="confuse_8h.html#a9a0df4576a33e47ef89d7dc450247408">cfg_getnopt</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
442: <div class="line"><a name="l00975"></a><span class="lineno"> 975</span>  </div>
443: <div class="line"><a name="l00984"></a><span class="lineno"> 984</span> DLLIMPORT <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *__export <a class="code" href="confuse_8h.html#a33f48558624569678272f46925ead40f">cfg_getopt</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
444: <div class="line"><a name="l00985"></a><span class="lineno"> 985</span>  </div>
445: <div class="line"><a name="l00994"></a><span class="lineno"> 994</span> DLLIMPORT <a class="code" href="unioncfg__value__t.html">cfg_value_t</a> *<a class="code" href="confuse_8h.html#a6f4ffe9c0b2bc43692647197495946f0">cfg_setopt</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div>
446: <div class="line"><a name="l00995"></a><span class="lineno"> 995</span>  </div>
447: <div class="line"><a name="l01002"></a><span class="lineno"> 1002</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aec07a19c221658f7556d09597cd1c8c5">cfg_opt_setcomment</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">char</span> *comment);</div>
448: <div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>  </div>
449: <div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#abac8ca33706dd89c4eb6677cee9cfffc">cfg_setcomment</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">char</span> *comment);</div>
450: <div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>  </div>
451: <div class="line"><a name="l01034"></a><span class="lineno"> 1034</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#ad84e0c6a0fb47551f9dd64374aa2d8ab">cfg_opt_setnint</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">long</span> <span class="keywordtype">int</span> value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
452: <div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>  </div>
453: <div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a25a64a7417e5240c3c04f02d61f986cf">cfg_setint</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">long</span> <span class="keywordtype">int</span> value);</div>
454: <div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>  </div>
455: <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a39f3ad12a4218d6e3b9dec0c1e0031bb">cfg_setnint</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">long</span> <span class="keywordtype">int</span> value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
456: <div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>  </div>
457: <div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a4843ce0fadd14030af7a2293d558901e">cfg_opt_setnfloat</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">double</span> value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
458: <div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>  </div>
459: <div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a03b0983a0c6643722e8e1837ccedad3f">cfg_setfloat</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">double</span> value);</div>
460: <div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>  </div>
461: <div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a786306f8401e0c39ed7de25055a3cf0b">cfg_setnfloat</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">double</span> value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
462: <div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>  </div>
463: <div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a7efb1f27133b20f0d0b8b38c51ebf6d7">cfg_opt_setnbool</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
464: <div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>  </div>
465: <div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aca19b746986429bf16af8303c8751a12">cfg_setbool</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> value);</div>
466: <div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>  </div>
467: <div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#ab5876855b472ddb22a15690355ed7181">cfg_setnbool</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a> value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
468: <div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>  </div>
469: <div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a35daf3fa141ba784a5fc1b8da5df54c7">cfg_opt_setnstr</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keyword">const</span> <span class="keywordtype">char</span> *value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
470: <div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>  </div>
471: <div class="line"><a name="l01155"></a><span class="lineno"> 1155</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a523a5eec449362eee5a0d2709645c35b">cfg_setstr</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *value);</div>
472: <div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>  </div>
473: <div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a652c523d7a1acb6380a0dbd42704dc35">cfg_setnstr</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *value, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
474: <div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>  </div>
475: <div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a90f555ffb45e3a19d7d97e67d037d4df">cfg_setlist</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nvalues, ...);</div>
476: <div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>  </div>
477: <div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> DLLIMPORT <span class="keywordtype">int</span> __export cfg_numopts(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opts);</div>
478: <div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>  </div>
479: <div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> DLLIMPORT <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aa798c28419d32dc1d0b0e191d5e11e08">cfg_num</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg);</div>
480: <div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>  </div>
481: <div class="line"><a name="l01210"></a><span class="lineno"> 1210</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a5124b04b52aecc00048560d8d454125e">cfg_addlist</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nvalues, ...);</div>
482: <div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>  </div>
483: <div class="line"><a name="l01221"></a><span class="lineno"> 1221</span> DLLIMPORT <span class="keywordtype">int</span> <a class="code" href="confuse_8h.html#a7561c5f3994f1f8eb7d2072efcc58c2a">cfg_opt_setmulti</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nvalues, <span class="keywordtype">char</span> **values);</div>
484: <div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>  </div>
485: <div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> DLLIMPORT <span class="keywordtype">int</span> <a class="code" href="confuse_8h.html#a20987aeb026ea918735c03acf6ead85e">cfg_setmulti</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nvalues, <span class="keywordtype">char</span> **values);</div>
486: <div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>  </div>
487: <div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> DLLIMPORT <a class="code" href="structcfg__t.html">cfg_t</a> *<a class="code" href="confuse_8h.html#a8226e695ae793bb405a7980e8147ce2d">cfg_addtsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
488: <div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>  </div>
489: <div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a89b520443f8c41e05d5f4e86bdefef5d">cfg_opt_rmnsec</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
490: <div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>  </div>
491: <div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a3658db217bbff1e8eba0245595de16c8">cfg_rmnsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index);</div>
492: <div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>  </div>
493: <div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aa08643cde27afe36627485bc947cb039">cfg_rmsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);</div>
494: <div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>  </div>
495: <div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#ab5834cea46fc0b7418eecd75c952b220">cfg_opt_rmtsec</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
496: <div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>  </div>
497: <div class="line"><a name="l01296"></a><span class="lineno"> 1296</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a28df69d33e0387f3447262e9a99ead83">cfg_rmtsec</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *title);</div>
498: <div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>  </div>
499: <div class="line"><a name="l01312"></a><span class="lineno"> 1312</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a98c96229d1d998718cd6c44899aa4364">cfg_opt_nprint_var</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index, FILE *fp);</div>
500: <div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>  </div>
501: <div class="line"><a name="l01320"></a><span class="lineno"> 1320</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#a1c3a275962c11731067e3e8ef9b782df">cfg_opt_print_indent</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, FILE *fp, <span class="keywordtype">int</span> indent);</div>
502: <div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>  </div>
503: <div class="line"><a name="l01334"></a><span class="lineno"> 1334</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#acb89e597f7220a8940d16c944c72545d">cfg_opt_print</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, FILE *fp);</div>
504: <div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>  </div>
505: <div class="line"><a name="l01342"></a><span class="lineno"> 1342</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#aac075fd59dc24472ab3bd5d1b33bf2ac">cfg_print_indent</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, FILE *fp, <span class="keywordtype">int</span> indent);</div>
506: <div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>  </div>
507: <div class="line"><a name="l01359"></a><span class="lineno"> 1359</span> DLLIMPORT <span class="keywordtype">int</span> __export <a class="code" href="confuse_8h.html#ac3343e32da22758f76ec50627316c708">cfg_print</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, FILE *fp);</div>
508: <div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>  </div>
509: <div class="line"><a name="l01368"></a><span class="lineno"> 1368</span> DLLIMPORT <a class="code" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a> __export <a class="code" href="confuse_8h.html#a292ba236b86cbe1bec047a467c8d605d">cfg_opt_set_print_func</a>(<a class="code" href="structcfg__opt__t.html">cfg_opt_t</a> *opt, <a class="code" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a> pf);</div>
510: <div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>  </div>
511: <div class="line"><a name="l01378"></a><span class="lineno"> 1378</span> DLLIMPORT <a class="code" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a> __export <a class="code" href="confuse_8h.html#a03bdd2ac7828e5161e68da93cb07238d">cfg_set_print_func</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a> pf);</div>
512: <div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>  </div>
513: <div class="line"><a name="l01393"></a><span class="lineno"> 1393</span> DLLIMPORT <a class="code" href="confuse_8h.html#ac0d704ca318d6a83072f3e6860965694">cfg_print_filter_func_t</a> __export <a class="code" href="confuse_8h.html#a6c54ace15f94610dc81ab3c3ada5a014">cfg_set_print_filter_func</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <a class="code" href="confuse_8h.html#ac0d704ca318d6a83072f3e6860965694">cfg_print_filter_func_t</a> pff);</div>
514: <div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>  </div>
515: <div class="line"><a name="l01403"></a><span class="lineno"> 1403</span> DLLIMPORT <a class="code" href="confuse_8h.html#a16da0a75f6314baedf4ed4ee2dd28d11">cfg_validate_callback_t</a> __export <a class="code" href="confuse_8h.html#a8f07eca3c5e341ee6a81ecede2fbd5d8">cfg_set_validate_func</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="confuse_8h.html#a16da0a75f6314baedf4ed4ee2dd28d11">cfg_validate_callback_t</a> vf);</div>
516: <div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>  </div>
517: <div class="line"><a name="l01418"></a><span class="lineno"> 1418</span> DLLIMPORT <a class="code" href="confuse_8h.html#a5285e2294a128c40810a986ef87c6ed3">cfg_validate_callback2_t</a> __export <a class="code" href="confuse_8h.html#a91d59966569b50fb32d09f3e9f65ee6c">cfg_set_validate_func2</a>(<a class="code" href="structcfg__t.html">cfg_t</a> *cfg, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a class="code" href="confuse_8h.html#a5285e2294a128c40810a986ef87c6ed3">cfg_validate_callback2_t</a> vf);</div>
518: <div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>  </div>
519: <div class="line"><a name="l01420"></a><span class="lineno"> 1420</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
520: <div class="line"><a name="l01421"></a><span class="lineno"> 1421</span> }</div>
521: <div class="line"><a name="l01422"></a><span class="lineno"> 1422</span> <span class="preprocessor">#endif</span></div>
522: <div class="line"><a name="l01423"></a><span class="lineno"> 1423</span> <span class="preprocessor">#endif </span><span class="comment">/* CONFUSE_H_ */</span><span class="preprocessor"></span></div>
523: <div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>  </div>
524: </div><!-- fragment --></div><!-- contents -->
525: <div class="ttc" id="aconfuse_8h_html_a7adecc621a1910b8807c613051bd8d1d"><div class="ttname"><a href="confuse_8h.html#a7adecc621a1910b8807c613051bd8d1d">CFGF_NOCASE</a></div><div class="ttdeci">#define CFGF_NOCASE</div><div class="ttdoc">configuration file is case insensitive</div><div class="ttdef"><b>Definition:</b> confuse.h:89</div></div>
526: <div class="ttc" id="aconfuse_8h_html_ad84e0c6a0fb47551f9dd64374aa2d8ab"><div class="ttname"><a href="confuse_8h.html#ad84e0c6a0fb47551f9dd64374aa2d8ab">cfg_opt_setnint</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_setnint(cfg_opt_t *opt, long int value, unsigned int index)</div><div class="ttdoc">Set a value of an integer option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2068</div></div>
527: <div class="ttc" id="aconfuse_8h_html_a357458a58fe1bd2ba7eac0651e62f403"><div class="ttname"><a href="confuse_8h.html#a357458a58fe1bd2ba7eac0651e62f403">cfg_opt_getstr</a></div><div class="ttdeci">const DLLIMPORT char * cfg_opt_getstr(cfg_opt_t *opt)</div><div class="ttdoc">Return the string value of a key=value pair.</div><div class="ttdef"><b>Definition:</b> confuse.c:394</div></div>
528: <div class="ttc" id="astructcfg__defvalue__t_html_a068568c644c8991d477c3d2793d5556a"><div class="ttname"><a href="structcfg__defvalue__t.html#a068568c644c8991d477c3d2793d5556a">cfg_defvalue_t::number</a></div><div class="ttdeci">long int number</div><div class="ttdoc">default integer value</div><div class="ttdef"><b>Definition:</b> confuse.h:296</div></div>
529: <div class="ttc" id="aconfuse_8h_html_aa08643cde27afe36627485bc947cb039"><div class="ttname"><a href="confuse_8h.html#aa08643cde27afe36627485bc947cb039">cfg_rmsec</a></div><div class="ttdeci">DLLIMPORT int __export cfg_rmsec(cfg_t *cfg, const char *name)</div><div class="ttdoc">Removes and frees a config section.</div><div class="ttdef"><b>Definition:</b> confuse.c:2344</div></div>
530: <div class="ttc" id="astructcfg__opt__t_html_a0cdd99a97da9f62a6876421571842c5a"><div class="ttname"><a href="structcfg__opt__t.html#a0cdd99a97da9f62a6876421571842c5a">cfg_opt_t::type</a></div><div class="ttdeci">cfg_type_t type</div><div class="ttdoc">Type of option.</div><div class="ttdef"><b>Definition:</b> confuse.h:312</div></div>
531: <div class="ttc" id="astructcfg__defvalue__t_html_aaaed19d35087bff1882ddf6873146624"><div class="ttname"><a href="structcfg__defvalue__t.html#aaaed19d35087bff1882ddf6873146624">cfg_defvalue_t::boolean</a></div><div class="ttdeci">cfg_bool_t boolean</div><div class="ttdoc">default boolean value</div><div class="ttdef"><b>Definition:</b> confuse.h:298</div></div>
532: <div class="ttc" id="aconfuse_8h_html_aec07794916564c8ab437e030ac618aa8"><div class="ttname"><a href="confuse_8h.html#aec07794916564c8ab437e030ac618aa8">cfg_init</a></div><div class="ttdeci">DLLIMPORT cfg_t *__export cfg_init(cfg_opt_t *opts, cfg_flag_t flags)</div><div class="ttdoc">Create and initialize a cfg_t structure.</div><div class="ttdef"><b>Definition:</b> confuse.c:1816</div></div>
533: <div class="ttc" id="aconfuse_8h_html_a644afc2caf9da9274ec08407997aa4ef"><div class="ttname"><a href="confuse_8h.html#a644afc2caf9da9274ec08407997aa4ef">CFGF_LIST</a></div><div class="ttdeci">#define CFGF_LIST</div><div class="ttdoc">option is a list</div><div class="ttdef"><b>Definition:</b> confuse.h:88</div></div>
534: <div class="ttc" id="aunioncfg__value__t_html"><div class="ttname"><a href="unioncfg__value__t.html">cfg_value_t</a></div><div class="ttdoc">Data structure holding the value of a fundamental option value.</div><div class="ttdef"><b>Definition:</b> confuse.h:272</div></div>
535: <div class="ttc" id="aconfuse_8h_html_acb89e597f7220a8940d16c944c72545d"><div class="ttname"><a href="confuse_8h.html#acb89e597f7220a8940d16c944c72545d">cfg_opt_print</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_print(cfg_opt_t *opt, FILE *fp)</div><div class="ttdoc">Print an option and its value to a file.</div><div class="ttdef"><b>Definition:</b> confuse.c:2523</div></div>
536: <div class="ttc" id="aconfuse_8h_html_a9020ea37bfdb4f3e88a18d0a0d00cdd9"><div class="ttname"><a href="confuse_8h.html#a9020ea37bfdb4f3e88a18d0a0d00cdd9">CFGF_NODEFAULT</a></div><div class="ttdeci">#define CFGF_NODEFAULT</div><div class="ttdoc">option has no default value</div><div class="ttdef"><b>Definition:</b> confuse.h:91</div></div>
537: <div class="ttc" id="aconfuse_8h_html_a786306f8401e0c39ed7de25055a3cf0b"><div class="ttname"><a href="confuse_8h.html#a786306f8401e0c39ed7de25055a3cf0b">cfg_setnfloat</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setnfloat(cfg_t *cfg, const char *name, double value, unsigned int index)</div><div class="ttdoc">Set a value of a floating point option given its name and index.</div><div class="ttdef"><b>Definition:</b> confuse.c:2122</div></div>
538: <div class="ttc" id="aconfuse_8h_html_a16da0a75f6314baedf4ed4ee2dd28d11"><div class="ttname"><a href="confuse_8h.html#a16da0a75f6314baedf4ed4ee2dd28d11">cfg_validate_callback_t</a></div><div class="ttdeci">int(* cfg_validate_callback_t)(cfg_t *cfg, cfg_opt_t *opt)</div><div class="ttdoc">Validating callback prototype.</div><div class="ttdef"><b>Definition:</b> confuse.h:203</div></div>
539: <div class="ttc" id="aconfuse_8h_html_a73e8e62914759632e5d5165fa877f4b3"><div class="ttname"><a href="confuse_8h.html#a73e8e62914759632e5d5165fa877f4b3">cfg_include</a></div><div class="ttdeci">DLLIMPORT int __export cfg_include(cfg_t *cfg, cfg_opt_t *opt, int argc, const char **argv)</div><div class="ttdoc">Predefined include-function.</div><div class="ttdef"><b>Definition:</b> confuse.c:1997</div></div>
540: <div class="ttc" id="aconfuse_8h_html_ac0d704ca318d6a83072f3e6860965694"><div class="ttname"><a href="confuse_8h.html#ac0d704ca318d6a83072f3e6860965694">cfg_print_filter_func_t</a></div><div class="ttdeci">int(* cfg_print_filter_func_t)(cfg_t *cfg, cfg_opt_t *opt)</div><div class="ttdoc">Print filter function.</div><div class="ttdef"><b>Definition:</b> confuse.h:246</div></div>
541: <div class="ttc" id="aconfuse_8h_html_ab5876855b472ddb22a15690355ed7181"><div class="ttname"><a href="confuse_8h.html#ab5876855b472ddb22a15690355ed7181">cfg_setnbool</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setnbool(cfg_t *cfg, const char *name, cfg_bool_t value, unsigned int index)</div><div class="ttdoc">Set a value of a boolean option given its name and index.</div><div class="ttdef"><b>Definition:</b> confuse.c:2157</div></div>
542: <div class="ttc" id="astructcfg__t_html_af4a7d62ed73689853a0045412ab30a24"><div class="ttname"><a href="structcfg__t.html#af4a7d62ed73689853a0045412ab30a24">cfg_t::filename</a></div><div class="ttdeci">char * filename</div><div class="ttdoc">Name of the file being parsed.</div><div class="ttdef"><b>Definition:</b> confuse.h:261</div></div>
543: <div class="ttc" id="aconfuse_8h_html_a5285e2294a128c40810a986ef87c6ed3"><div class="ttname"><a href="confuse_8h.html#a5285e2294a128c40810a986ef87c6ed3">cfg_validate_callback2_t</a></div><div class="ttdeci">int(* cfg_validate_callback2_t)(cfg_t *cfg, cfg_opt_t *opt, void *value)</div><div class="ttdoc">Validating callback2 prototype.</div><div class="ttdef"><b>Definition:</b> confuse.h:219</div></div>
544: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7">cfg_type_t</a></div><div class="ttdeci">cfg_type_t</div><div class="ttdoc">Fundamental option types.</div><div class="ttdef"><b>Definition:</b> confuse.h:72</div></div>
545: <div class="ttc" id="aconfuse_8h_html_a98c96229d1d998718cd6c44899aa4364"><div class="ttname"><a href="confuse_8h.html#a98c96229d1d998718cd6c44899aa4364">cfg_opt_nprint_var</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_nprint_var(cfg_opt_t *opt, unsigned int index, FILE *fp)</div><div class="ttdoc">Default value print function.</div><div class="ttdef"><b>Definition:</b> confuse.c:2391</div></div>
546: <div class="ttc" id="astructcfg__defvalue__t_html"><div class="ttname"><a href="structcfg__defvalue__t.html">cfg_defvalue_t</a></div><div class="ttdoc">Data structure holding the default value given by the initialization macros.</div><div class="ttdef"><b>Definition:</b> confuse.h:295</div></div>
547: <div class="ttc" id="aconfuse_8h_html_a5124b04b52aecc00048560d8d454125e"><div class="ttname"><a href="confuse_8h.html#a5124b04b52aecc00048560d8d454125e">cfg_addlist</a></div><div class="ttdeci">DLLIMPORT int __export cfg_addlist(cfg_t *cfg, const char *name, unsigned int nvalues,...)</div><div class="ttdoc">Add values for a list option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2268</div></div>
548: <div class="ttc" id="aconfuse_8h_html_acb8b2b9aa7d9e2e3c0eca67ea27bed15"><div class="ttname"><a href="confuse_8h.html#acb8b2b9aa7d9e2e3c0eca67ea27bed15">cfg_size</a></div><div class="ttdeci">DLLIMPORT unsigned int __export cfg_size(cfg_t *cfg, const char *name)</div><div class="ttdoc">Return the number of values this option has.</div><div class="ttdef"><b>Definition:</b> confuse.c:406</div></div>
549: <div class="ttc" id="aconfuse_8h_html_a527f63939bf3f0b5d635fd86cd562086"><div class="ttname"><a href="confuse_8h.html#a527f63939bf3f0b5d635fd86cd562086">cfg_parse_boolean</a></div><div class="ttdeci">DLLIMPORT int __export cfg_parse_boolean(const char *s)</div><div class="ttdoc">Parse a boolean option string.</div><div class="ttdef"><b>Definition:</b> confuse.c:721</div></div>
550: <div class="ttc" id="aconfuse_8h_html_a523a5eec449362eee5a0d2709645c35b"><div class="ttname"><a href="confuse_8h.html#a523a5eec449362eee5a0d2709645c35b">cfg_setstr</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setstr(cfg_t *cfg, const char *name, const char *value)</div><div class="ttdoc">Set the value of a string option given its name.</div><div class="ttdef"><b>Definition:</b> confuse.c:2211</div></div>
551: <div class="ttc" id="aconfuse_8h_html_a39f3ad12a4218d6e3b9dec0c1e0031bb"><div class="ttname"><a href="confuse_8h.html#a39f3ad12a4218d6e3b9dec0c1e0031bb">cfg_setnint</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setnint(cfg_t *cfg, const char *name, long int value, unsigned int index)</div><div class="ttdoc">Set a value of an integer option given its name and index.</div><div class="ttdef"><b>Definition:</b> confuse.c:2087</div></div>
552: <div class="ttc" id="aconfuse_8h_html_a963e2ee16396dcf36f6d1937faa00f0c"><div class="ttname"><a href="confuse_8h.html#a963e2ee16396dcf36f6d1937faa00f0c">CFG_STR</a></div><div class="ttdeci">#define CFG_STR(name, def, flags)</div><div class="ttdoc">Initialize a string option.</div><div class="ttdef"><b>Definition:</b> confuse.h:340</div></div>
553: <div class="ttc" id="aconfuse_8h_html_aac075fd59dc24472ab3bd5d1b33bf2ac"><div class="ttname"><a href="confuse_8h.html#aac075fd59dc24472ab3bd5d1b33bf2ac">cfg_print_indent</a></div><div class="ttdeci">DLLIMPORT int __export cfg_print_indent(cfg_t *cfg, FILE *fp, int indent)</div><div class="ttdoc">Print the options and values to a file.</div><div class="ttdef"><b>Definition:</b> confuse.c:2543</div></div>
554: <div class="ttc" id="aconfuse_8h_html_a25a64a7417e5240c3c04f02d61f986cf"><div class="ttname"><a href="confuse_8h.html#a25a64a7417e5240c3c04f02d61f986cf">cfg_setint</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setint(cfg_t *cfg, const char *name, long int value)</div><div class="ttdoc">Set the value of an integer option given its name.</div><div class="ttdef"><b>Definition:</b> confuse.c:2098</div></div>
555: <div class="ttc" id="astructcfg__opt__t_html_a2b7d4ec69eb37823f90989e876fe59be"><div class="ttname"><a href="structcfg__opt__t.html#a2b7d4ec69eb37823f90989e876fe59be">cfg_opt_t::def</a></div><div class="ttdeci">cfg_defvalue_t def</div><div class="ttdoc">Default value.</div><div class="ttdef"><b>Definition:</b> confuse.h:317</div></div>
556: <div class="ttc" id="aconfuse_8h_html_a95c35bf0ec5ca7c43b0dd3f3f8e7ed1e"><div class="ttname"><a href="confuse_8h.html#a95c35bf0ec5ca7c43b0dd3f3f8e7ed1e">CFGF_COMMENTS</a></div><div class="ttdeci">#define CFGF_COMMENTS</div><div class="ttdoc">Enable option annotation/comments support.</div><div class="ttdef"><b>Definition:</b> confuse.h:100</div></div>
557: <div class="ttc" id="aconfuse_8h_html_a1761cfbf430e57415ed517374028996f"><div class="ttname"><a href="confuse_8h.html#a1761cfbf430e57415ed517374028996f">cfg_free_func_t</a></div><div class="ttdeci">void(* cfg_free_func_t)(void *value)</div><div class="ttdoc">User-defined memory release function for CFG_PTR values.</div><div class="ttdef"><b>Definition:</b> confuse.h:229</div></div>
558: <div class="ttc" id="aconfuse_8h_html"><div class="ttname"><a href="confuse_8h.html">confuse.h</a></div><div class="ttdoc">A configuration file parser library.</div></div>
559: <div class="ttc" id="aconfuse_8h_html_aa798c28419d32dc1d0b0e191d5e11e08"><div class="ttname"><a href="confuse_8h.html#aa798c28419d32dc1d0b0e191d5e11e08">cfg_num</a></div><div class="ttdeci">DLLIMPORT unsigned int __export cfg_num(cfg_t *cfg)</div><div class="ttdoc">Return number of options in a file or section.</div><div class="ttdef"><b>Definition:</b> confuse.c:656</div></div>
560: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7a8f04ccea50fbe06f9a118b4423ead6fd"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a8f04ccea50fbe06f9a118b4423ead6fd">CFGT_BOOL</a></div><div class="ttdeci">@ CFGT_BOOL</div><div class="ttdoc">boolean value</div><div class="ttdef"><b>Definition:</b> confuse.h:77</div></div>
561: <div class="ttc" id="aconfuse_8h_html_a1648e78297e9bc970b1f3fa90a715da6"><div class="ttname"><a href="confuse_8h.html#a1648e78297e9bc970b1f3fa90a715da6">cfg_opt_size</a></div><div class="ttdeci">DLLIMPORT unsigned int __export cfg_opt_size(cfg_opt_t *opt)</div><div class="ttdoc">Return the number of values this option has.</div><div class="ttdef"><b>Definition:</b> confuse.c:399</div></div>
562: <div class="ttc" id="aconfuse_8h_html_a65d20dbd5b778dd1bf3b3895206b4497"><div class="ttname"><a href="confuse_8h.html#a65d20dbd5b778dd1bf3b3895206b4497">CFGF_TITLE</a></div><div class="ttdeci">#define CFGF_TITLE</div><div class="ttdoc">option has a title (only applies to sections)</div><div class="ttdef"><b>Definition:</b> confuse.h:90</div></div>
563: <div class="ttc" id="astructcfg__opt__t_html_a5c391c4830df02c70d92c1438fee812e"><div class="ttname"><a href="structcfg__opt__t.html#a5c391c4830df02c70d92c1438fee812e">cfg_opt_t::parsecb</a></div><div class="ttdeci">cfg_callback_t parsecb</div><div class="ttdoc">Value parsing callback function.</div><div class="ttdef"><b>Definition:</b> confuse.h:322</div></div>
564: <div class="ttc" id="aconfuse_8h_html_a20987aeb026ea918735c03acf6ead85e"><div class="ttname"><a href="confuse_8h.html#a20987aeb026ea918735c03acf6ead85e">cfg_setmulti</a></div><div class="ttdeci">DLLIMPORT int cfg_setmulti(cfg_t *cfg, const char *name, unsigned int nvalues, char **values)</div><div class="ttdoc">Set an option (create an instance of an option).</div><div class="ttdef"><b>Definition:</b> confuse.c:1127</div></div>
565: <div class="ttc" id="aconfuse_8h_html_aca19b746986429bf16af8303c8751a12"><div class="ttname"><a href="confuse_8h.html#aca19b746986429bf16af8303c8751a12">cfg_setbool</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setbool(cfg_t *cfg, const char *name, cfg_bool_t value)</div><div class="ttdoc">Set the value of a boolean option given its name.</div><div class="ttdef"><b>Definition:</b> confuse.c:2162</div></div>
566: <div class="ttc" id="aconfuse_8h_html_adec6a5049ac8306b0892f274e6d406ad"><div class="ttname"><a href="confuse_8h.html#adec6a5049ac8306b0892f274e6d406ad">cfg_opt_gettsec</a></div><div class="ttdeci">DLLIMPORT cfg_t *__export cfg_opt_gettsec(cfg_opt_t *opt, const char *title)</div><div class="ttdoc">Returns the value of a section option, given a cfg_opt_t pointer and the title.</div><div class="ttdef"><b>Definition:</b> confuse.c:568</div></div>
567: <div class="ttc" id="astructcfg__opt__t_html_a0754fed6c0e415e12d7fe4ecfd2b3295"><div class="ttname"><a href="structcfg__opt__t.html#a0754fed6c0e415e12d7fe4ecfd2b3295">cfg_opt_t::name</a></div><div class="ttdeci">const char * name</div><div class="ttdoc">The name of the option.</div><div class="ttdef"><b>Definition:</b> confuse.h:310</div></div>
568: <div class="ttc" id="astructcfg__opt__t_html_a8a6eefc8e2c0efe76587fef68c5c3331"><div class="ttname"><a href="structcfg__opt__t.html#a8a6eefc8e2c0efe76587fef68c5c3331">cfg_opt_t::validcb2</a></div><div class="ttdeci">cfg_validate_callback2_t validcb2</div><div class="ttdoc">Value validating set callback function.</div><div class="ttdef"><b>Definition:</b> confuse.h:324</div></div>
569: <div class="ttc" id="aconfuse_8h_html_a3658db217bbff1e8eba0245595de16c8"><div class="ttname"><a href="confuse_8h.html#a3658db217bbff1e8eba0245595de16c8">cfg_rmnsec</a></div><div class="ttdeci">DLLIMPORT int __export cfg_rmnsec(cfg_t *cfg, const char *name, unsigned int index)</div><div class="ttdoc">Indexed version of cfg_rmsec(), used for CFGF_MULTI sections.</div><div class="ttdef"><b>Definition:</b> confuse.c:2339</div></div>
570: <div class="ttc" id="aconfuse_8h_html_a28df69d33e0387f3447262e9a99ead83"><div class="ttname"><a href="confuse_8h.html#a28df69d33e0387f3447262e9a99ead83">cfg_rmtsec</a></div><div class="ttdeci">DLLIMPORT int __export cfg_rmtsec(cfg_t *cfg, const char *name, const char *title)</div><div class="ttdoc">Removes and frees a section given the title, used for section with the CFGF_TITLE flag set.</div><div class="ttdef"><b>Definition:</b> confuse.c:2386</div></div>
571: <div class="ttc" id="aconfuse_8h_html_a9a0df4576a33e47ef89d7dc450247408"><div class="ttname"><a href="confuse_8h.html#a9a0df4576a33e47ef89d7dc450247408">cfg_getnopt</a></div><div class="ttdeci">DLLIMPORT cfg_opt_t * cfg_getnopt(cfg_t *cfg, unsigned int index)</div><div class="ttdoc">Return the nth option in a file or section.</div><div class="ttdef"><b>Definition:</b> confuse.c:353</div></div>
572: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7a1b2260acd1f600d08b1317676b90dbb4"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a1b2260acd1f600d08b1317676b90dbb4">CFGT_PTR</a></div><div class="ttdeci">@ CFGT_PTR</div><div class="ttdoc">pointer to user-defined value</div><div class="ttdef"><b>Definition:</b> confuse.h:80</div></div>
573: <div class="ttc" id="astructcfg__t_html_a9b4066552cd320b6a7f34fb6593474d1"><div class="ttname"><a href="structcfg__t.html#a9b4066552cd320b6a7f34fb6593474d1">cfg_t::flags</a></div><div class="ttdeci">cfg_flag_t flags</div><div class="ttdoc">Any flags passed to cfg_init()</div><div class="ttdef"><b>Definition:</b> confuse.h:253</div></div>
574: <div class="ttc" id="aconfuse_8h_html_a6da020721a065f359cf343f014e7834c"><div class="ttname"><a href="confuse_8h.html#a6da020721a065f359cf343f014e7834c">cfg_parse_buf</a></div><div class="ttdeci">DLLIMPORT int __export cfg_parse_buf(cfg_t *cfg, const char *buf)</div><div class="ttdoc">Same as cfg_parse() above, but takes a character buffer as argument.</div><div class="ttdef"><b>Definition:</b> confuse.c:1777</div></div>
575: <div class="ttc" id="aconfuse_8h_html_abaa00b2bb179bfc1062c67da8b2beae3"><div class="ttname"><a href="confuse_8h.html#abaa00b2bb179bfc1062c67da8b2beae3">cfg_opt_getnint</a></div><div class="ttdeci">DLLIMPORT signed long __export cfg_opt_getnint(cfg_opt_t *opt, unsigned int index)</div><div class="ttdoc">Returns the value of an integer option, given a cfg_opt_t pointer.</div><div class="ttdef"><b>Definition:</b> confuse.c:424</div></div>
576: <div class="ttc" id="astructcfg__t_html_a74db29ce5d3b2d4cf99b9db1f6f5139d"><div class="ttname"><a href="structcfg__t.html#a74db29ce5d3b2d4cf99b9db1f6f5139d">cfg_t::title</a></div><div class="ttdeci">char * title</div><div class="ttdoc">Optional title for this section, only set if CFGF_TITLE flag is set.</div><div class="ttdef"><b>Definition:</b> confuse.h:259</div></div>
577: <div class="ttc" id="aconfuse_8h_html_aaf63837150498ce6ecd530a9769f9e43"><div class="ttname"><a href="confuse_8h.html#aaf63837150498ce6ecd530a9769f9e43">cfg_getnfloat</a></div><div class="ttdeci">DLLIMPORT double __export cfg_getnfloat(cfg_t *cfg, const char *name, unsigned int index)</div><div class="ttdoc">Indexed version of cfg_getfloat(), used for lists.</div><div class="ttdef"><b>Definition:</b> confuse.c:464</div></div>
578: <div class="ttc" id="astructcfg__defvalue__t_html_add9c41c942eb6207ca019b86055a298a"><div class="ttname"><a href="structcfg__defvalue__t.html#add9c41c942eb6207ca019b86055a298a">cfg_defvalue_t::fpnumber</a></div><div class="ttdeci">double fpnumber</div><div class="ttdoc">default floating point value</div><div class="ttdef"><b>Definition:</b> confuse.h:297</div></div>
579: <div class="ttc" id="astructcfg__t_html_a2afb9c3a1087ff2cecd893ff7ab65123"><div class="ttname"><a href="structcfg__t.html#a2afb9c3a1087ff2cecd893ff7ab65123">cfg_t::opts</a></div><div class="ttdeci">cfg_opt_t * opts</div><div class="ttdoc">Array of options.</div><div class="ttdef"><b>Definition:</b> confuse.h:258</div></div>
580: <div class="ttc" id="aconfuse_8h_html_ab5834cea46fc0b7418eecd75c952b220"><div class="ttname"><a href="confuse_8h.html#ab5834cea46fc0b7418eecd75c952b220">cfg_opt_rmtsec</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_rmtsec(cfg_opt_t *opt, const char *title)</div><div class="ttdoc">Removes and frees a config section, given a cfg_opt_t pointer and the title.</div><div class="ttdef"><b>Definition:</b> confuse.c:2353</div></div>
581: <div class="ttc" id="aconfuse_8h_html_ac860586bbfb8db825009652a7ce33347"><div class="ttname"><a href="confuse_8h.html#ac860586bbfb8db825009652a7ce33347">CFGF_DEPRECATED</a></div><div class="ttdeci">#define CFGF_DEPRECATED</div><div class="ttdoc">option is deprecated and should be ignored.</div><div class="ttdef"><b>Definition:</b> confuse.h:98</div></div>
582: <div class="ttc" id="aunioncfg__value__t_html_a401f5e5ef96fd0c3cdb7abd7ce11a3bb"><div class="ttname"><a href="unioncfg__value__t.html#a401f5e5ef96fd0c3cdb7abd7ce11a3bb">cfg_value_t::ptr</a></div><div class="ttdeci">void * ptr</div><div class="ttdoc">user-defined value</div><div class="ttdef"><b>Definition:</b> confuse.h:278</div></div>
583: <div class="ttc" id="astructcfg__defvalue__t_html_a80df4364da2c5ac1c2c063343cc4e7e5"><div class="ttname"><a href="structcfg__defvalue__t.html#a80df4364da2c5ac1c2c063343cc4e7e5">cfg_defvalue_t::string</a></div><div class="ttdeci">const char * string</div><div class="ttdoc">default string value</div><div class="ttdef"><b>Definition:</b> confuse.h:299</div></div>
584: <div class="ttc" id="aconfuse_8h_html_a36381357b5db67d0415494332f4d5d94"><div class="ttname"><a href="confuse_8h.html#a36381357b5db67d0415494332f4d5d94">cfg_opt_getcomment</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_opt_getcomment(cfg_opt_t *opt)</div><div class="ttdoc">Returns the option comment.</div><div class="ttdef"><b>Definition:</b> confuse.c:411</div></div>
585: <div class="ttc" id="aconfuse_8h_html_a99289f214566005664f05cac4dc50318"><div class="ttname"><a href="confuse_8h.html#a99289f214566005664f05cac4dc50318">cfg_opt_getnstr</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_opt_getnstr(cfg_opt_t *opt, unsigned int index)</div><div class="ttdoc">Returns the value of a string option, given a cfg_opt_t pointer.</div><div class="ttdef"><b>Definition:</b> confuse.c:499</div></div>
586: <div class="ttc" id="aconfuse_8h_html_a90f555ffb45e3a19d7d97e67d037d4df"><div class="ttname"><a href="confuse_8h.html#a90f555ffb45e3a19d7d97e67d037d4df">cfg_setlist</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setlist(cfg_t *cfg, const char *name, unsigned int nvalues,...)</div><div class="ttdoc">Set values for a list option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2250</div></div>
587: <div class="ttc" id="aconfuse_8h_html_ac51f9e62688527872e38faf308603fff"><div class="ttname"><a href="confuse_8h.html#ac51f9e62688527872e38faf308603fff">cfg_title</a></div><div class="ttdeci">const DLLIMPORT char *__export cfg_title(cfg_t *cfg)</div><div class="ttdoc">Return the title of a section.</div><div class="ttdef"><b>Definition:</b> confuse.c:373</div></div>
588: <div class="ttc" id="astructcfg__opt__t_html_af6c23c379f0c391d665faeaaf9c49d64"><div class="ttname"><a href="structcfg__opt__t.html#af6c23c379f0c391d665faeaaf9c49d64">cfg_opt_t::nvalues</a></div><div class="ttdeci">unsigned int nvalues</div><div class="ttdoc">Number of values parsed.</div><div class="ttdef"><b>Definition:</b> confuse.h:313</div></div>
589: <div class="ttc" id="aconfuse_8h_html_a4312c6bc126283ad8b6dc849c1138a71"><div class="ttname"><a href="confuse_8h.html#a4312c6bc126283ad8b6dc849c1138a71">cfg_opt_getnsec</a></div><div class="ttdeci">DLLIMPORT cfg_t *__export cfg_opt_getnsec(cfg_opt_t *opt, unsigned int index)</div><div class="ttdoc">Returns the value of a section option, given a cfg_opt_t pointer.</div><div class="ttdef"><b>Definition:</b> confuse.c:549</div></div>
590: <div class="ttc" id="aconfuse_8h_html_a6f4ffe9c0b2bc43692647197495946f0"><div class="ttname"><a href="confuse_8h.html#a6f4ffe9c0b2bc43692647197495946f0">cfg_setopt</a></div><div class="ttdeci">DLLIMPORT cfg_value_t * cfg_setopt(cfg_t *cfg, cfg_opt_t *opt, const char *value)</div><div class="ttdoc">Set an option (create an instance of an option).</div><div class="ttdef"><b>Definition:</b> confuse.c:867</div></div>
591: <div class="ttc" id="aconfuse_8h_html_addba63989fbf548cb0365ce875f138d4"><div class="ttname"><a href="confuse_8h.html#addba63989fbf548cb0365ce875f138d4">cfg_getnint</a></div><div class="ttdeci">DLLIMPORT long int __export cfg_getnint(cfg_t *cfg, const char *name, unsigned int index)</div><div class="ttdoc">Indexed version of cfg_getint(), used for lists.</div><div class="ttdef"><b>Definition:</b> confuse.c:439</div></div>
592: <div class="ttc" id="aconfuse_8h_html_a8226e695ae793bb405a7980e8147ce2d"><div class="ttname"><a href="confuse_8h.html#a8226e695ae793bb405a7980e8147ce2d">cfg_addtsec</a></div><div class="ttdeci">DLLIMPORT cfg_t * cfg_addtsec(cfg_t *cfg, const char *name, const char *title)</div><div class="ttdoc">Create a new titled config section.</div><div class="ttdef"><b>Definition:</b> confuse.c:2285</div></div>
593: <div class="ttc" id="aconfuse_8h_html_a4ad028d56e64c44ea8413d4d79143843"><div class="ttname"><a href="confuse_8h.html#a4ad028d56e64c44ea8413d4d79143843">cfg_free_value</a></div><div class="ttdeci">DLLIMPORT int __export cfg_free_value(cfg_opt_t *opt)</div><div class="ttdoc">Free the memory allocated for the values of a given option.</div><div class="ttdef"><b>Definition:</b> confuse.c:1898</div></div>
594: <div class="ttc" id="aconfuse_8h_html_a21921b63558b504a7f68cf97ba3cf3ce"><div class="ttname"><a href="confuse_8h.html#a21921b63558b504a7f68cf97ba3cf3ce">cfg_errfunc_t</a></div><div class="ttdeci">void(* cfg_errfunc_t)(cfg_t *cfg, const char *fmt, va_list ap)</div><div class="ttdoc">Error reporting function.</div><div class="ttdef"><b>Definition:</b> confuse.h:235</div></div>
595: <div class="ttc" id="aconfuse_8h_html_a40e3d18ed9fbf5eae90aec58d68cb474"><div class="ttname"><a href="confuse_8h.html#a40e3d18ed9fbf5eae90aec58d68cb474">cfg_getfloat</a></div><div class="ttdeci">DLLIMPORT double __export cfg_getfloat(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the value of a floating point option.</div><div class="ttdef"><b>Definition:</b> confuse.c:469</div></div>
596: <div class="ttc" id="aconfuse_8h_html_a03bdd2ac7828e5161e68da93cb07238d"><div class="ttname"><a href="confuse_8h.html#a03bdd2ac7828e5161e68da93cb07238d">cfg_set_print_func</a></div><div class="ttdeci">DLLIMPORT cfg_print_func_t __export cfg_set_print_func(cfg_t *cfg, const char *name, cfg_print_func_t pf)</div><div class="ttdoc">Set a print callback function for an option given its name.</div><div class="ttdef"><b>Definition:</b> confuse.c:2568</div></div>
597: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7a5129850f14713386d370f620c828004a"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a5129850f14713386d370f620c828004a">CFGT_COMMENT</a></div><div class="ttdeci">@ CFGT_COMMENT</div><div class="ttdoc">comment/annotation</div><div class="ttdef"><b>Definition:</b> confuse.h:81</div></div>
598: <div class="ttc" id="aconfuse_8h_html_a51766e2c30fcf1c8d49b125db55a00bb"><div class="ttname"><a href="confuse_8h.html#a51766e2c30fcf1c8d49b125db55a00bb">CFGF_IGNORE_UNKNOWN</a></div><div class="ttdeci">#define CFGF_IGNORE_UNKNOWN</div><div class="ttdoc">ignore unknown options in configuration files</div><div class="ttdef"><b>Definition:</b> confuse.h:97</div></div>
599: <div class="ttc" id="aconfuse_8h_html_a8f07eca3c5e341ee6a81ecede2fbd5d8"><div class="ttname"><a href="confuse_8h.html#a8f07eca3c5e341ee6a81ecede2fbd5d8">cfg_set_validate_func</a></div><div class="ttdeci">DLLIMPORT cfg_validate_callback_t __export cfg_set_validate_func(cfg_t *cfg, const char *name, cfg_validate_callback_t vf)</div><div class="ttdoc">Register a validating callback function for an option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2637</div></div>
600: <div class="ttc" id="aconfuse_8h_html_a8984944ec9de3a67e3007bfba32f2127"><div class="ttname"><a href="confuse_8h.html#a8984944ec9de3a67e3007bfba32f2127">cfg_getnbool</a></div><div class="ttdeci">DLLIMPORT cfg_bool_t __export cfg_getnbool(cfg_t *cfg, const char *name, unsigned int index)</div><div class="ttdoc">Indexed version of cfg_getbool(), used for lists.</div><div class="ttdef"><b>Definition:</b> confuse.c:489</div></div>
601: <div class="ttc" id="aconfuse_8h_html_ad5e8eea765588892053b73eed4017edd"><div class="ttname"><a href="confuse_8h.html#ad5e8eea765588892053b73eed4017edd">cfg_getnsec</a></div><div class="ttdeci">DLLIMPORT cfg_t *__export cfg_getnsec(cfg_t *cfg, const char *name, unsigned int index)</div><div class="ttdoc">Indexed version of cfg_getsec(), used for sections with the CFGF_MULTI flag set.</div><div class="ttdef"><b>Definition:</b> confuse.c:563</div></div>
602: <div class="ttc" id="aconfuse_8h_html_abac8ca33706dd89c4eb6677cee9cfffc"><div class="ttname"><a href="confuse_8h.html#abac8ca33706dd89c4eb6677cee9cfffc">cfg_setcomment</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setcomment(cfg_t *cfg, const char *name, char *comment)</div><div class="ttdoc">Annotate an option given its name.</div><div class="ttdef"><b>Definition:</b> confuse.c:2063</div></div>
603: <div class="ttc" id="aconfuse_8h_html_aabb00a590331a4d9d4e772201dff34d1"><div class="ttname"><a href="confuse_8h.html#aabb00a590331a4d9d4e772201dff34d1">cfg_getnstr</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_getnstr(cfg_t *cfg, const char *name, unsigned int index)</div><div class="ttdoc">Indexed version of cfg_getstr(), used for lists.</div><div class="ttdef"><b>Definition:</b> confuse.c:514</div></div>
604: <div class="ttc" id="aconfuse_8h_html_a6d41c76e4378f359cf70c5015f452c5d"><div class="ttname"><a href="confuse_8h.html#a6d41c76e4378f359cf70c5015f452c5d">cfg_add_searchpath</a></div><div class="ttdeci">DLLIMPORT int __export cfg_add_searchpath(cfg_t *cfg, const char *dir)</div><div class="ttdoc">Add a searchpath directory to the configuration context, the const char* argument will be duplicated ...</div><div class="ttdef"><b>Definition:</b> confuse.c:1154</div></div>
605: <div class="ttc" id="aconfuse_8h_html_a72cac29b3342eaf5bb0bb05cdd98e19f"><div class="ttname"><a href="confuse_8h.html#a72cac29b3342eaf5bb0bb05cdd98e19f">cfg_getcomment</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_getcomment(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the option comment.</div><div class="ttdef"><b>Definition:</b> confuse.c:419</div></div>
606: <div class="ttc" id="aconfuse_8h_html_a33f48558624569678272f46925ead40f"><div class="ttname"><a href="confuse_8h.html#a33f48558624569678272f46925ead40f">cfg_getopt</a></div><div class="ttdeci">DLLIMPORT cfg_opt_t *__export cfg_getopt(cfg_t *cfg, const char *name)</div><div class="ttdoc">Return an option given it's name.</div><div class="ttdef"><b>Definition:</b> confuse.c:368</div></div>
607: <div class="ttc" id="aunioncfg__value__t_html_aa72899aba82866c330379808f5a92b82"><div class="ttname"><a href="unioncfg__value__t.html#aa72899aba82866c330379808f5a92b82">cfg_value_t::number</a></div><div class="ttdeci">long int number</div><div class="ttdoc">integer value</div><div class="ttdef"><b>Definition:</b> confuse.h:273</div></div>
608: <div class="ttc" id="astructcfg__opt__t_html_a99bfdb357aca5b75254352a54fd6f9be"><div class="ttname"><a href="structcfg__opt__t.html#a99bfdb357aca5b75254352a54fd6f9be">cfg_opt_t::validcb</a></div><div class="ttdeci">cfg_validate_callback_t validcb</div><div class="ttdoc">Value validating parsing callback function.</div><div class="ttdef"><b>Definition:</b> confuse.h:323</div></div>
609: <div class="ttc" id="astructcfg__opt__t_html_aa3361a9b809e83d22e911b32e10387d9"><div class="ttname"><a href="structcfg__opt__t.html#aa3361a9b809e83d22e911b32e10387d9">cfg_opt_t::subopts</a></div><div class="ttdeci">cfg_opt_t * subopts</div><div class="ttdoc">Suboptions (only applies to sections)</div><div class="ttdef"><b>Definition:</b> confuse.h:316</div></div>
610: <div class="ttc" id="astructcfg__opt__t_html_adba3a76e9eccb195383327f645f79da0"><div class="ttname"><a href="structcfg__opt__t.html#adba3a76e9eccb195383327f645f79da0">cfg_opt_t::flags</a></div><div class="ttdeci">cfg_flag_t flags</div><div class="ttdoc">Flags.</div><div class="ttdef"><b>Definition:</b> confuse.h:315</div></div>
611: <div class="ttc" id="aconfuse_8h_html_a292c81c72ef7e04b97226529e3157f30"><div class="ttname"><a href="confuse_8h.html#a292c81c72ef7e04b97226529e3157f30">CFGF_KEYSTRVAL</a></div><div class="ttdeci">#define CFGF_KEYSTRVAL</div><div class="ttdoc">section has free-form key=value string options created when parsing file</div><div class="ttdef"><b>Definition:</b> confuse.h:102</div></div>
612: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7ac6a18c97187c38648e11f18ad465f4f3"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7ac6a18c97187c38648e11f18ad465f4f3">CFGT_STR</a></div><div class="ttdeci">@ CFGT_STR</div><div class="ttdoc">string</div><div class="ttdef"><b>Definition:</b> confuse.h:76</div></div>
613: <div class="ttc" id="aconfuse_8h_html_ac3343e32da22758f76ec50627316c708"><div class="ttname"><a href="confuse_8h.html#ac3343e32da22758f76ec50627316c708">cfg_print</a></div><div class="ttdeci">DLLIMPORT int __export cfg_print(cfg_t *cfg, FILE *fp)</div><div class="ttdoc">Print the options and values to a file.</div><div class="ttdef"><b>Definition:</b> confuse.c:2548</div></div>
614: <div class="ttc" id="aconfuse_8h_html_a7b25525f51adff514fd2ced4d3caa23e"><div class="ttname"><a href="confuse_8h.html#a7b25525f51adff514fd2ced4d3caa23e">CFGF_MODIFIED</a></div><div class="ttdeci">#define CFGF_MODIFIED</div><div class="ttdoc">option has been changed from its default value</div><div class="ttdef"><b>Definition:</b> confuse.h:101</div></div>
615: <div class="ttc" id="aunioncfg__value__t_html_a6d27d8470954ed35947dfcf3bcc52796"><div class="ttname"><a href="unioncfg__value__t.html#a6d27d8470954ed35947dfcf3bcc52796">cfg_value_t::section</a></div><div class="ttdeci">cfg_t * section</div><div class="ttdoc">section value</div><div class="ttdef"><b>Definition:</b> confuse.h:277</div></div>
616: <div class="ttc" id="aconfuse_8h_html_a0fca327466956c5580199e24397d49fe"><div class="ttname"><a href="confuse_8h.html#a0fca327466956c5580199e24397d49fe">cfg_parse</a></div><div class="ttdeci">DLLIMPORT int __export cfg_parse(cfg_t *cfg, const char *filename)</div><div class="ttdoc">Parse a configuration file.</div><div class="ttdef"><b>Definition:</b> confuse.c:1746</div></div>
617: <div class="ttc" id="aconfuse_8h_html_a89b520443f8c41e05d5f4e86bdefef5d"><div class="ttname"><a href="confuse_8h.html#a89b520443f8c41e05d5f4e86bdefef5d">cfg_opt_rmnsec</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_rmnsec(cfg_opt_t *opt, unsigned int index)</div><div class="ttdoc">Removes and frees a config section, given a cfg_opt_t pointer.</div><div class="ttdef"><b>Definition:</b> confuse.c:2309</div></div>
618: <div class="ttc" id="aconfuse_8h_html_ab4903f75c29f9c2973696039c4f5c0df"><div class="ttname"><a href="confuse_8h.html#ab4903f75c29f9c2973696039c4f5c0df">cfg_getbool</a></div><div class="ttdeci">DLLIMPORT cfg_bool_t __export cfg_getbool(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the value of a boolean option.</div><div class="ttdef"><b>Definition:</b> confuse.c:494</div></div>
619: <div class="ttc" id="astructcfg__opt__t_html"><div class="ttname"><a href="structcfg__opt__t.html">cfg_opt_t</a></div><div class="ttdoc">Data structure holding information about an option.</div><div class="ttdef"><b>Definition:</b> confuse.h:309</div></div>
620: <div class="ttc" id="aconfuse_8h_html_a2fb3099e4fc619c746eacfb930b9d24d"><div class="ttname"><a href="confuse_8h.html#a2fb3099e4fc619c746eacfb930b9d24d">cfg_searchpath</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_searchpath(cfg_searchpath_t *path, const char *file)</div><div class="ttdoc">Search the linked-list of cfg_searchpath_t for the specified file.</div><div class="ttdef"><b>Definition:</b> confuse.c:1715</div></div>
621: <div class="ttc" id="astructcfg__t_html_a7fed5a4a0254e3f014c3a4e83caf4ca4"><div class="ttname"><a href="structcfg__t.html#a7fed5a4a0254e3f014c3a4e83caf4ca4">cfg_t::pff</a></div><div class="ttdeci">cfg_print_filter_func_t pff</div><div class="ttdoc">Printing filter function.</div><div class="ttdef"><b>Definition:</b> confuse.h:267</div></div>
622: <div class="ttc" id="aconfuse_8h_html_af49441953ac0c45960728b347c25dba3"><div class="ttname"><a href="confuse_8h.html#af49441953ac0c45960728b347c25dba3">cfg_opt_getnbool</a></div><div class="ttdeci">DLLIMPORT cfg_bool_t __export cfg_opt_getnbool(cfg_opt_t *opt, unsigned int index)</div><div class="ttdoc">Returns the value of a boolean option, given a cfg_opt_t pointer.</div><div class="ttdef"><b>Definition:</b> confuse.c:474</div></div>
623: <div class="ttc" id="aconfuse_8h_html_a6fd5dd8df47cbf571782463ca1e0c4b7"><div class="ttname"><a href="confuse_8h.html#a6fd5dd8df47cbf571782463ca1e0c4b7">cfg_callback_t</a></div><div class="ttdeci">int(* cfg_callback_t)(cfg_t *cfg, cfg_opt_t *opt, const char *value, void *result)</div><div class="ttdoc">Value parsing callback prototype.</div><div class="ttdef"><b>Definition:</b> confuse.h:188</div></div>
624: <div class="ttc" id="aconfuse_8h_html_a775e9fa25691f0754a643c0246efcc3c"><div class="ttname"><a href="confuse_8h.html#a775e9fa25691f0754a643c0246efcc3c">cfg_func_t</a></div><div class="ttdeci">int(* cfg_func_t)(cfg_t *cfg, cfg_opt_t *opt, int argc, const char **argv)</div><div class="ttdoc">Function prototype used by CFGT_FUNC options.</div><div class="ttdef"><b>Definition:</b> confuse.h:143</div></div>
625: <div class="ttc" id="aconfuse_8h_html_ad6f11a2efb1dec9df6b0c27f9ffe1a16"><div class="ttname"><a href="confuse_8h.html#ad6f11a2efb1dec9df6b0c27f9ffe1a16">CFGF_DROP</a></div><div class="ttdeci">#define CFGF_DROP</div><div class="ttdoc">option should be dropped after parsing</div><div class="ttdef"><b>Definition:</b> confuse.h:99</div></div>
626: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7a531bc0d05779dd0fbbe90ac9ae744c0f"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7a531bc0d05779dd0fbbe90ac9ae744c0f">CFGT_FUNC</a></div><div class="ttdeci">@ CFGT_FUNC</div><div class="ttdoc">function</div><div class="ttdef"><b>Definition:</b> confuse.h:79</div></div>
627: <div class="ttc" id="astructcfg__t_html_a5bd45667c23f040a20b2f2c0eacf7b1b"><div class="ttname"><a href="structcfg__t.html#a5bd45667c23f040a20b2f2c0eacf7b1b">cfg_t::line</a></div><div class="ttdeci">int line</div><div class="ttdoc">Line number in the config file.</div><div class="ttdef"><b>Definition:</b> confuse.h:262</div></div>
628: <div class="ttc" id="astructcfg__defvalue__t_html_a9d92990af2ee07184dd223724b1b750c"><div class="ttname"><a href="structcfg__defvalue__t.html#a9d92990af2ee07184dd223724b1b750c">cfg_defvalue_t::parsed</a></div><div class="ttdeci">char * parsed</div><div class="ttdoc">default value that is parsed by libConfuse, used for lists and functions</div><div class="ttdef"><b>Definition:</b> confuse.h:300</div></div>
629: <div class="ttc" id="aconfuse_8h_html_a1c3a275962c11731067e3e8ef9b782df"><div class="ttname"><a href="confuse_8h.html#a1c3a275962c11731067e3e8ef9b782df">cfg_opt_print_indent</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_print_indent(cfg_opt_t *opt, FILE *fp, int indent)</div><div class="ttdoc">Print an option and its value to a file.</div><div class="ttdef"><b>Definition:</b> confuse.c:2518</div></div>
630: <div class="ttc" id="aunioncfg__value__t_html_a9213cfe5b50eb6d2c5fec1e0a1ff3c8a"><div class="ttname"><a href="unioncfg__value__t.html#a9213cfe5b50eb6d2c5fec1e0a1ff3c8a">cfg_value_t::boolean</a></div><div class="ttdeci">cfg_bool_t boolean</div><div class="ttdoc">boolean value</div><div class="ttdef"><b>Definition:</b> confuse.h:275</div></div>
631: <div class="ttc" id="aconfuse_8h_html_a6c54ace15f94610dc81ab3c3ada5a014"><div class="ttname"><a href="confuse_8h.html#a6c54ace15f94610dc81ab3c3ada5a014">cfg_set_print_filter_func</a></div><div class="ttdeci">DLLIMPORT cfg_print_filter_func_t __export cfg_set_print_filter_func(cfg_t *cfg, cfg_print_filter_func_t pff)</div><div class="ttdoc">Install a user-defined print filter function.</div><div class="ttdef"><b>Definition:</b> confuse.c:1196</div></div>
632: <div class="ttc" id="aconfuse_8h_html_a292ba236b86cbe1bec047a467c8d605d"><div class="ttname"><a href="confuse_8h.html#a292ba236b86cbe1bec047a467c8d605d">cfg_opt_set_print_func</a></div><div class="ttdeci">DLLIMPORT cfg_print_func_t __export cfg_opt_set_print_func(cfg_opt_t *opt, cfg_print_func_t pf)</div><div class="ttdoc">Set a print callback function for an option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2553</div></div>
633: <div class="ttc" id="aconfuse_8h_html_ad4f0fdb31b6c0113b3c78891e8ee5429"><div class="ttname"><a href="confuse_8h.html#ad4f0fdb31b6c0113b3c78891e8ee5429">cfg_getptr</a></div><div class="ttdeci">DLLIMPORT void *__export cfg_getptr(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the value of a user-defined option (void pointer).</div><div class="ttdef"><b>Definition:</b> confuse.c:544</div></div>
634: <div class="ttc" id="aconfuse_8h_html_a20e3b90b5fce510154d4053db0c8eba4"><div class="ttname"><a href="confuse_8h.html#a20e3b90b5fce510154d4053db0c8eba4">cfg_opt_name</a></div><div class="ttdeci">const DLLIMPORT char *__export cfg_opt_name(cfg_opt_t *opt)</div><div class="ttdoc">Return the name of an option.</div><div class="ttdef"><b>Definition:</b> confuse.c:387</div></div>
635: <div class="ttc" id="astructcfg__t_html_ab4be96e6713f164062c07b4e2a2c51b2"><div class="ttname"><a href="structcfg__t.html#ab4be96e6713f164062c07b4e2a2c51b2">cfg_t::comment</a></div><div class="ttdeci">char * comment</div><div class="ttdoc">Optional annotation/comment.</div><div class="ttdef"><b>Definition:</b> confuse.h:257</div></div>
636: <div class="ttc" id="aunioncfg__value__t_html_ad2e403d70d11800811b81032b4b7e032"><div class="ttname"><a href="unioncfg__value__t.html#ad2e403d70d11800811b81032b4b7e032">cfg_value_t::fpnumber</a></div><div class="ttdeci">double fpnumber</div><div class="ttdoc">floating point value</div><div class="ttdef"><b>Definition:</b> confuse.h:274</div></div>
637: <div class="ttc" id="astructcfg__opt__t_html_aed01618b386409cdd2305ba2ec3b5028"><div class="ttname"><a href="structcfg__opt__t.html#aed01618b386409cdd2305ba2ec3b5028">cfg_opt_t::values</a></div><div class="ttdeci">cfg_value_t ** values</div><div class="ttdoc">Array of found values.</div><div class="ttdef"><b>Definition:</b> confuse.h:314</div></div>
638: <div class="ttc" id="aconfuse_8h_html_a1b97fb911e1203df560f80c2528c5fd9"><div class="ttname"><a href="confuse_8h.html#a1b97fb911e1203df560f80c2528c5fd9">cfg_print_func_t</a></div><div class="ttdeci">void(* cfg_print_func_t)(cfg_opt_t *opt, unsigned int index, FILE *fp)</div><div class="ttdoc">Function prototype used by the cfg_print_ functions.</div><div class="ttdef"><b>Definition:</b> confuse.h:165</div></div>
639: <div class="ttc" id="aunioncfg__simple__t_html"><div class="ttname"><a href="unioncfg__simple__t.html">cfg_simple_t</a></div><div class="ttdoc">Data structure holding the pointer to a user provided variable defined with CFG_SIMPLE_*.</div><div class="ttdef"><b>Definition:</b> confuse.h:284</div></div>
640: <div class="ttc" id="aconfuse_8h_html_a5eee21bf6b453b81d477314333d4c47c"><div class="ttname"><a href="confuse_8h.html#a5eee21bf6b453b81d477314333d4c47c">cfg_name</a></div><div class="ttdeci">const DLLIMPORT char *__export cfg_name(cfg_t *cfg)</div><div class="ttdoc">Return the name of a section.</div><div class="ttdef"><b>Definition:</b> confuse.c:380</div></div>
641: <div class="ttc" id="aconfuse_8h_html_ae5cd3df98ec4c9895fbe73fd1c32f7a1"><div class="ttname"><a href="confuse_8h.html#ae5cd3df98ec4c9895fbe73fd1c32f7a1">cfg_set_error_function</a></div><div class="ttdeci">DLLIMPORT cfg_errfunc_t __export cfg_set_error_function(cfg_t *cfg, cfg_errfunc_t errfunc)</div><div class="ttdoc">Install a user-defined error reporting function.</div><div class="ttdef"><b>Definition:</b> confuse.c:1181</div></div>
642: <div class="ttc" id="astructcfg__t_html_af6c59f8d119f4f06db13220129db0b5e"><div class="ttname"><a href="structcfg__t.html#af6c59f8d119f4f06db13220129db0b5e">cfg_t::path</a></div><div class="ttdeci">cfg_searchpath_t * path</div><div class="ttdoc">Linked list of directories to search.</div><div class="ttdef"><b>Definition:</b> confuse.h:266</div></div>
643: <div class="ttc" id="aconfuse_8h_html_a86b522a5daef5c07066b28f1585d2d77"><div class="ttname"><a href="confuse_8h.html#a86b522a5daef5c07066b28f1585d2d77">CFGF_MULTI</a></div><div class="ttdeci">#define CFGF_MULTI</div><div class="ttdoc">option may be specified multiple times (only applies to sections)</div><div class="ttdef"><b>Definition:</b> confuse.h:87</div></div>
644: <div class="ttc" id="astructcfg__opt__t_html_a7ae186c0caf8c6208675e08a7a608448"><div class="ttname"><a href="structcfg__opt__t.html#a7ae186c0caf8c6208675e08a7a608448">cfg_opt_t::func</a></div><div class="ttdeci">cfg_func_t func</div><div class="ttdoc">Function callback for CFGT_FUNC options.</div><div class="ttdef"><b>Definition:</b> confuse.h:318</div></div>
645: <div class="ttc" id="aconfuse_8h_html_a0f8c2f9b82f0338efdc22df54805a467"><div class="ttname"><a href="confuse_8h.html#a0f8c2f9b82f0338efdc22df54805a467">CFGF_NO_TITLE_DUPES</a></div><div class="ttdeci">#define CFGF_NO_TITLE_DUPES</div><div class="ttdoc">multiple section titles must be unique (duplicates raises an error, only applies to sections)</div><div class="ttdef"><b>Definition:</b> confuse.h:92</div></div>
646: <div class="ttc" id="aconfuse_8h_html_a7efb1f27133b20f0d0b8b38c51ebf6d7"><div class="ttname"><a href="confuse_8h.html#a7efb1f27133b20f0d0b8b38c51ebf6d7">cfg_opt_setnbool</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_setnbool(cfg_opt_t *opt, cfg_bool_t value, unsigned int index)</div><div class="ttdoc">Set a value of a boolean option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2138</div></div>
647: <div class="ttc" id="astructcfg__t_html"><div class="ttname"><a href="structcfg__t.html">cfg_t</a></div><div class="ttdoc">Data structure holding information about a "section".</div><div class="ttdef"><b>Definition:</b> confuse.h:252</div></div>
648: <div class="ttc" id="aconfuse_8h_html_a4843ce0fadd14030af7a2293d558901e"><div class="ttname"><a href="confuse_8h.html#a4843ce0fadd14030af7a2293d558901e">cfg_opt_setnfloat</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_setnfloat(cfg_opt_t *opt, double value, unsigned int index)</div><div class="ttdoc">Set a value of a floating point option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2103</div></div>
649: <div class="ttc" id="aconfuse_8h_html_aaa50eb2942ae8e7cb7f9ccbfe002b3cd"><div class="ttname"><a href="confuse_8h.html#aaa50eb2942ae8e7cb7f9ccbfe002b3cd">cfg_getint</a></div><div class="ttdeci">DLLIMPORT long int __export cfg_getint(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the value of an integer option.</div><div class="ttdef"><b>Definition:</b> confuse.c:444</div></div>
650: <div class="ttc" id="astructcfg__t_html_a725fb2555ab71a36eb8f5c461c731e64"><div class="ttname"><a href="structcfg__t.html#a725fb2555ab71a36eb8f5c461c731e64">cfg_t::name</a></div><div class="ttdeci">char * name</div><div class="ttdoc">The name of this section, the root section returned from cfg_init() is always named "root".</div><div class="ttdef"><b>Definition:</b> confuse.h:254</div></div>
651: <div class="ttc" id="astructcfg__t_html_a63b77129d671d1a7b2179c2aeb52ad10"><div class="ttname"><a href="structcfg__t.html#a63b77129d671d1a7b2179c2aeb52ad10">cfg_t::errfunc</a></div><div class="ttdeci">cfg_errfunc_t errfunc</div><div class="ttdoc">This function (if set with cfg_set_error_function) is called for any error message.</div><div class="ttdef"><b>Definition:</b> confuse.h:263</div></div>
652: <div class="ttc" id="aconfuse_8h_html_a91d59966569b50fb32d09f3e9f65ee6c"><div class="ttname"><a href="confuse_8h.html#a91d59966569b50fb32d09f3e9f65ee6c">cfg_set_validate_func2</a></div><div class="ttdeci">DLLIMPORT cfg_validate_callback2_t __export cfg_set_validate_func2(cfg_t *cfg, const char *name, cfg_validate_callback2_t vf)</div><div class="ttdoc">Register a validating callback function for an option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2652</div></div>
653: <div class="ttc" id="aconfuse_8h_html_aae5e08626bf53514a6ebf250580feba3"><div class="ttname"><a href="confuse_8h.html#aae5e08626bf53514a6ebf250580feba3">cfg_free</a></div><div class="ttdeci">DLLIMPORT int __export cfg_free(cfg_t *cfg)</div><div class="ttdoc">Free a cfg_t context.</div><div class="ttdef"><b>Definition:</b> confuse.c:1962</div></div>
654: <div class="ttc" id="aconfuse_8h_html_a66a1002180229809620b9bf2d3b888a6"><div class="ttname"><a href="confuse_8h.html#a66a1002180229809620b9bf2d3b888a6">CFG_SUCCESS</a></div><div class="ttdeci">#define CFG_SUCCESS</div><div class="ttdoc">Return codes from cfg_parse(), cfg_parse_boolean(), and cfg_set*() functions.</div><div class="ttdef"><b>Definition:</b> confuse.h:105</div></div>
655: <div class="ttc" id="aconfuse_8h_html_a652c523d7a1acb6380a0dbd42704dc35"><div class="ttname"><a href="confuse_8h.html#a652c523d7a1acb6380a0dbd42704dc35">cfg_setnstr</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setnstr(cfg_t *cfg, const char *name, const char *value, unsigned int index)</div><div class="ttdoc">Set a value of a boolean option given its name and index.</div><div class="ttdef"><b>Definition:</b> confuse.c:2200</div></div>
656: <div class="ttc" id="aconfuse_8h_html_a4a9c34acc55cca63649c088d98053905"><div class="ttname"><a href="confuse_8h.html#a4a9c34acc55cca63649c088d98053905">cfg_getstr</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_getstr(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the value of a string option.</div><div class="ttdef"><b>Definition:</b> confuse.c:519</div></div>
657: <div class="ttc" id="aconfuse_8h_html_aec07a19c221658f7556d09597cd1c8c5"><div class="ttname"><a href="confuse_8h.html#aec07a19c221658f7556d09597cd1c8c5">cfg_opt_setcomment</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_setcomment(cfg_opt_t *opt, char *comment)</div><div class="ttdoc">Annotate an option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2040</div></div>
658: <div class="ttc" id="aunioncfg__value__t_html_a7406159ddee3574d8ded326af1ab0764"><div class="ttname"><a href="unioncfg__value__t.html#a7406159ddee3574d8ded326af1ab0764">cfg_value_t::string</a></div><div class="ttdeci">char * string</div><div class="ttdoc">string value</div><div class="ttdef"><b>Definition:</b> confuse.h:276</div></div>
659: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7aa786f6288e70d0ec5fc0ef38f1671f1b"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7aa786f6288e70d0ec5fc0ef38f1671f1b">CFGT_SEC</a></div><div class="ttdeci">@ CFGT_SEC</div><div class="ttdoc">section</div><div class="ttdef"><b>Definition:</b> confuse.h:78</div></div>
660: <div class="ttc" id="aconfuse_8h_html_accd838b44797a5a89dbfd3ab60203375"><div class="ttname"><a href="confuse_8h.html#accd838b44797a5a89dbfd3ab60203375">cfg_tilde_expand</a></div><div class="ttdeci">DLLIMPORT char *__export cfg_tilde_expand(const char *filename)</div><div class="ttdoc">Does tilde expansion (~ -> $HOME) on the filename.</div><div class="ttdef"><b>Definition:</b> confuse.c:1851</div></div>
661: <div class="ttc" id="astructcfg__opt__t_html_a8eac503e744faf87c8ec1cdb7f6d8648"><div class="ttname"><a href="structcfg__opt__t.html#a8eac503e744faf87c8ec1cdb7f6d8648">cfg_opt_t::comment</a></div><div class="ttdeci">char * comment</div><div class="ttdoc">Optional comment/annotation.</div><div class="ttdef"><b>Definition:</b> confuse.h:311</div></div>
662: <div class="ttc" id="astructcfg__opt__t_html_ad6b58f20b560e054150136fe1818cc44"><div class="ttname"><a href="structcfg__opt__t.html#ad6b58f20b560e054150136fe1818cc44">cfg_opt_t::pf</a></div><div class="ttdeci">cfg_print_func_t pf</div><div class="ttdoc">print callback function</div><div class="ttdef"><b>Definition:</b> confuse.h:325</div></div>
663: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7af397ec05171bfacd9944b3d538fbd6dc"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7af397ec05171bfacd9944b3d538fbd6dc">CFGT_INT</a></div><div class="ttdeci">@ CFGT_INT</div><div class="ttdoc">integer</div><div class="ttdef"><b>Definition:</b> confuse.h:74</div></div>
664: <div class="ttc" id="aconfuse_8h_html_a03b0983a0c6643722e8e1837ccedad3f"><div class="ttname"><a href="confuse_8h.html#a03b0983a0c6643722e8e1837ccedad3f">cfg_setfloat</a></div><div class="ttdeci">DLLIMPORT int __export cfg_setfloat(cfg_t *cfg, const char *name, double value)</div><div class="ttdoc">Set the value of a floating point option given its name.</div><div class="ttdef"><b>Definition:</b> confuse.c:2133</div></div>
665: <div class="ttc" id="aconfuse_8h_html_aa93c59e332c95937db84f93c1a9b25bd"><div class="ttname"><a href="confuse_8h.html#aa93c59e332c95937db84f93c1a9b25bd">cfg_opt_getnfloat</a></div><div class="ttdeci">DLLIMPORT double __export cfg_opt_getnfloat(cfg_opt_t *opt, unsigned int index)</div><div class="ttdoc">Returns the value of a floating point option, given a cfg_opt_t pointer.</div><div class="ttdef"><b>Definition:</b> confuse.c:449</div></div>
666: <div class="ttc" id="astructcfg__opt__t_html_a74cd795bf14bcbc4fd5f8993e1ec241a"><div class="ttname"><a href="structcfg__opt__t.html#a74cd795bf14bcbc4fd5f8993e1ec241a">cfg_opt_t::simple_value</a></div><div class="ttdeci">cfg_simple_t simple_value</div><div class="ttdoc">Pointer to user-specified variable to store simple values (created with the CFG_SIMPLE_* initializers...</div><div class="ttdef"><b>Definition:</b> confuse.h:319</div></div>
667: <div class="ttc" id="aconfuse_8h_html_ac1fda0e6937653d891ae276ae69d0f76"><div class="ttname"><a href="confuse_8h.html#ac1fda0e6937653d891ae276ae69d0f76">cfg_gettsec</a></div><div class="ttdeci">DLLIMPORT cfg_t *__export cfg_gettsec(cfg_t *cfg, const char *name, const char *title)</div><div class="ttdoc">Return a section given the title, used for section with the CFGF_TITLE flag set.</div><div class="ttdef"><b>Definition:</b> confuse.c:590</div></div>
668: <div class="ttc" id="aconfuse_8h_html_a7561c5f3994f1f8eb7d2072efcc58c2a"><div class="ttname"><a href="confuse_8h.html#a7561c5f3994f1f8eb7d2072efcc58c2a">cfg_opt_setmulti</a></div><div class="ttdeci">DLLIMPORT int cfg_opt_setmulti(cfg_t *cfg, cfg_opt_t *opt, unsigned int nvalues, char **values)</div><div class="ttdoc">Set an option (create an instance of an option).</div><div class="ttdef"><b>Definition:</b> confuse.c:1093</div></div>
669: <div class="ttc" id="aconfuse_8h_html_aa1339bde1f672aa0279a51bf2324545d"><div class="ttname"><a href="confuse_8h.html#aa1339bde1f672aa0279a51bf2324545d">cfg_getsec</a></div><div class="ttdeci">DLLIMPORT cfg_t *__export cfg_getsec(cfg_t *cfg, const char *name)</div><div class="ttdoc">Returns the value of a section option.</div><div class="ttdef"><b>Definition:</b> confuse.c:595</div></div>
670: <div class="ttc" id="aconfuse_8h_html_a7ff54be21c704c3150ad439d7e17dcca"><div class="ttname"><a href="confuse_8h.html#a7ff54be21c704c3150ad439d7e17dcca">cfg_parse_fp</a></div><div class="ttdeci">DLLIMPORT int __export cfg_parse_fp(cfg_t *cfg, FILE *fp)</div><div class="ttdoc">Same as cfg_parse() above, but takes an already opened file as argument.</div><div class="ttdef"><b>Definition:</b> confuse.c:1662</div></div>
671: <div class="ttc" id="aconfuse_8h_html_a4bce4b6aed9b07489d6a5c70321907e4"><div class="ttname"><a href="confuse_8h.html#a4bce4b6aed9b07489d6a5c70321907e4">cfg_bool_t</a></div><div class="ttdeci">cfg_bool_t</div><div class="ttdoc">Boolean values.</div><div class="ttdef"><b>Definition:</b> confuse.h:232</div></div>
672: <div class="ttc" id="aconfuse_8h_html_a35daf3fa141ba784a5fc1b8da5df54c7"><div class="ttname"><a href="confuse_8h.html#a35daf3fa141ba784a5fc1b8da5df54c7">cfg_opt_setnstr</a></div><div class="ttdeci">DLLIMPORT int __export cfg_opt_setnstr(cfg_opt_t *opt, const char *value, unsigned int index)</div><div class="ttdoc">Set a value of a string option.</div><div class="ttdef"><b>Definition:</b> confuse.c:2167</div></div>
673: <div class="ttc" id="aconfuse_8h_html_a5b448a145f12b67e90bd4e6bd387f129"><div class="ttname"><a href="confuse_8h.html#a5b448a145f12b67e90bd4e6bd387f129">cfg_error</a></div><div class="ttdeci">DLLIMPORT void __export cfg_error(cfg_t *cfg, const char *fmt,...)</div><div class="ttdoc">Show a parser error.</div><div class="ttdef"><b>Definition:</b> confuse.c:1211</div></div>
674: <div class="ttc" id="aconfuse_8h_html_a9c62155b0deae0e1831507520a2ff7c7abd237f20c366857f5521da911ba813cb"><div class="ttname"><a href="confuse_8h.html#a9c62155b0deae0e1831507520a2ff7c7abd237f20c366857f5521da911ba813cb">CFGT_FLOAT</a></div><div class="ttdeci">@ CFGT_FLOAT</div><div class="ttdoc">floating point number</div><div class="ttdef"><b>Definition:</b> confuse.h:75</div></div>
675: <!-- start footer part -->
676: <hr class="footer"/><address class="footer"><small>
677: Generated by  <a href="http://www.doxygen.org/index.html">
678: <img class="footer" src="doxygen.png" alt="doxygen"/>
679: </a> 1.8.17
680: </small></address>
681: </body>
682: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>