source: rtems/c/src/tests/support/stubdr/stubdrv.h @ 1da9f4bd

4.104.114.84.95
Last change on this file since 1da9f4bd was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*  stubdrv.h
2 *
3 *  This file describes the Stub Driver for all boards.
4 *
5 *  COPYRIGHT (c) 1989-1998.
6 *  On-Line Applications Research Corporation (OAR).
7 *  Copyright assigned to U.S. Government, 1994.
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef __STUB_DRIVER_h
17#define __STUB_DRIVER_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#define STUB_DRIVER_TABLE_ENTRY \
24  { Stub_initialize, NULL, NULL, NULL, NULL, NULL }
25
26#define STUB_SUCCESSFUL RTEMS_SUCCESSFUL
27
28rtems_device_driver Stub_initialize(
29  rtems_device_major_number,
30  rtems_device_minor_number,
31  void *
32);
33
34rtems_device_driver Stub_open(
35  rtems_device_major_number,
36  rtems_device_minor_number,
37  void *
38);
39
40rtems_device_driver Stub_close(
41  rtems_device_major_number,
42  rtems_device_minor_number,
43  void *
44);
45
46rtems_device_driver Stub_read(
47  rtems_device_major_number,
48  rtems_device_minor_number,
49  void *
50);
51
52rtems_device_driver Stub_write(
53  rtems_device_major_number,
54  rtems_device_minor_number,
55  void *
56);
57
58rtems_device_driver Stub_control(
59  rtems_device_major_number,
60  rtems_device_minor_number,
61  void *
62);
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif
69/* end of include file */
Note: See TracBrowser for help on using the repository browser.