Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * cs_types.h |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | * |
| 8 | * The initial developer of the original code is David A. Hinds |
| 9 | * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds |
| 10 | * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. |
| 11 | * |
| 12 | * (C) 1999 David A. Hinds |
| 13 | */ |
| 14 | |
| 15 | #ifndef _LINUX_CS_TYPES_H |
| 16 | #define _LINUX_CS_TYPES_H |
| 17 | |
| 18 | #ifdef __KERNEL__ |
| 19 | #include <linux/types.h> |
| 20 | #else |
| 21 | #include <sys/types.h> |
| 22 | #endif |
| 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | typedef u_short socket_t; |
| 25 | typedef u_int event_t; |
| 26 | typedef u_char cisdata_t; |
| 27 | typedef u_short page_t; |
| 28 | |
Magnus Damm | 0bdf9b3 | 2006-12-13 19:46:53 +0900 | [diff] [blame] | 29 | typedef unsigned long window_handle_t; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | |
| 31 | struct region_t; |
| 32 | typedef struct region_t *memory_handle_t; |
| 33 | |
| 34 | #ifndef DEV_NAME_LEN |
| 35 | #define DEV_NAME_LEN 32 |
| 36 | #endif |
| 37 | |
| 38 | typedef char dev_info_t[DEV_NAME_LEN]; |
| 39 | |
| 40 | #endif /* _LINUX_CS_TYPES_H */ |