summaryrefslogtreecommitdiff
path: root/golang-pam.h
diff options
context:
space:
mode:
Diffstat (limited to 'golang-pam.h')
-rw-r--r--golang-pam.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/golang-pam.h b/golang-pam.h
new file mode 100644
index 0000000..a9c7b99
--- /dev/null
+++ b/golang-pam.h
@@ -0,0 +1,11 @@
+#include <security/pam_appl.h>
+#include <stdlib.h>
+
+typedef struct {
+ const char *str;
+ int status;
+} get_item_result;
+
+get_item_result pam_get_item_string(pam_handle_t *handle, int type);
+struct pam_conv* make_gopam_conv(void *goconv);
+