summaryrefslogtreecommitdiff
path: root/libpam/pam_private.h
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-09-03 17:09:19 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-09-03 17:09:19 +0000
commitc074d5f200590ad8d7d3c98f3d4debf5f4dfff00 (patch)
tree450a529d6631e17fc99f0fb1ab13cc134add0591 /libpam/pam_private.h
parentcde46e48b824a65d2697c20747167e40cf533c3a (diff)
Relevant BUGIDs: none
Purpose of commit: new feature Commit summary: --------------- Add pam_syslog to unify log messages from PAM modules.
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() */