Add prototypes for the functions in oath_key.c.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@638 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
a1ee57dd24
commit
2ec4f668a9
|
@ -95,6 +95,12 @@ struct oath_key {
|
|||
uint8_t data[];
|
||||
};
|
||||
|
||||
struct oath_key *oath_key_alloc(size_t);
|
||||
void oath_key_free(struct oath_key *);
|
||||
struct oath_key *oath_key_from_uri(const char *);
|
||||
struct oath_key *oath_key_from_file(const char *);
|
||||
char *oath_key_to_uri(const struct oath_key *);
|
||||
|
||||
unsigned int oath_hotp(const uint8_t *, size_t, uint64_t, unsigned int);
|
||||
unsigned int oath_totp(const uint8_t *, size_t, unsigned int);
|
||||
|
||||
|
|
Loading…
Reference in New Issue