ABI | Symbols | Types | Live Readelf |
| Contents |
| Info |
| Fields |
| Memory Layout |
| Name | comp_method_st |
|---|---|
| Type | STRUCT |
| Fields | 8 |
| Source | comp.h |
| Size | 64 |
| Usage | The type is used by 4 symbols and 2 types. |
| PADDING | FIELD |
| BIT-FIELD |
| Pos | Name | Type | Size | Offset |
|---|---|---|---|---|
| 0 | type | int | 4 | 0 |
| 1 | name | char const* | 8 | 8 |
| 2 | init | int(*)(COMP_CTX*) | 8 | 16 |
| 3 | finish | void(*)(COMP_CTX*) | 8 | 24 |
| 4 | compress | int(*)(COMP_CTX*, unsigned char*, unsigned int, unsigned char*, unsigned int) | 8 | 32 |
| 5 | expand | int(*)(COMP_CTX*, unsigned char*, unsigned int, unsigned char*, unsigned int) | 8 | 40 |
| 6 | ctrl | long(*)() | 8 | 48 |
| 7 | callback_ctrl | long(*)() | 8 | 56 |
| Offset | Contents | Type |
|---|---|---|
| 0 | .type | int |
| 4 | padding | |
| 8 | .name | char const* |
| 16 | .init | int(*)(COMP_CTX*) |
| 24 | .finish | void(*)(COMP_CTX*) |
| 32 | .compress | int(*)(COMP_CTX*, unsigned char*, unsigned int, unsigned char*, unsigned int) |
| 40 | .expand | int(*)(COMP_CTX*, unsigned char*, unsigned int, unsigned char*, unsigned int) |
| 48 | .ctrl | long(*)() |
| 56 | .callback_ctrl | long(*)() |