]> wimlib.net Git - wimlib/blobdiff - include/wimlib/types.h
resource.c: Make extract_chunk_to_fd() static
[wimlib] / include / wimlib / types.h
index 561268db79920c5251310862bb3ce76db7bb244d..65c141896b131e6e84f7bfb24d643a5816c29784 100644 (file)
@@ -32,10 +32,17 @@ typedef uint8_t  sle8;
 typedef uint16_t sle16;
 typedef uint32_t sle32;
 typedef uint64_t sle64;
+
+/* Unsigned big endian types of exact size */
+typedef uint8_t  be8;
+typedef uint16_t be16;
+typedef uint32_t be32;
+typedef uint64_t be64;
+
 #endif
 
 /* A pointer to 'utf16lechar' indicates a UTF-16LE encoded string */
-typedef u16 utf16lechar;
+typedef le16 utf16lechar;
 
 #ifndef WIMLIB_WIMSTRUCT_DECLARED
 typedef struct WIMStruct WIMStruct;