X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=portable_io.h;h=81dfcf57fc788ba9888d31a520e2f7b71e43774f;hb=d440a71683940a58747de6dc32643db452d9cf54;hp=fdd4165d70e5acda33fe2b97f1b3141730ce0c08;hpb=e5de57de1b8bf1df96c152fc92f5a49f75d6d96c;p=paraslash.git diff --git a/portable_io.h b/portable_io.h index fdd4165d..81dfcf57 100644 --- a/portable_io.h +++ b/portable_io.h @@ -58,6 +58,11 @@ static inline uint32_t read_u32_be(const void *buf) return read_portable_be(32, buf); } +static inline uint32_t read_u24_be(const void *buf) +{ + return read_portable_be(24, buf); +} + static inline uint16_t read_u16_be(const void *buf) { return read_portable_be(16, buf);