| version 1.3, 2002/05/20 16:10:24 |
version 1.4, 2002/06/08 09:43:58 |
| Line 74 linkend="usage.parsing" endterm="usage.p |
|
| Line 74 linkend="usage.parsing" endterm="usage.p |
|
| <tbody> |
<tbody> |
| <row> |
<row> |
| <entry> |
<entry> |
| <constant>CFG_ERR_OK</constant>, |
<!-- <constant>CFG_ERR_OK</constant>, --> |
| <constant>CFG_ERROR_OK</constant>, |
<!-- <constant>CFG_ERROR_OK</constant>, --> |
| <constant>CFG_OK</constant> |
<constant>CFG_OK</constant> |
| </entry> |
</entry> |
| <entry>OK, all is right</entry> |
<entry>OK, all is right</entry> |
| </row> |
</row> |
| <row> |
<row> |
| <entry> |
<entry> |
| <constant>CFG_ERR_NOARG</constant>, |
<!-- <constant>CFG_ERR_NOARG</constant>, --> |
| <constant>CFG_ERROR_NOARG</constant> |
<constant>CFG_ERROR_NOARG</constant> |
| </entry> |
</entry> |
| <entry>An argument is missing for an option</entry> |
<entry>An argument is missing for an option</entry> |
| Line 90 linkend="usage.parsing" endterm="usage.p |
|
| Line 90 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_NOTALLOWEDARG</constant>, |
<!-- <constant>CFG_ERR_NOTALLOWEDARG</constant>, --> |
| <constant>CFG_ERROR_NOTALLOWEDARG</constant> |
<constant>CFG_ERROR_NOTALLOWEDARG</constant> |
| </entry> |
</entry> |
| <entry>An argument is not allowed for an option</entry> |
<entry>An argument is not allowed for an option</entry> |
| Line 98 linkend="usage.parsing" endterm="usage.p |
|
| Line 98 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_BADOPT</constant>, |
<!-- <constant>CFG_ERR_BADOPT</constant>, --> |
| <constant>CFG_ERROR_BADOPT</constant> |
<constant>CFG_ERROR_BADOPT</constant> |
| </entry> |
</entry> |
| <entry>An option's argument could not be parsed</entry> |
<entry>An option's argument could not be parsed</entry> |
| Line 106 linkend="usage.parsing" endterm="usage.p |
|
| Line 106 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_BADQUOTE</constant>, |
<!-- <constant>CFG_ERR_BADQUOTE</constant>, --> |
| <constant>CFG_ERROR_BADQUOTE</constant> |
<constant>CFG_ERROR_BADQUOTE</constant> |
| </entry> |
</entry> |
| <entry>Error in quotations</entry> |
<entry>Error in quotations</entry> |
| Line 114 linkend="usage.parsing" endterm="usage.p |
|
| Line 114 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_BADNUMBER</constant>, |
<!-- <constant>CFG_ERR_BADNUMBER</constant>, --> |
| <constant>CFG_ERROR_BADNUMBER</constant> |
<constant>CFG_ERROR_BADNUMBER</constant> |
| </entry> |
</entry> |
| <entry>An option could not be converted to appropriate numeric type</entry> |
<entry>An option could not be converted to appropriate numeric type</entry> |
| Line 122 linkend="usage.parsing" endterm="usage.p |
|
| Line 122 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_OVERFLOW</constant>, |
<!-- <constant>CFG_ERR_OVERFLOW</constant>, --> |
| <constant>CFG_ERROR_OVERFLOW</constant> |
<constant>CFG_ERROR_OVERFLOW</constant> |
| </entry> |
</entry> |
| <entry>A given number was too big or too small</entry> |
<entry>A given number was too big or too small</entry> |
| Line 130 linkend="usage.parsing" endterm="usage.p |
|
| Line 130 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_MULTI</constant>, |
<!-- <constant>CFG_ERR_MULTI</constant>, --> |
| <constant>CFG_ERROR_MULTI</constant> |
<constant>CFG_ERROR_MULTI</constant> |
| </entry> |
</entry> |
| <entry>Multiple arguments used for single option</entry> |
<entry>Multiple arguments used for single option</entry> |
| Line 138 linkend="usage.parsing" endterm="usage.p |
|
| Line 138 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_NOMEM</constant>, |
<!-- <constant>CFG_ERR_NOMEM</constant>, --> |
| <constant>CFG_ERROR_NOMEM</constant> |
<constant>CFG_ERROR_NOMEM</constant> |
| </entry> |
</entry> |
| <entry>Not enough memory</entry> |
<entry>Not enough memory</entry> |
| Line 146 linkend="usage.parsing" endterm="usage.p |
|
| Line 146 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_STOP_STR</constant>, |
<!-- <constant>CFG_ERR_STOP_STR</constant>, --> |
| <constant>CFG_ERR_STOP_STR_FOUND</constant>, |
<!-- <constant>CFG_ERR_STOP_STR_FOUND</constant>, --> |
| <constant>CFG_ERROR_STOP_STR</constant>, |
<constant>CFG_ERROR_STOP_STR</constant>, |
| <constant>CFG_ERROR_STOP_STR_FOUND</constant> |
<constant>CFG_ERROR_STOP_STR_FOUND</constant> |
| </entry> |
</entry> |
| Line 156 linkend="usage.parsing" endterm="usage.p |
|
| Line 156 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_NOEQUAL</constant>, |
<!-- <constant>CFG_ERR_NOEQUAL</constant>, --> |
| <constant>CFG_ERROR_NOEQUAL</constant> |
<constant>CFG_ERROR_NOEQUAL</constant> |
| </entry> |
</entry> |
| <entry>No equal sign on the line</entry> |
<entry>No equal sign on the line</entry> |
| Line 164 linkend="usage.parsing" endterm="usage.p |
|
| Line 164 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_UNKNOWN</constant>, |
<!-- <constant>CFG_ERR_UNKNOWN</constant>, --> |
| <constant>CFG_ERROR_UNKNOWN</constant> |
<constant>CFG_ERROR_UNKNOWN</constant> |
| </entry> |
</entry> |
| <entry>An unknown option</entry> |
<entry>An unknown option</entry> |
| Line 172 linkend="usage.parsing" endterm="usage.p |
|
| Line 172 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_FILE_NOT_FOUND</constant>, |
<!-- <constant>CFG_ERR_FILE_NOT_FOUND</constant>, --> |
| <constant>CFG_ERROR_FILE_NOT_FOUND</constant> |
<constant>CFG_ERROR_FILE_NOT_FOUND</constant> |
| </entry> |
</entry> |
| <entry>File not found error</entry> |
<entry>File not found error</entry> |
| Line 180 linkend="usage.parsing" endterm="usage.p |
|
| Line 180 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_SEEK_ERROR</constant>, |
<!-- <constant>CFG_ERR_SEEK_ERROR</constant>, --> |
| <constant>CFG_ERROR_SEEK_ERROR</constant> |
<constant>CFG_ERROR_SEEK_ERROR</constant> |
| </entry> |
</entry> |
| <entry>Seek error (fseek() failure)</entry> |
<entry>Seek error (fseek() failure)</entry> |
| Line 188 linkend="usage.parsing" endterm="usage.p |
|
| Line 188 linkend="usage.parsing" endterm="usage.p |
|
| <row> |
<row> |
| |
|
| <entry> |
<entry> |
| <constant>CFG_ERR_INTERNAL</constant>, |
<!-- <constant>CFG_ERR_INTERNAL</constant>, --> |
| <constant>CFG_ERROR_INTERNAL</constant> |
<constant>CFG_ERROR_INTERNAL</constant> |
| </entry> |
</entry> |
| <entry>Internal error</entry> |
<entry>Internal error</entry> |
| Line 198 linkend="usage.parsing" endterm="usage.p |
|
| Line 198 linkend="usage.parsing" endterm="usage.p |
|
| </table> |
</table> |
| |
|
| </para> |
</para> |
| |
<para> |
| |
|
| |
All constants are provided also in its shorter forms. Use |
| |
<constant>_ERR_</constant> substring in constant name instead |
| |
<constant>_ERROR_</constant> substring. So in example you can use |
| |
<constant>CFG_ERR_BADOPT</constant> as a substitution for |
| |
<constant>CFG_ERROR_BADOPT</constant>. |
| |
|
| |
</para> |
| |
|
| </sect1> |
</sect1> |
| |
|