summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-17 06:27:07 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-17 06:27:07 +0000
commit89da9d1a44aea4e12bcd9ee227bfa3580262243f (patch)
tree500e63599aa3c431e26fe299a2f5a8c247fe2998 /src/include
parenta3a43adb2111d9a15c8782fccfd7b80d014d2269 (diff)
downloadpamela-89da9d1a44aea4e12bcd9ee227bfa3580262243f.tar.xz
Add compat boilerplate
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pamela/compat.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/pamela/compat.h b/src/include/pamela/compat.h
new file mode 100644
index 0000000..04f739d
--- /dev/null
+++ b/src/include/pamela/compat.h
@@ -0,0 +1,12 @@
+/* ISC license. */
+
+#ifndef PAMELA_COMPAT_H
+#define PAMELA_COMPAT_H
+
+#include <pamela/pam.h>
+
+extern int misc_conv (int n, struct pam_message const **, struct pam_response **, void *) ;
+extern char **pam_misc_drop_env (char **) ;
+extern int pam_misc_paste_env (pam_handle_t *, char const *const *) ;
+
+#endif