Previous 15994 Revisions Next

r2066 Saturday 22nd March, 2008 at 18:05:40 UTC by Nathan Woods
Minor changes to match core naming conventions
[src/mess]device.c

src/mess/device.c
r2065r2066
1616
1717
1818
19/*************************************
20 *
21 *   Names and shortnames
22 *
23 *************************************/
19/***************************************************************************
20    TYPE DEFINITIONS
21***************************************************************************/
2422
2523struct Devices
2624{
r2065r2066
2927   const char *shortname;
3028};
3129
30
31
32typedef struct _device_list device_list;
33struct _device_list
34{
35   object_pool *pool;
36   struct IODevice devices[1];
37};
38
39
40
41/***************************************************************************
42    GLOBAL VARIABLES
43***************************************************************************/
44
3245/* The List of Devices, with Associated Names - Be careful to ensure that   *
3346 * this list matches the ENUM from device.h, so searches can use IO_COUNT   */
3447static const struct Devices device_info_array[] =
r2065r2066
4962   { IO_CDROM,     "cdrom",        "cdrm" }, /* 13 */
5063};
5164
52typedef struct _device_list device_list;
53struct _device_list
54{
55   object_pool *pool;
56   struct IODevice devices[1];
57};
5865
5966
67/***************************************************************************
68    CORE IMPLEMENTATION
69***************************************************************************/
6070
6171const char *device_typename(iodevice_t type)
6272{

Previous 15994 Revisions Next


© 1998-2018 The MESS Team