Default Profiles
Description: C source code API documentation for the Oyranos project.
Keywords: Oyranos,Color Management,Color Management,ICC,CMS,C,doxygen,API,documentation

| Oyranos Color Management System API - Version 0.9.6

Functions
Default Profiles
Color » Defaults Handling

Configure default profiles. More...

Collaboration diagram for Default Profiles:

## Functions
int | oySetDefaultProfile (oyPROFILE_e type, oySCOPE_e scope, const char *file_name)
char * | oyGetDefaultProfileName (oyPROFILE_e type, oyAlloc_f allocate_func)

## Detailed Description

Configure default profiles.

See also
  Path Names

## Function Documentation

## ◆ oyGetDefaultProfileName()

char* oyGetDefaultProfileName | ( | oyPROFILE_e | type,
|  | oyAlloc_f | allocate_func
| ) |  |

Gets a default profile filename.

Parameters

  type | the kind of default profile
  allocate_func | the allocation function needed to reserve memory for the filename string

Returns
  filename

## ◆ oySetDefaultProfile()

int oySetDefaultProfile | ( | oyPROFILE_e | type,
|  | oySCOPE_e | scope,
|  | const char * | file_name
| ) |  |

Sets a profile, which is available in the current configured path.

Parameters

  type | the kind of default profile
  file_name | the profile which shall become the default for the above specified profile type

Returns
  success