/usr/include/uint32.h is in libowfat-dev 0.29-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /* this header file comes from libowfat, http://www.fefe.de/libowfat/ */
#ifndef UINT32_H
#define UINT32_H
#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef uint32_t uint32;
typedef int32_t int32;
#if (defined(__i386__) || defined(__x86_64__)) && !defined(NO_UINT32_MACROS)
static inline void uint32_pack(char* out,uint32 in) {
*(uint32*)out=in;
}
static inline void uint32_unpack(const char *in,uint32* out) {
*out=*(uint32*)in;
}
static inline uint32 uint32_read(const char* in) {
return *(uint32*)in;
}
void uint32_pack_big(char *out,uint32 in);
void uint32_unpack_big(const char *in,uint32* out);
uint32 uint32_read_big(const char *in);
#else
void uint32_pack(char *out,uint32 in);
void uint32_pack_big(char *out,uint32 in);
void uint32_unpack(const char *in,uint32* out);
void uint32_unpack_big(const char *in,uint32* out);
uint32 uint32_read(const char *in);
uint32 uint32_read_big(const char *in);
#endif
#ifdef __cplusplus
}
#endif
#endif
|