File: deviwave.h

package info (click to toggle)
ocp 1%3A3.1.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,280 kB
  • sloc: ansic: 358,207; cpp: 71,672; javascript: 12,429; makefile: 6,916; sh: 4,432; java: 1,331; tcl: 1,040; xml: 841; perl: 285; ruby: 126; python: 15
file content (20 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __DEVIWAVE_H
#define __DEVIWAVE_H

struct mcpDevAPI_t;
struct configAPI_t;
struct mixAPI_t;

struct mcpDriver_t
{
	char name[32];        /* includes the NULL termination */
	char description[64]; /* includes the NULL termination */

	int                       (*Detect) (const struct mcpDriver_t *driver); /* 0 = driver not functional, 1 = driver is functional */
	const struct mcpDevAPI_t *(*Open)   (const struct mcpDriver_t *driver, const struct configAPI_t *config, const struct mixAPI_t *mixAPI);
	void                      (*Close)  (const struct mcpDriver_t *driver);
};
void mcpRegisterDriver (const struct mcpDriver_t *driver);
void mcpUnregisterDriver(const struct mcpDriver_t *driver);

#endif