aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/stlfile.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-04-29 16:20:38 +0200
committerLouis Burda <quent.burda@gmail.com>2021-04-29 16:20:38 +0200
commit008b5f74235a7fd04852e6f640429269f1ec4845 (patch)
tree7eea7fea892da529fe4f37a437218705a4158ca8 /service/src/stlfile.h
parent8aac44bb98af5442e29c8cb9a5a4acbe40d96bb2 (diff)
downloadenowars5-service-stldoctor-008b5f74235a7fd04852e6f640429269f1ec4845.tar.gz
enowars5-service-stldoctor-008b5f74235a7fd04852e6f640429269f1ec4845.zip
basic service structure and docker setup
Diffstat (limited to 'service/src/stlfile.h')
-rw-r--r--service/src/stlfile.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/service/src/stlfile.h b/service/src/stlfile.h
index 307c7c4..424b61b 100644
--- a/service/src/stlfile.h
+++ b/service/src/stlfile.h
@@ -4,7 +4,13 @@
#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