Oyranos  git-devel
Oyranos is a full featured Color Management System
Macros | Enumerations | Functions
oyjl_args.h File Reference

Oyjl API provides a platformindependent C interface for argument handling. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oyjl_args_base.h"

Macros

#define OYJL_QUIET   0x100000
 be silent on error More...
 
#define OYJL_SOURCE_CODE_C   0x01
 C programming language source code. More...
 
#define OYJL_WITH_OYJL_ARGS_C   0x02
 Include oyjl_args.c . Skip libOyjlCore code. More...
 
#define OYJL_NO_DEFAULT_OPTIONS   0x04
 omit automatic options generation for –help, –X export or –verbose More...
 
#define OYJL_SUGGEST_VARIABLE_NAMES   0x08
 automatic suggestion of variable names for missing oyjlOption_s::o and oyjlOption_s::option members More...
 
#define OYJL_WITH_OYJL_ARGS_BASE_API   0x10
 Restrict to oyjl_args_base.h API's. More...
 
#define OYJL_COMPLETION_BASH   0x100
 bash completion source code More...
 

Enumerations

enum  oyjlARGS_EXPORT_e { ,
  oyjlARGS_EXPORT_HELP, oyjlARGS_EXPORT_JSON, oyjlARGS_EXPORT_MAN, oyjlARGS_EXPORT_MARKDOWN,
  oyjlARGS_EXPORT_EXPORT
}
 export type More...
 

Functions

oyjl_val oyjlOptionStringToJson (const char *opts)
 Convert separated string to result JSON. More...
 
void oyjlUiJsonSetDefaults (oyjl_val root, oyjl_val defaults)
 Change Defaults. More...
 
int oyjlArgsRender (int argc, const char **argv, const char *json, const char *commands, const char *output, int debug, oyjlUi_s *ui, int(*callback)(int argc, const char **argv))
 Load renderer for graphical rendering options. More...
 

Detailed Description

Oyjl API provides a platformindependent C interface for argument handling.

oyjl - Args helper C API's

Copyright:
2010-2022 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
MIT http://www.opensource.org/licenses/mit-license.php
Since
2010/09/15