Skip to content

Commit

Permalink
Get rid of typedef struct ..._layout_t and ..._LAYOUT_INIT for all.
Browse files Browse the repository at this point in the history
  • Loading branch information
inkdot7 authored and jose-luis-rs committed May 6, 2023
1 parent 4286118 commit 386bc65
Show file tree
Hide file tree
Showing 49 changed files with 0 additions and 297,626 deletions.
48,092 changes: 0 additions & 48,092 deletions r3bsource/alpide/ext_h101_alpide.h

Large diffs are not rendered by default.

1,406 changes: 0 additions & 1,406 deletions r3bsource/ams/ext_h101_ams.h

Large diffs are not rendered by default.

45 changes: 0 additions & 45 deletions r3bsource/ams/ext_h101_wrams.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,51 +84,6 @@ typedef struct EXT_STR_h101_WRAMS_onion_t
\
} while (0);

/********************************************************
*
* For internal use by the network data reader:
* (version checks, etc)
*/

typedef struct EXT_STR_h101_WRAMS_layout_t
{
uint32_t _magic;
uint32_t _size_info;
uint32_t _size_struct;
uint32_t _size_struct_onion;
uint32_t _pack_list_items;

uint32_t _num_items;
struct
{
uint32_t _offset;
uint32_t _size;
uint32_t _xor;
const char* _name;
} _items[1];
uint32_t _pack_list[7];
} EXT_STR_h101_WRAMS_layout;

#define EXT_STR_h101_WRAMS_LAYOUT_INIT \
{ 0x57e65c96, \
sizeof(EXT_STR_h101_WRAMS_layout), \
sizeof(EXT_STR_h101_WRAMS), \
sizeof(EXT_STR_h101_WRAMS_onion), \
7, \
1, \
{ \
{ 0, sizeof(EXT_STR_h101_WRAMS), 0x28dbace9, "h101_WRAMS" }, \
}, \
{ \
0x40000000, \
0x40000004, \
0x40000008, \
0x4000000c, \
0x40000010, \
0x40000014, \
0x40000018, \
} };

#endif /*__GUARD_H101_WRAMS_EXT_H101_WRAMS_H__*/

/*******************************************************/
43 changes: 0 additions & 43 deletions r3bsource/beammonitor/ext_h101_bmon.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,49 +76,6 @@ typedef struct EXT_STR_h101_BMON_onion_t
\
} while (0);

/********************************************************
*
* For internal use by the network data reader:
* (version checks, etc)
*/

typedef struct EXT_STR_h101_BMON_layout_t
{
uint32_t _magic;
uint32_t _size_info;
uint32_t _size_struct;
uint32_t _size_struct_onion;
uint32_t _pack_list_items;

uint32_t _num_items;
struct
{
uint32_t _offset;
uint32_t _size;
uint32_t _xor;
const char* _name;
} _items[1];
uint32_t _pack_list[5];
} EXT_STR_h101_BMON_layout;

#define EXT_STR_h101_BMON_LAYOUT_INIT \
{ 0x57e65c96, \
sizeof(EXT_STR_h101_BMON_layout), \
sizeof(EXT_STR_h101_BMON), \
sizeof(EXT_STR_h101_BMON_onion), \
5, \
1, \
{ \
{ 0, sizeof(EXT_STR_h101_BMON), 0x51d72d0c, "h101_BMON" }, \
}, \
{ \
0x40000000, \
0x40000004, \
0x40000008, \
0x4000000c, \
0x40000010, \
} };

#endif /*__GUARD_H101_BMON_EXT_H101_BMON_H__*/

/*******************************************************/
68,151 changes: 0 additions & 68,151 deletions r3bsource/califa/ext_h101_califa.h

Large diffs are not rendered by default.

1,172 changes: 0 additions & 1,172 deletions r3bsource/califa/ext_h101_califa_julich.h

Large diffs are not rendered by default.

50 changes: 0 additions & 50 deletions r3bsource/califa/ext_h101_wrcalifa.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,56 +102,6 @@ typedef struct EXT_STR_h101_WRCALIFA_onion_t
\
} while (0);

/********************************************************
*
* For internal use by the network data reader:
* (version checks, etc)
*/

typedef struct EXT_STR_h101_WRCALIFA_layout_t
{
uint32_t _magic;
uint32_t _size_info;
uint32_t _size_struct;
uint32_t _size_struct_onion;
uint32_t _pack_list_items;

uint32_t _num_items;
struct
{
uint32_t _offset;
uint32_t _size;
uint32_t _xor;
const char* _name;
} _items[1];
uint32_t _pack_list[12];
} EXT_STR_h101_WRCALIFA_layout;

#define EXT_STR_h101_WRCALIFA_LAYOUT_INIT \
{ 0x57e65c96, \
sizeof(EXT_STR_h101_WRCALIFA_layout), \
sizeof(EXT_STR_h101_WRCALIFA), \
sizeof(EXT_STR_h101_WRCALIFA_onion), \
12, \
1, \
{ \
{ 0, sizeof(EXT_STR_h101_WRCALIFA), 0x644959df, "h101_WRCALIFA" }, \
}, \
{ \
0x40000000, \
0x40000004, \
0x40000008, \
0x4000000c, \
0x40000010, \
0x40000014, \
0x40000018, \
0x4000001c, \
0x40000020, \
0x40000024, \
0x40000028, \
0x4000002c, \
} };

#endif /*__GUARD_H101_WRCALIFA_EXT_H101_WRCALIFA_H__*/

/*******************************************************/
41 changes: 0 additions & 41 deletions r3bsource/fibers/ext_h101_fib.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,47 +89,6 @@ typedef struct EXT_STR_h101_FIB_onion_t
\
} while (0);

/********************************************************
*
* For internal use by the network data reader:
* (version checks, etc)
*/

typedef struct EXT_STR_h101_FIB_layout_t
{
uint32_t _magic;
uint32_t _size_info;
uint32_t _size_struct;
uint32_t _size_struct_onion;
uint32_t _pack_list_items;

uint32_t _num_items;
struct
{
uint32_t _offset;
uint32_t _size;
uint32_t _xor;
const char* _name;
} _items[1];
uint32_t _pack_list[20];
} EXT_STR_h101_FIB_layout;

#define EXT_STR_h101_FIB_LAYOUT_INIT \
{ 0x57e65c96, \
sizeof(EXT_STR_h101_FIB_layout), \
sizeof(EXT_STR_h101_FIB), \
sizeof(EXT_STR_h101_FIB_onion), \
20, \
1, \
{ \
{ 0, sizeof(EXT_STR_h101_FIB), 0x2b06d4a2, "h101_FIB" }, \
}, \
{ \
0x40000000, 0x40000004, 0xc0000008, 0x00000003, 0x00000002, 0x4000000c, 0x40000018, \
0x40000010, 0x4000001c, 0x40000014, 0x40000020, 0xc0000024, 0x00000003, 0x00000002, \
0x40000028, 0x40000034, 0x4000002c, 0x40000038, 0x40000030, 0x4000003c, \
} };

#endif /*__GUARD_H101_FIB_EXT_H101_FIB_H__*/

/*******************************************************/
Loading

0 comments on commit 386bc65

Please sign in to comment.