summaryrefslogtreecommitdiff
path: root/libpam/pam_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpam/pam_private.h')
-rw-r--r--libpam/pam_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpam/pam_private.h b/libpam/pam_private.h
index 24bb47dc..7ff59276 100644
--- a/libpam/pam_private.h
+++ b/libpam/pam_private.h
@@ -54,6 +54,7 @@ struct handler {
int argc;
char **argv;
struct handler *next;
+ char *mod_name;
};
struct loaded_module {
@@ -146,6 +147,8 @@ struct pam_handle {
struct service handlers;
struct _pam_former_state former; /* library state - support for
event driven applications */
+ const char *mod_name; /* Name of the module currently executed */
+ int choice; /* Which function we call from the module */
};
/* Values for select arg to _pam_dispatch() */