Oyranos Color Management System API - Version 0.9.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
oyranos_core.h File Reference

public Oyranos API's More...

#include <stdarg.h>
#include "oyranos_version.h"
#include "oyranos_types.h"

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 oyVersion (int type)
 give the compiled in library version More...
 
char * oyVersionString (int type, oyAlloc_f allocateFunc)
 give the configure options for Oyranos More...
 
char * oyDescriptionToHTML (int group, const char **options, oyAlloc_f allocateFunc)
 write a HTML description page 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...
 

Variables

int oy_debug
 Set debug level. More...
 
const char * oy_domain_codeset
 codeset for Oyranos More...
 

Detailed Description

public Oyranos API's

Oyranos is an open source Color Management System

Copyright:
2004-2011 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD http://www.opensource.org/licenses/BSD-3-Clause
Since
2004/11/25

Function Documentation

char* oyDescriptionToHTML ( int  group,
const char **  options,
oyAlloc_f  allocateFunc 
)

write a HTML description page

Function oyDescriptionToHTML

const char * opts[] = {"add_html_header","1",
"add_oyranos_title","1",
"add_oyranos_copyright","1",
NULL};
char * html = oyDescriptionToHTML( oyGROUP_ALL, opts, malloc );
Parameters
groupcurrently only oyGROUP_ALL
optionszero terminated paired key/value strings
  • "add_html_header":"1" - adds a HTML header
  • "bgcolor":"#cccccc" - background color
  • "title":"myPage" - HTML page title
allocate_functhe user allocator
Returns
the string
Version
Oyranos: 0.3.2
Since
2011/08/09 (Oyranos: 0.3.2)
Date
2011/08/09

References oyGetHtmlHeader(), oyGROUP_ALL, oyGROUP_BEHAVIOUR_EFFECT, oyGROUP_BEHAVIOUR_MISSMATCH, oyGROUP_BEHAVIOUR_MIXED_MODE_DOCUMENTS, oyGROUP_BEHAVIOUR_PROOF, oyGROUP_BEHAVIOUR_RENDERING, oyGROUP_DEFAULT_PROFILES, OYRANOS_DEVEL_YEAR, OYRANOS_VERSION_NAME, oyWIDGET_ACTION_OPEN_MISMATCH_CMYK, oyWIDGET_ACTION_UNTAGGED_ASSIGN, oyWIDGET_BEHAVIOUR_END, oyWIDGET_DEFAULT_PROFILE_END, oyWIDGET_MIXED_MOD_DOCUMENTS_PRINT, oyWIDGET_MIXED_MOD_DOCUMENTS_SCREEN, oyWIDGET_RENDERING_INTENT, oyWIDGET_RENDERING_INTENT_PROOF, and oyWriteOptionToHTML_().

Variable Documentation

int oy_debug