Oyranos Color Management System API - Version 0.9.6
Functions
oyranos.c File Reference

The API implementation. More...

#include "oyranos.h"
#include <sys/stat.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "oyProfile_s.h"
#include "oyranos_config_internal.h"
#include "oyranos_check.h"
#include "oyranos_debug.h"
#include "oyranos_helper.h"
#include "oyranos_internal.h"
#include "oyranos_io.h"
#include "oyranos_sentinel.h"
#include "oyranos_string.h"
#include "oyranos_texts.h"
#include "oyranos_xml.h"

Functions

oyWIDGET_eoyWidgetListGet (oyGROUP_e group, int *count, oyAlloc_f allocate_func)
 all widgets of a group More...
 
oyWIDGET_TYPE_e oyWidgetTitleGet (oyWIDGET_e option, const oyGROUP_e **categories, const char **name, const char **tooltip, int *flags)
 Get a special Options UI strings. More...
 
int oyOptionChoicesGet (oyWIDGET_e option, int *choices, const char ***choices_string_list, int *current)
 Get a Options choices UI strings. More...
 
int oyOptionChoicesGet2 (oyWIDGET_e option, uint32_t flags, int name_type, int *choices, const char ***choices_string_list, int *current)
 see oyOptionChoicesGet() More...
 
void oyOptionChoicesFree (oyWIDGET_e option, const char ***list, int size)
 delete list of choices from a option More...
 
int oySetBehaviour (oyBEHAVIOUR_e type, oySCOPE_e scope, int choice)
 
int oyGetBehaviour (oyBEHAVIOUR_e type)
 
int oyPolicySaveActual (oyGROUP_e group, oySCOPE_e scope, const char *name)
 save a options group to a file More...
 
char * oyPolicyToXML (oyGROUP_e group, int add_header, oyAlloc_f allocate_func)
 
int oyReadXMLPolicy (oyGROUP_e group, const char *xml)
 
int oyPolicySet (const char *policy_file, const char *full_name)
 
int oySetDefaultProfile (oyPROFILE_e type, oySCOPE_e scope, const char *file_name)
 
char * oyGetDefaultProfileName (oyPROFILE_e type, oyAlloc_f allocate_func)
 
char ** oyProfilePathsGet (int *size, oyAlloc_f allocateFunc)
 get Search Path names for ICC Profiles More...
 
char ** oyProfileListGet (const char *colorsig, uint32_t *size, oyAlloc_f allocateFunc)
 get a list of profile filenames More...
 
int oyCheckProfile (const char *filename, const char *colorsig)
 check an file if it is a profile More...
 
int oyCheckProfileMem (const void *mem, size_t size, const char *colorsig)
 check an memory block if it is a profile More...
 
size_t oyGetProfileSize (const char *profilename)
 get the profiles size More...
 
void * oyGetProfileBlock (const char *profilename, size_t *size, oyAlloc_f allocate_func)
 obtain an memory block in the responsibility of the user More...
 
char * oyGetPathFromProfileName (const char *profile_name, oyAlloc_f allocate_func)
 
int oyProfileGetMD5 (void *buffer, size_t size, unsigned char *md5_return)
 calculate a md5 digest beginning after the header offset More...
 
void oyI18NSet (int active, int reserved)
 switch internationalisation of strings on or off More...
 
char * oyGetInstallPath (oyPATH_TYPE_e type, oySCOPE_e scope, oyAlloc_f allocFunc)
 get Path Name for Installation More...
 

Detailed Description

The API implementation.

public Oyranos API's

This file contains functions implementing the Oyranos API.
For the Oyranos API see

Oyranos is an open source Color Management System

Copyright:
2004-2015 (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