summaryrefslogtreecommitdiffstats
path: root/AudioLogic/AudioLogicLib.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-08 23:56:40 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-08 23:56:40 +0100
commita237499e8c2e2a045ae3eea0b9a4aaac12032e81 (patch)
tree4971c10f24585fa04f0a414cb319d3b0554c8a85 /AudioLogic/AudioLogicLib.h
parent1393b5d318e22dbd1625692847a51c27932fd442 (diff)
Late Evening Commit
Diffstat (limited to 'AudioLogic/AudioLogicLib.h')
-rw-r--r--AudioLogic/AudioLogicLib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/AudioLogic/AudioLogicLib.h b/AudioLogic/AudioLogicLib.h
index 21513fd..8530360 100644
--- a/AudioLogic/AudioLogicLib.h
+++ b/AudioLogic/AudioLogicLib.h
@@ -40,10 +40,24 @@ typedef int BOOL;
// import from AlsaAfbBinding
extern const struct afb_binding_interface *afbIface;
+
+// This structure hold private data for a given client of binding
+typedef struct {
+
+ int cardid;
+ const char *devid;
+ const char *shortname;
+ const char *longname;
+ json_object *queryurl;
+} AudioLogicCtxT;
+
// import from AlsaAfbMapping
PUBLIC void audioLogicSetVol (struct afb_req request);
PUBLIC void audioLogicGetVol(struct afb_req request);
PUBLIC void audioLogicMonitor(struct afb_req request);
+PUBLIC void audioLogicOpen(struct afb_req request);
+PUBLIC void audioLogicClose(struct afb_req request);
+PUBLIC void audioLogicSubscribe(struct afb_req request);
PUBLIC int audioLogicInit (struct afb_service service);
#endif /* AUDIOLIBMAPPING_H */