openssl: update to 1.0.0c
[openwrt.git] / package / libtapi / src / tapi-device.h
1 #ifndef __TAPI_DEVICE_H__
2 #define __TAPI_DEVICE_H__
3
4 struct tapi_device {
5 int control_fd;
6 int stream_fd;
7 struct tapi_port *ports;
8 char stream_path[100];
9
10 unsigned int id;
11
12 unsigned int num_ports;
13 };
14
15 struct tapi_endpoint;
16
17 int tapi_device_open(unsigned int id, struct tapi_device *dev);
18
19 int tapi_link_alloc(struct tapi_device *dev, unsigned int ep1, unsigned int ep2);
20 int tapi_link_free(struct tapi_device *dev, unsigned int link);
21 int tapi_link_enable(struct tapi_device *dev, unsigned int link);
22 int tapi_link_disable(struct tapi_device *dev, unsigned int link);
23 int tapi_sync(struct tapi_device *dev);
24
25 #endif
This page took 0.047681 seconds and 5 git commands to generate.