diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-06-14 11:44:45 +0200 |
---|---|---|
committer | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-10-11 17:09:07 +0200 |
commit | acb229813f5845e8b38bea56870211319887f3b4 (patch) | |
tree | 207d1aaffe0e2a0444e035d02311a326e60bc94a /config.c | |
parent | 9dc64e1e291d6518da0a918105c5bf7b1c603dd5 (diff) |
Rename all internal pa_ definitions to agl_
The plugin often uses "pa_" for its internal structures
and functions, which is misleading because this prefix is
also used by PulseAudio itself. Thus, reading the code can
be confusing.
Rename everything to "agl_".
Change-Id: Iadd03daf528ec0cbed1cb526aeb3bada757a211f
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,7 +21,7 @@ */ #include "config.h" -const char *pa_config_file_get_path (const char *dir, const char *file, char *buf, size_t len) +const char *agl_config_file_get_path (const char *dir, const char *file, char *buf, size_t len) { pa_assert (file); pa_assert (buf); @@ -32,7 +32,7 @@ const char *pa_config_file_get_path (const char *dir, const char *file, char *bu return buf; } -bool pa_config_parse_file (struct userdata *u, const char *path) +bool agl_config_parse_file (struct userdata *u, const char *path) { bool success; @@ -42,7 +42,7 @@ bool pa_config_parse_file (struct userdata *u, const char *path) return false; else { pa_log_info ("parsing configuration file '%s'", path); - success = pa_config_dofile (u, path); + success = agl_config_dofile (u, path); } if (!success) { @@ -53,7 +53,7 @@ bool pa_config_parse_file (struct userdata *u, const char *path) return success; } -bool pa_config_dofile (struct userdata *u, const char *path) +bool agl_config_dofile (struct userdata *u, const char *path) { /* TODO */ return false; |