return TRUE;
}
-const char* pa_namereg_make_valid_name(const char *name) {
+char* pa_namereg_make_valid_name(const char *name) {
const char *a;
char *b, *n;
return NULL;
if ((type == PA_NAMEREG_SINK || type == PA_NAMEREG_SOURCE) &&
- !pa_namereg_is_valid_name(name) ) {
+ !pa_namereg_is_valid_name(name)) {
if (fail)
return NULL;
const char *pa_namereg_get_default_source_name(pa_core *c);
pa_bool_t pa_namereg_is_valid_name(const char *name);
-const char* pa_namereg_make_valid_name(const char *name);
+char* pa_namereg_make_valid_name(const char *name);
#endif