![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
public Oyranos API's More...
#include "oyranos_core.h"
#include <sys/stat.h>
#include "oyranos_config_internal.h"
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oyranos_debug.h"
#include "oyranos_helper.h"
#include "oyranos_internal.h"
#include "oyranos_icc.h"
#include "oyranos_io.h"
#include "oyranos_sentinel.h"
#include "oyranos_string.h"
#include "oyranos_texts.h"
#include "oyStruct_s.h"
#include "oyObject_s_.h"
#include "oyName_s_.h"
#include "oyArray2d_s_.h"
#include "oyRectangle_s_.h"
#include "oyOption_s_.h"
#include "config.log.h"
#include "oyranos_git_version.h"
Functions | |
int | oyObject_GetId (oyObject_s object) |
get the identification number of a object More... | |
OYAPI const char *OYEXPORT | oyObject_Show (oyObject_s object) |
Print object informations. More... | |
int | oyMessageFormat (char **message_text, int code, const void *context_object, 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) |
void | oyObjectDebugMessage_ (void *object, const char *function_name OY_UNUSED, const char *struct_name) |
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 **string, oyAlloc_f alloc, oyDeAlloc_f deAlloc, 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... | |
int | oyVersion (int type) |
give the compiled in library version More... | |
const char * | oyVersionString (int type) |
give the configure options for Oyranos More... | |
icUInt16Number | oyValueUInt16 (icUInt16Number val) |
convert to network byte order on little endian machines More... | |
icUInt32Number | oyValueUInt32 (icUInt32Number val) |
convert to network byte order More... | |
icS15Fixed16Number | oyValueInt32 (icS15Fixed16Number val) |
convert to network byte order More... | |
unsigned long | oyValueUInt64 (icUInt64Number val) |
convert to network byte order More... | |
uint16_t | oyByteSwapUInt16 (uint16_t v) |
swap byte order More... | |
uint32_t | oyByteSwapUInt32 (uint32_t v) |
swap byte order 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
void oyObjectDebugMessage_ | ( | void * | object, |
const char *function_name | OY_UNUSED, | ||
const char * | struct_name | ||
) |
Function oyObjectDebugMessage_