mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
3f9bd38b6f
Signed-off-by: Hector Martin <marcan@marcan.st>
17 lines
491 B
C
17 lines
491 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef DCP_AFK_H
|
|
#define DCP_AFK_H
|
|
|
|
#include "rtkit.h"
|
|
|
|
typedef struct afk_epic_ep afk_epic_ep_t;
|
|
|
|
afk_epic_ep_t *afk_epic_init(rtkit_dev_t *rtkit, int endpoint);
|
|
int afk_epic_shutdown(afk_epic_ep_t *epic);
|
|
|
|
int afk_epic_start_interface(afk_epic_ep_t *epic, char *name, size_t insize, size_t outsize);
|
|
int afk_epic_command(afk_epic_ep_t *epic, int channel, u16 code, void *txbuf, size_t txsize,
|
|
void *rxbuf, size_t *rxsize);
|
|
|
|
#endif
|