Motr  M0
test_gccxml.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  * For any questions about this software or licensing,
17  * please email opensource@seagate.com or cortx-questions@seagate.com.
18  *
19  */
20 
21 #pragma once
22 
23 #ifndef __MOTR_XCODE_UT_TEST_GCCXML_H__
24 #define __MOTR_XCODE_UT_TEST_GCCXML_H__
25 
26 #include <sys/types.h>
27 #include <stdint.h>
28 
29 #include "xcode/xcode.h"
30 #include "lib/vec.h"
31 #include "lib/vec_xc.h"
32 
34 #include "xcode/ut/test_gccxml_simple_xc.h"
35 
36 
37 struct package {
38  struct m0_fid p_fid;
39  struct m0_vec p_vec;
40  struct m0_cred *p_cred M0_XCA_OPAQUE("m0_package_cred_get");
41  struct package_p_name {
42  uint32_t s_nr;
43  uint8_t *s_data;
44  } M0_XCA_SEQUENCE p_name;
45 } M0_XCA_RECORD;
46 
47 #endif /* __MOTR_XCODE_UT_TEST_GCCXML_H__ */
48 
struct m0_fid p_fid
Definition: test_gccxml.h:38
Definition: vec.h:49
struct package::package_p_name p_name
Definition: fid.h:38
struct m0_cred *p_cred M0_XCA_OPAQUE("m0_package_cred_get")
struct m0_vec p_vec
Definition: test_gccxml.h:39