RTEMS  5.1
milkymist_versions.h
Go to the documentation of this file.
1 
7 /* milkymist_versions.h
8  *
9  * Milkymist versioning driver for RTEMS
10  *
11  * The license and distribution terms for this file may be
12  * found in the file LICENSE in this distribution or at
13  * http://www.rtems.org/license/LICENSE.
14  *
15  * COPYRIGHT (c) 2010 Sebastien Bourdeauducq
16  */
17 
25 #ifndef __MILKYMIST_VERSIONS_H_
26 #define __MILKYMIST_VERSIONS_H_
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 rtems_device_driver versions_initialize(
33  rtems_device_major_number major,
34  rtems_device_minor_number minor,
35  void *arg
36 );
37 
38 rtems_device_driver versions_read(
39  rtems_device_major_number major,
40  rtems_device_minor_number minor,
41  void *arg
42 );
43 
44 #define VERSIONS_DRIVER_TABLE_ENTRY {versions_initialize, \
45 NULL, NULL, versions_read, NULL, NULL}
46 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* __MILKYMIST_VERSIONS_H_ */
rtems_status_code
Classic API Status.
Definition: status.h:43