All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
otp_pw_valid.h File Reference
#include <pthread.h>
#include <sys/types.h>
#include "extern.h"
#include "otp.h"
+ Include dependency graph for otp_pw_valid.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  otp_fd_t
 

Typedefs

typedef struct otp_fd_t otp_fd_t
 

Functions

static int otp_connect (char const *)
 
static otp_fd_totp_getfd (rlm_otp_t const *)
 
static void otp_putfd (otp_fd_t *, int)
 
static int otp_read (otp_fd_t *, char *, size_t)
 
static int otp_verify (rlm_otp_t const *, otp_request_t const *, otp_reply_t *)
 
static int otp_write (otp_fd_t *, char const *, size_t)
 
static int otprc2rlmrc (int)
 

Data Structure Documentation

struct otp_fd_t

Definition at line 31 of file otp_pw_valid.h.

+ Collaboration diagram for otp_fd_t:
Data Fields
int fd
pthread_mutex_t mutex
struct otp_fd_t * next
char const * path

Typedef Documentation

typedef struct otp_fd_t otp_fd_t

Function Documentation

static int otp_connect ( char const *  )
static
static otp_fd_t* otp_getfd ( rlm_otp_t const *  )
static
static void otp_putfd ( otp_fd_t ,
int   
)
static
static int otp_read ( otp_fd_t ,
char *  ,
size_t   
)
static
static int otp_verify ( rlm_otp_t const *  ,
otp_request_t const *  ,
otp_reply_t  
)
static
static int otp_write ( otp_fd_t ,
char const *  ,
size_t   
)
static
static int otprc2rlmrc ( int  )
static