mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-24 15:43:11 +00:00
afk.epic: Expose ep function to call send_cmd()
Signed-off-by: Eileen Yoon <eyn@gmx.com>
This commit is contained in:
parent
48a92026cd
commit
5c5d3966f3
1 changed files with 3 additions and 0 deletions
|
@ -388,6 +388,9 @@ class EPICEndpoint(AFKRingBufEndpoint):
|
|||
def send_notify(self, chan, call, **kwargs):
|
||||
return self.serv_map[chan].send_notify(call.TYPE, call.ARGS.build(call.args), **kwargs)
|
||||
|
||||
def send_cmd(self, chan, type, data, retlen=None, **kwargs):
|
||||
return self.serv_map[chan].send_cmd(type, data, retlen, **kwargs)
|
||||
|
||||
def send_epicv4(self, chan, ptype, category, type, seq, data, inline_len=0, **kwargs):
|
||||
hdr = Container()
|
||||
hdr.channel = chan
|
||||
|
|
Loading…
Reference in a new issue