TYPEDEF_D2I_OF
#define TYPEDEF_D2I_OF(type) typedef type *d2i_of_##type(type **, const unsigned char **, long)
TYPEDEF_D2I_OF(type); \