comparison src/cs/riviera/rv_template/xxx_api.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /**
2 * @file xxx_api.h
3 *
4 * API Definition for XXX SWE.
5 *
6 * @author Your name here (your_email_here)
7 * @version 0.1
8 */
9
10 /*
11 * History:
12 *
13 * Date Author Modification
14 * -------------------------------------------------------------------
15 * // Create.
16 *
17 * (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved
18 */
19
20 #ifndef __XXX_API_H_
21 #define __XXX_API_H_
22
23
24 #include "rvm/rvm_gen.h" /* Generic RVM types and functions. */
25
26
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31
32
33 /**
34 * @name XXX Return type and return values.
35 *
36 * Currently they are the standard RV return types, but they may
37 * be customized in the future.
38 */
39 /*@{*/
40 typedef T_RV_RET T_XXX_RETURN;
41
42 #define XXX_OK RV_OK
43 #define XXX_NOT_SUPPORTED RV_NOT_SUPPORTED
44 #define XXX_MEMORY_ERR RV_MEMORY_ERR
45 #define XXX_INTERNAL_ERR RV_INTERNAL_ERR
46 /*@}*/
47
48
49 /**
50 * @name API functions
51 *
52 * API functions declarations (bridge functions).
53 */
54 /*@{*/
55
56 T_XXX_RETURN xxx_send_sample ();
57
58 /*@}*/
59
60
61 #ifdef __cplusplus
62 }
63 #endif
64
65
66 #endif /*__XXX_API_H_*/
67