00001 00011 #ifndef _RD_H_ 00012 #define _RD_H_ 00013 00024 /* 00025 * INCLUDE FILES 00026 **************************************************************************************** 00027 */ 00028 // standard includes 00029 #include "co_int.h" 00030 00031 // for co_list 00032 #include "co_list.h" 00033 00034 // for co_ring 00035 #include "co_ring.h" 00036 00037 /* 00038 * DEFINES 00039 **************************************************************************************** 00040 */ 00041 00043 struct rd_env_tag 00044 { 00046 struct co_list event_free_list; 00047 }; 00048 00049 /* 00050 * GLOBAL VARIABLES 00051 **************************************************************************************** 00052 */ 00054 extern struct rd_env_tag rd_env; 00055 00056 /* 00057 * FUNCTION DECLARATIONS 00058 **************************************************************************************** 00059 */ 00065 void rd_init(void); 00066 00075 void rd_event_ind(int rd_idx); 00076 00078 00079 #endif // _RD_H_
1.6.1