Changeset 5832:f0b38d5ea016 in roaraudio for include/libroar/config.h


Ignore:
Timestamp:
01/06/13 16:15:56 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_libroar_get_path_static() and make use of it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r5828 r5832  
    181181char * roar_libroar_get_path(const char * name, int null_as_universal, const char * product, const char * provider) _LIBROAR_ATTR_USE_RESULT; 
    182182 
     183// This is similar roar_libroar_get_path() with the following diffrences: 
     184// * No product, provider or universal attribute can be passed. 
     185//   The result is as if they were 0, NULL, NULL. 
     186// * The returned buffer is some read-only memory which does not need to be 
     187//   freed. 
     188const char * roar_libroar_get_path_static(const char * name); 
     189 
    183190// list all known paths: 
    184191ssize_t roar_libroar_list_path(const char ** list, size_t len, size_t offset) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL_ALL; 
Note: See TracChangeset for help on using the changeset viewer.