summaryrefslogtreecommitdiffstats
path: root/src/ahl-policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ahl-policy.h')
-rw-r--r--src/ahl-policy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ahl-policy.h b/src/ahl-policy.h
index b46bbb9..0200973 100644
--- a/src/ahl-policy.h
+++ b/src/ahl-policy.h
@@ -16,6 +16,7 @@
#ifndef AHL_POLICY_INCLUDE
#define AHL_POLICY_INCLUDE
+
#include "ahl-policy-utils.h"
#ifndef AHL_DISCONNECT_POLICY
@@ -27,6 +28,8 @@
#define AHL_POLICY_UNDEFINED_HALNAME "UNDEFINED"
#define AHL_POLICY_UNDEFINED_DISPLAYNAME "DeviceNotFound"
+#define AHL_POLICY_ALSA_API "alsacore"
+
int Policy_Endpoint_Init(json_object *pInPolicyEndpointJ,json_object **pOutPolicyEndpointJ);
int Policy_OpenStream(json_object *pStreamJ);
int Policy_CloseStream(json_object *pStreamJ);
@@ -39,6 +42,8 @@ int Policy_Init();
void Policy_Term();
void Policy_OnEvent(const char *evtname, json_object *eventJ);
+// TODO: To be replaced by AGL events once policy is isolated in its own binding
extern void audiohlapi_raise_event(json_object * pEventDataJ);
+
#endif // AHL_DISCONNECT_POLICY
#endif // AHL_POLICY_INCLUDE \ No newline at end of file