summaryrefslogtreecommitdiffstats
path: root/socketif.c
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-06-14 11:44:45 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commitacb229813f5845e8b38bea56870211319887f3b4 (patch)
tree207d1aaffe0e2a0444e035d02311a326e60bc94a /socketif.c
parent9dc64e1e291d6518da0a918105c5bf7b1c603dd5 (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 'socketif.c')
-rw-r--r--socketif.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/socketif.c b/socketif.c
index dd29752..8c37369 100644
--- a/socketif.c
+++ b/socketif.c
@@ -21,27 +21,27 @@
*/
#include "routerif.h"
-struct pa_routerif {
+struct agl_routerif {
int sock;
};
-pa_routerif *pa_routerif_init (struct userdata *u,
- const char *socktyp,
- const char *addr,
- const char *port)
+agl_routerif *agl_routerif_init (struct userdata *u,
+ const char *socktyp,
+ const char *addr,
+ const char *port)
{
pa_module *m = u->module;
- pa_routerif *routerif = NULL;
+ agl_routerif *routerif = NULL;
- routerif = pa_xnew0 (pa_routerif, 1);
+ routerif = pa_xnew0 (agl_routerif, 1);
routerif->sock = -1;
return routerif;
}
-void pa_routerif_done (struct userdata *u)
+void agl_routerif_done (struct userdata *u)
{
- pa_routerif *routerif;
+ agl_routerif *routerif;
if (u && (routerif = u->routerif)) {
if (routerif->sock >= 0)