#ifndef __MODINFO_H #define __MODINFO_H 1 #define TYPE_SCREAM_3 3 #define TYPE_IMPULSE 2 #define TYPE_AMIGA_MOD 4 #define TYPE_FT2 7 #define TYPE_UNKNOWN 1 /* Module struct */ struct str_modfile { char* buf; int buflen; short type; }; typedef struct str_modfile MODULE; int number_instruments(MODULE* modfile); int number_orders(MODULE* modfile); int load_module(MODULE*,char*,int); char* return_instrument_name(MODULE*,int); void module_name(MODULE* modfile,char*); short module_type(MODULE* modfile); char* module_typestr(short); #endif /* * @EOF@ -- revised May 6 2006 */