projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23bcb03
)
Added defines for yaz_options return values.
author
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 16 Mar 2008 11:32:56 +0000
(12:32 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 16 Mar 2008 11:32:56 +0000
(12:32 +0100)
include/yaz/options.h
patch
|
blob
|
history
diff --git
a/include/yaz/options.h
b/include/yaz/options.h
index
ccf6d9c
..
6fd9cd3
100644
(file)
--- a/
include/yaz/options.h
+++ b/
include/yaz/options.h
@@
-37,6
+37,7
@@
YAZ_BEGIN_CDECL
+
/** \brief parser command-line options
\arg desc command argument description (allowed options)
\arg argv main argv
@@
-58,6
+59,9
@@
YAZ_BEGIN_CDECL
*/
YAZ_EXPORT int options (const char *desc, char **argv, int argc, char **arg);
+#define YAZ_OPTIONS_ERROR (-1)
+#define YAZ_OPTIONS_EOF (-2)
+
YAZ_END_CDECL
#endif