Functions | |
int | oyPathsCount (void) |
char * | oyPathName (int number, oyAllocFunc_t allocate_func) |
int | oyPathAdd (const char *pathname) |
void | oyPathRemove (const char *pathname) |
char * | oyGetPathFromProfileName (const char *profile_name, oyAllocFunc_t allocate_func) |
Paths include operating system standard paths. For linux these are:
char* oyGetPathFromProfileName | ( | const char * | profile_name, | |
oyAllocFunc_t | allocate_func | |||
) |
Find out where in the Oyranos search path the specified profile resides.
profile_name | the filename find in the Oyranos search path | |
allocate_func | user provided function for allocating the string memory |
int oyPathAdd | ( | const char * | pathname | ) |
Add a path name statically to allready configured ones.
pathname | new pathname to use by Oyranos for profile search |
char* oyPathName | ( | int | number, | |
oyAllocFunc_t | allocate_func | |||
) |
Get the path name at a certain position in the Oyranos search path list.
number | number in list - dont rely on through sessions | |
allocate_func | user provided function for allocating the string memory |
void oyPathRemove | ( | const char * | pathname | ) |
Remove a path name statically from the list of configured ones.
pathname | the pathname to remove from the Oyranos search path list |
int oyPathsCount | ( | void | ) |
Determin the count of configured search paths.