Changeset 9 in openpam


Ignore:
Timestamp:
Feb 1, 2002, 8:41:47 PM (13 years ago)
Author:
des
Message:

Add openpam_ttyconv(), a simple tty-based conversation function.
Prototype it in the new <security/openpam.h> header. Move the
prototype for openpam_log() there too (as well as the log level
constants) so modules and applications can use it if they want to.
Have lib/openpam.h include <security/openpam.h>.

Sponsored by: DARPA, NAI Labs

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Makefile

    r8 r9  
    4646SRCS            += openpam_dispatch.c
    4747SRCS            += openpam_log.c
     48SRCS            += openpam_ttyconv.c
    4849SRCS            += pam_acct_mgmt.c
    4950SRCS            += pam_authenticate.c
  • trunk/lib/openpam.h

    r1 r9  
    3737#ifndef _OPENPAM_H_INCLUDED
    3838#define _OPENPAM_H_INCLUDED
     39
     40#include <security/openpam.h>
    3941
    4042/*
     
    107109
    108110int             openpam_dispatch(pam_handle_t *, int, int);
    109 
    110 #define PAM_LOG_DEBUG           0
    111 #define PAM_LOG_VERBOSE         1
    112 #define PAM_LOG_NOTICE          2
    113 #define PAM_LOG_ERROR           3
    114 
    115 void            openpam_log(int, const char *, ...);
    116 
    117111int             openpam_findenv(pam_handle_t *, const char *, size_t);
    118112
Note: See TracChangeset for help on using the changeset viewer.