![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
public Oyranos API's More...
Enumerations | |
enum | oyNAME_e { oyNAME_NAME, oyNAME_NICK, oyNAME_DESCRIPTION } |
Information levelMessages consist of text, which contains information depending on the purpose. The information provider obtains with this enum a brief request, what to put into a information request. More... | |
Functions | |
int | oyMessageFormat (char **message_text, int code, const void *context, const char *string) |
default function to form a message string More... | |
int | oyMessageFunc (int code, const void *context_object, const char *format,...) |
default message function to console More... | |
int | oyMessageFuncSet (oyMessage_f message_func) |
int | oyVersion (int type) |
give the compiled in library version More... | |
const char * | oyVersionString (int type) |
give the configure options for Oyranos More... | |
void | oyI18NSet (int active, int reserved) |
switch internationalisation of strings on or off More... | |
const char * | oyLanguage (void) |
get language code More... | |
const char * | oyCountry (void) |
get country code More... | |
const char * | oyLang (void) |
get LANG code/variable More... | |
void | oyI18Nreset (void) |
reset i18n language and country variables More... | |
int | oyStringAddPrintf (char **text, oyAlloc_f allocateFunc, oyDeAlloc_f deallocFunc, const char *format,...) |
Append a string and handle memory. More... | |
char ** | oyStringSplit (const char *text, const char delimiter, int *count, oyAlloc_f allocateFunc) |
Create a array of strings. More... | |
void | oyStringListRelease (char ***l, int size, oyDeAlloc_f deallocFunc) |
Release a array of strings. More... | |
char * | oyStringCopy (const char *text, oyAlloc_f allocateFunc) |
Copy with allocator. More... | |
Variables | |
int | oy_debug |
Set debug level. More... | |
int | oy_debug_objects |
Activate object debugging. More... | |
const char * | oy_domain_codeset |
codeset for Oyranos More... | |
public Oyranos API's
Oyranos is an open source Color Management System
int oyMessageFormat | ( | char ** | message_text, |
int | code, | ||
const void * | context_object, | ||
const char * | string | ||
) |
default function to form a message string
Function oyMessageFormat This default message function is used as a message formatter. The resulting string can be placed anywhere, e.g. in a GUI.
int oyMessageFunc | ( | int | code, |
const void * | context_object, | ||
const char * | format, | ||
... | |||
) |
default message function to console
Function oyMessageFunc The default message function is used as a message printer to the console from library start.
code | a message code understood be your message handler or oyMSG_e |
context_object | a oyStruct_s is expected from Oyranos |
format | the text format string for following args |
... | the variable args fitting to format |
int oyMessageFuncSet | ( | oyMessage_f | message_func | ) |
Function oyMessageFuncSet
int oy_debug |
Set debug level.
Maps to OY_DEBUG environment variable. The usefull value range is 1-20.
Referenced by oyFilterPlug_ImageRootRun(), oyObject_UnRef(), oyPixelAccess_s::oyPixelAccess_SynchroniseROI(), and oyPointer_s::oyPointer_LookUpFromObject().
int oy_debug_objects |
Activate object debugging.
select object id
Maps to OY_DEBUG_OBJECTS environment variable.
Referenced by oyObject_GetId(), oyObject_UnRef(), and oyObjectTreePrint().