/* KITTENC - compile kitten files and attach this to executables in a way that the kitten library retrieves the language resources, in the same way that catgets/kittengets ever did */ /* This software is free software; free to use, modify, pass to others, whatever use it at your own risk */ #ifndef KITTENC_H #define KITTENC_H //internal stuff shared between kitten.c and kittenc.c struct message_header { short len; short id; // char message[]; }; struct content { char language[4]; long filepos_start; // for this language long filepos_end; long reserved; // align on 16 byte to look better in hex editor }; struct message_end { long filepos; // points to content long resource_count;// number of entries long fileend_orig; // file end NOW because UPX char ID[8]; // "KITTENC" }; #define KITTEN_MAX_RESOURCES 16 #endif /* KITTENC_H */