summaryrefslogtreecommitdiffstats
path: root/src/pdispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdispatch.h')
-rw-r--r--src/pdispatch.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pdispatch.h b/src/pdispatch.h
index 466da9a4..73686700 100644
--- a/src/pdispatch.h
+++ b/src/pdispatch.h
@@ -6,17 +6,17 @@
#include "packet.h"
#include "mainloop-api.h"
-struct pdispatch;
+struct pa_pdispatch;
-struct pdispatch_command {
- int (*proc)(struct pdispatch *pd, uint32_t command, uint32_t tag, struct tagstruct *t, void *userdata);
+struct pa_pdispatch_command {
+ int (*proc)(struct pa_pdispatch *pd, uint32_t command, uint32_t tag, struct pa_tagstruct *t, void *userdata);
};
-struct pdispatch* pdispatch_new(struct pa_mainloop_api *m, const struct pdispatch_command*table, unsigned entries);
-void pdispatch_free(struct pdispatch *pd);
+struct pa_pdispatch* pa_pdispatch_new(struct pa_mainloop_api *m, const struct pa_pdispatch_command*table, unsigned entries);
+void pa_pdispatch_free(struct pa_pdispatch *pd);
-int pdispatch_run(struct pdispatch *pd, struct packet*p, void *userdata);
+int pa_pdispatch_run(struct pa_pdispatch *pd, struct pa_packet*p, void *userdata);
-void pdispatch_register_reply(struct pdispatch *pd, uint32_t tag, int timeout, int (*cb)(struct pdispatch *pd, uint32_t command, uint32_t tag, struct tagstruct *t, void *userdata), void *userdata);
+void pa_pdispatch_register_reply(struct pa_pdispatch *pd, uint32_t tag, int timeout, int (*cb)(struct pa_pdispatch *pd, uint32_t command, uint32_t tag, struct pa_tagstruct *t, void *userdata), void *userdata);
#endif