refactor,fix,rewrite parts,tweak

This commit is contained in:
cathugger 2018-07-09 16:38:41 +00:00
parent 4bdeb62f44
commit be50d6b929
6 changed files with 432 additions and 363 deletions

4
yaml.h Normal file
View file

@ -0,0 +1,4 @@
extern void yamlout_init();
extern void yamlout_clean();
extern void yamlout_writekeys(const char *hostname,const u8 *formated_public,const u8 *formated_secret);
extern int yamlin_parseandcreate(FILE *fin,char *sname,const char *hostname);