Added snsecprintf function that writes the secprintf message into the

buffer provided.
This commit is contained in:
Scott Haseley
2017-02-18 22:58:35 -05:00
parent 398e4eb90a
commit dbb57b2826
2 changed files with 32 additions and 7 deletions

View File

@@ -66,6 +66,7 @@
int success(int, const char *, const char *);
int secprintf(const char *secret, const char *msg, const char *name);
int snsecprintf(size_t len, char *buffer, const char *secret, const char *msg, const char *name);
int partial_credit(const char *secret, const char *name, int scored, int total);
#ifdef _KERNEL