| 67 | char buf[]; |
| 68 | }; |
| 69 | struct __attribute__ ((__packed__)) sdshdr64 { |
| 70 | uint64_t len; /* used */ |
| 71 | uint64_t alloc; /* excluding the header and null terminator */ |
| 72 | unsigned char flags; /* 3 lsb of type, 5 unused bits */ |
| 73 | char buf[]; |
| 74 | }; |
| 75 | |
| 76 | #define SDS_TYPE_5 0 |
| 77 | #define SDS_TYPE_8 1 |
nothing calls this directly
no outgoing calls
no test coverage detected