]> www.average.org Git - pam_pcsc_cr.git/blobdiff - authfile.h
introcude authfile module
[pam_pcsc_cr.git] / authfile.h
diff --git a/authfile.h b/authfile.h
new file mode 100644 (file)
index 0000000..2130ce4
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef _AUTHFILE_H
+#define _AUTHFILE_H
+
+int eprint(const char *format, ...);   /* must be provided by the caller */
+
+int update_authfile(const char *fn, const char *tokenid, const char *id,
+               const char *password, const char *nonce,
+               const unsigned char *secret, const int secsize,
+               const unsigned char *payload, const int paysize);
+
+#endif