Changeset 5747:17e1c9dacc8f in roaraudio for include


Ignore:
Timestamp:
11/14/12 04:32:25 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Provide a more common interface for path config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r5465 r5747  
    153153#define roar_libroar_iswarn(cfg) (((cfg) == NULL ? roar_libroar_get_config_ptr() : (cfg))->nowarncounter ? 0 : 1) 
    154154 
     155// get a buffer to a system local path (prefix). 
     156// name is the symbolic name of the path, e.g. "prefix-lib". 
     157// null_as_universal tells of NULL is considered as "universal". 
     158// if not set NULL is considered 'do not add product path, give root prefix'. 
     159// product is the name of the product in standard "product <id/vendor>" format. 
     160// provider is the "<id/vendor>" format. If NULL this is ignored. 
     161// Returns buffer which needs to be freed with roar_mm_free(). 
     162// Not all paths support product/provider part. If not supported they are ignored. 
     163char * roar_libroar_get_path(const char * name, int null_as_universal, const char * product, const char * provider); 
     164 
    155165#endif 
    156166 
Note: See TracChangeset for help on using the changeset viewer.