rawyaml mode

This commit is contained in:
cathugger 2020-01-17 14:15:56 +00:00
parent 30c05eb266
commit c57f10316f
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8
6 changed files with 89 additions and 33 deletions

6
yaml.h
View file

@ -1,4 +1,6 @@
extern void yamlout_init(void);
extern void yamlout_clean(void);
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);
extern void yamlout_writekeys(
const char *hostname,const u8 *publickey,const u8 *secretkey,int rawkeys);
extern int yamlin_parseandcreate(
FILE *fin,char *sname,const char *hostname,int rawkeys);