1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2010. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | * |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #ifndef __TEST_DRIVER_h |
---|
13 | #define __TEST_DRIVER_h |
---|
14 | |
---|
15 | #ifdef __cplusplus |
---|
16 | extern "C" { |
---|
17 | #endif |
---|
18 | |
---|
19 | #define TEST_DRIVER_TABLE_ENTRY \ |
---|
20 | { testDriver_initialize, testDriver_open, testDriver_close, testDriver_read, \ |
---|
21 | testDriver_write, testDriver_control } |
---|
22 | |
---|
23 | rtems_device_driver testDriver_initialize( |
---|
24 | rtems_device_major_number, |
---|
25 | rtems_device_minor_number, |
---|
26 | void * |
---|
27 | ); |
---|
28 | |
---|
29 | rtems_device_driver testDriver_open( |
---|
30 | rtems_device_major_number, |
---|
31 | rtems_device_minor_number, |
---|
32 | void * |
---|
33 | ); |
---|
34 | |
---|
35 | rtems_device_driver testDriver_close( |
---|
36 | rtems_device_major_number, |
---|
37 | rtems_device_minor_number, |
---|
38 | void * |
---|
39 | ); |
---|
40 | |
---|
41 | rtems_device_driver testDriver_read( |
---|
42 | rtems_device_major_number, |
---|
43 | rtems_device_minor_number, |
---|
44 | void * |
---|
45 | ); |
---|
46 | |
---|
47 | rtems_device_driver testDriver_write( |
---|
48 | rtems_device_major_number, |
---|
49 | rtems_device_minor_number, |
---|
50 | void * |
---|
51 | ); |
---|
52 | |
---|
53 | rtems_device_driver testDriver_control( |
---|
54 | rtems_device_major_number, |
---|
55 | rtems_device_minor_number, |
---|
56 | void * |
---|
57 | ); |
---|
58 | |
---|
59 | #ifdef __cplusplus |
---|
60 | } |
---|
61 | #endif |
---|
62 | |
---|
63 | #endif |
---|
64 | /* end of include file */ |
---|