summaryrefslogtreecommitdiffstats
path: root/src/ahl-policy.h
diff options
context:
space:
mode:
authorTai Vuong <tvuong@audiokinetic.com>2017-11-02 15:34:52 -0400
committerTai Vuong <tvuong@audiokinetic.com>2017-11-02 15:34:52 -0400
commite92aade201ec131c3eb7430305f60a0a4c9c44c1 (patch)
tree93830ab0c4e0a10244ceab0321832bf42ff43faa /src/ahl-policy.h
parentd0a169abb8d3069f311bab522b2c43bc295ed36e (diff)
code fix after review and before merge
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