Oyranos Color Management System API
Modules | Functions
Miscellaneous

Miscellaneous stuff. More...

Collaboration diagram for Miscellaneous:

Modules

 Generic object system
 Basic objects to make all higher level object types happy.
 
 Values Handling
 Manipulate and abstract values.
 

Functions

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 oyVersion (int type)
 give the compiled in library version More...
 
char * oyVersionString (int type, oyAlloc_f allocateFunc)
 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...
 
void oyI18NSet (int active, int reserved)
 switch internationalisation of strings on or off More...
 

Detailed Description

Miscellaneous stuff.

Function Documentation

◆ oyCountry()

const char* oyCountry ( void  )

get country code

Since
Oyranos: version 0.1.8
Date
26 november 2007 (API 0.1.8)

Referenced by oyProfileTag_s::oyProfileTag_GetText().

◆ oyI18Nreset()

void oyI18Nreset ( void  )

reset i18n language and country variables

Version
Oyranos: 0.1.10
Since
2009/01/05 (Oyranos: 0.1.10)
Date
2009/01/05

◆ oyI18NSet()

void oyI18NSet ( int  active,
int  reserved 
)

switch internationalisation of strings on or off

Parameters
activebool
reservedfor future use

◆ oyLang()

const char* oyLang ( void  )

get LANG code/variable

Since
Oyranos: version 0.1.8
Date
26 november 2007 (API 0.1.8)

◆ oyLanguage()

const char* oyLanguage ( void  )

get language code

Since
Oyranos: version 0.1.8
Date
26 november 2007 (API 0.1.8)

Referenced by oyProfileTag_s::oyProfileTag_GetText().

◆ oyValueInt32()

icS15Fixed16Number oyValueInt32 ( icS15Fixed16Number  val)

convert to network byte order

◆ oyValueUInt16()

icUInt16Number oyValueUInt16 ( icUInt16Number  val)

convert to network byte order on little endian machines

◆ oyValueUInt32()

icUInt32Number oyValueUInt32 ( icUInt32Number  val)

◆ oyValueUInt64()

unsigned long oyValueUInt64 ( icUInt64Number  val)

convert to network byte order

◆ oyVersion()

int oyVersion ( int  type)

give the compiled in library version

Parameters
[in]type0 - Oyranos API 1 - start month 2 - start year 3 - development last month 4 - development last year
Returns
OYRANOS_VERSION at library compile time

Referenced by oyVersionString().

◆ oyVersionString()

char* oyVersionString ( int  type,
oyAlloc_f  allocateFunc 
)

give the configure options for Oyranos

Parameters
[in]type
  • 1 OYRANOS_VERSION_NAME;
  • 2 git master hash, deprecated
  • 3 OYRANOS_CONFIG_DATE, deprecated
  • 4 development period
allocateFuncuser allocator, e.g. malloc
Returns
Oyranos configure output
Since
Oyranos: version 0.1.8
Date
18 december 2007 (API 0.1.8)

References oyVersion().