FreeCalypso > hg > freecalypso-sw
comparison nuc-fw/riviera/rvt/rvt_gen.h @ 122:28f967578233
RVT compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 31 Oct 2013 04:37:17 +0000 |
parents | e7d4ec9c4c32 |
children |
comparison
equal
deleted
inserted
replaced
121:15e972110527 | 122:28f967578233 |
---|---|
46 ** Type definitions | 46 ** Type definitions |
47 */ | 47 */ |
48 | 48 |
49 /* Define return parameters. */ | 49 /* Define return parameters. */ |
50 typedef enum { | 50 typedef enum { |
51 RVT_OK = 0, | 51 RVT_OK = 0, |
52 RVT_NOT_SUPPORTED = -2, | 52 RVT_NOT_SUPPORTED = -2, |
53 RVT_NOT_READY = -3, | 53 RVT_NOT_READY = -3, |
54 RVT_MEMORY_ERR = -4, | 54 RVT_MEMORY_ERR = -4, |
55 RVT_INTERNAL_ERR = -9, | 55 RVT_INTERNAL_ERR = -9, |
56 RVT_INVALID_PARAMETER = -10 | 56 RVT_INVALID_PARAMETER = -10 |
57 } T_RVT_RET; | 57 } T_RVT_RET; |
58 | 58 |
59 | 59 |
60 | 60 |
61 typedef UINT8 T_RVT_USER_ID; | 61 typedef UINT8 T_RVT_USER_ID; |
88 void | 88 void |
89 rvt_set_trace_level(T_RVT_BUFFER p_msg, UINT16 msg_length); | 89 rvt_set_trace_level(T_RVT_BUFFER p_msg, UINT16 msg_length); |
90 | 90 |
91 T_RVT_RET | 91 T_RVT_RET |
92 rvt_send_trace_no_cpy(T_RVT_BUFFER p_buffer, | 92 rvt_send_trace_no_cpy(T_RVT_BUFFER p_buffer, |
93 T_RVT_USER_ID user_id, | 93 T_RVT_USER_ID user_id, |
94 T_RVT_MSG_LG msg_lenght, | 94 T_RVT_MSG_LG msg_lenght, |
95 T_RVT_FORMAT msg_format); | 95 T_RVT_FORMAT msg_format); |
96 | 96 |
97 T_RVT_RET | 97 T_RVT_RET |
98 rvt_send_trace_cpy(T_RVT_BUFFER msg, | 98 rvt_send_trace_cpy(T_RVT_BUFFER msg, |
99 T_RVT_USER_ID user_id, | 99 T_RVT_USER_ID user_id, |
100 T_RVT_MSG_LG msg_length, | 100 T_RVT_MSG_LG msg_length, |
101 T_RVT_FORMAT msg_format); | 101 T_RVT_FORMAT msg_format); |
102 | 102 |
103 | 103 |
104 T_RVT_RET | 104 T_RVT_RET |
105 rvt_register_id(T_RVT_NAME name[], T_RVT_USER_ID *tr_id, RVT_CALLBACK_FUNC callback); | 105 rvt_register_id(T_RVT_NAME name[], T_RVT_USER_ID *tr_id, RVT_CALLBACK_FUNC callback); |
106 | 106 |