path: root/src/lib/ecore
diff options
authorDaniel Juyung Seo <>2013-01-28 15:47:19 +0000
committerDaniel Juyung Seo <>2013-01-28 15:47:19 +0000
commitd3e6ba7b78b6c768820a73020e5b76ed62e35bc0 (patch)
tree85e2957eb1c63cac3423ad8285111663329d301f /src/lib/ecore
parentd2f926a4499416fa566a305216ea4c59dcd7362c (diff)
ecore Ecore_Getopt.h: use one liner for function declaration like other apis.
SVN revision: 83383
Diffstat (limited to 'src/lib/ecore')
1 files changed, 5 insertions, 23 deletions
diff --git a/src/lib/ecore/Ecore_Getopt.h b/src/lib/ecore/Ecore_Getopt.h
index d4ce3aa709..2cc73ad161 100644
--- a/src/lib/ecore/Ecore_Getopt.h
+++ b/src/lib/ecore/Ecore_Getopt.h
@@ -405,33 +405,15 @@ struct _Ecore_Getopt
405#define ECORE_GETOPT_VALUE_LIST(val) {.listp = &(val)} 405#define ECORE_GETOPT_VALUE_LIST(val) {.listp = &(val)}
406#define ECORE_GETOPT_VALUE_NONE {.ptrp = NULL} 406#define ECORE_GETOPT_VALUE_NONE {.ptrp = NULL}
407 407
408EAPI void 408EAPI void ecore_getopt_help(FILE *fp, const Ecore_Getopt *info);
409ecore_getopt_help(FILE *fp, 409EAPI Eina_Bool ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser);
410 const Ecore_Getopt *info); 410EAPI int ecore_getopt_parse(const Ecore_Getopt *parser, Ecore_Getopt_Value *values, int argc, char **argv);
412EAPI Eina_Bool
413 ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser);
414EAPI int
415 ecore_getopt_parse(const Ecore_Getopt *parser,
416 Ecore_Getopt_Value *values,
417 int argc,
418 char **argv);
419 411
420EAPI Eina_List *ecore_getopt_list_free(Eina_List *list); 412EAPI Eina_List *ecore_getopt_list_free(Eina_List *list);
421 413
422/* helper functions to be used with ECORE_GETOPT_CALLBACK_*() */ 414/* helper functions to be used with ECORE_GETOPT_CALLBACK_*() */
423EAPI Eina_Bool 415EAPI Eina_Bool ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, const char *str, void *data, Ecore_Getopt_Value *storage);
424ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser, 416EAPI Eina_Bool ecore_getopt_callback_size_parse(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, const char *str, void *data, Ecore_Getopt_Value *storage);
425 const Ecore_Getopt_Desc *desc,
426 const char *str,
427 void *data,
428 Ecore_Getopt_Value *storage);
429EAPI Eina_Bool
430ecore_getopt_callback_size_parse(const Ecore_Getopt *parser,
431 const Ecore_Getopt_Desc *desc,
432 const char *str,
433 void *data,
434 Ecore_Getopt_Value *storage);
435 417
436#ifdef __cplusplus 418#ifdef __cplusplus
437} 419}