[ifxmips]
[openwrt/svn-archive/archive.git] / package / lqtapi / src / mps / vmmc-port.h
1 #ifndef __VMMC_PORT_H__
2 #define __VMMC_PORT_H__
3
4 #include "vmmc-alm.h"
5 #include "vmmc-sig.h"
6
7 void vmmc_port_free(struct vmmc *vmmc, struct vmmc_port *port);
8
9 int vmmc_port_ring(struct tapi_device *tdev, struct tapi_port *port, bool ring);
10 int vmmc_port_send_dtmf_event(struct tapi_device *tdev,
11 struct tapi_port *port, struct tapi_dtmf_event *event);
12 struct vmmc_port *vmmc_port_init(struct vmmc *vmmc, struct vmmc_port *port,
13 struct tapi_port *tport, unsigned int id);
14
15 struct vmmc_port
16 {
17 struct vmmc_alm alm;
18 struct vmmc_sig sig;
19 unsigned int sig_pin;
20 };
21
22 #endif