ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
clamav/libclamav/type_desc.h

29 lines
659 B

enum derived_t {
FunctionType,
PointerType,
StructType,
PackedStructType,
ArrayType
};
struct cli_bc_type {
enum derived_t kind;
uint16_t *containedTypes;
unsigned numElements;
};
typedef int32_t (*cli_apicall_int2)(int32_t, int32_t);
typedef int32_t (*cli_apicall_pointer)(void*, uint32_t);
struct cli_apicall {
const char *name;
const struct cli_bc_type *type;
uint8_t kind;
};
extern const struct cli_bc_type cli_apicall_types[];
extern const struct cli_apicall cli_apicalls[];
extern const cli_apicall_int2 cli_apicalls0[];
extern const cli_apicall_pointer cli_apicalls1[];
extern const unsigned cli_apicall_maxapi;