1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/BBA1.5_platform/apps/public/strace-4.16/xlat.h
2024-07-22 01:58:46 -03:00

18 lines
406 B
C

#ifndef STRACE_XLAT_H
#define STRACE_XLAT_H
# include <stdint.h>
struct xlat {
uint64_t val;
const char *str;
};
# define XLAT(val) { (unsigned)(val), #val }
# define XLAT_PAIR(val, str) { (unsigned)(val), str }
# define XLAT_TYPE(type, val) { (type)(val), #val }
# define XLAT_TYPE_PAIR(type, val, str) { (type)(val), str }
# define XLAT_END { 0, 0 }
#endif /* !STRACE_XLAT_H */