1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef STLFILE_H #define STLFILE_H #include <stdlib.h> #include <string.h> struct parseinfo { char fmtbuf[256]; int attrs; char *namehash, *infopath, *stlpath; }; struct parseinfo* parse_file(char *buf, size_t len); void free_parseinfo(struct parseinfo *info); #endif // STLFILE_H