void init_resource(int type, struct res_items *item);
void save_resource(int type, struct res_items *item, int pass);
char *res_to_str(int rcode);
void init_resource(int type, struct res_items *item);
void save_resource(int type, struct res_items *item, int pass);
char *res_to_str(int rcode);