github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/tools/syz-headerparser/test_headers/th_b.h (about) 1 // Copyright 2017 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 #ifndef _TEST_HEADER_B 5 #define _TEST_HEADER_B 6 7 #include <linux/types.h> /* header comment */ 8 9 enum random_enum { 10 ONE = 1<<0, 11 TWO = 1<<1, 12 }; 13 14 struct B { 15 unsigned long B1; 16 unsigned long B2; 17 }; 18 19 struct struct_containing_union { 20 int something; 21 union { 22 char *a_char; 23 struct B *B_ptr; 24 } a_union; 25 }; 26 27 #endif /* _TEST_HEADER_B */