Refactor key parsing

This commit is contained in:
Miroslav Lichvar
2013-05-15 16:38:01 +02:00
parent 02524397c1
commit 9673a2726c
3 changed files with 89 additions and 58 deletions

View File

@@ -61,4 +61,7 @@ extern void CPS_NormalizeLine(char *line);
/* Terminate first word and return pointer to the next word */
extern char *CPS_SplitWord(char *line);
/* Parse a key from keyfile */
extern int CPS_ParseKey(char *line, unsigned long *id, const char **hash, char **key);
#endif /* GOT_CMDPARSE_H */