ProxyAuth
Linux PAM to authenticate device via Bluetooth device
src
pam_misc.h
Go to the documentation of this file.
1
#ifndef PAM_MISC
2
#define PAM_MISC
3
4
#include <errno.h>
5
#include <stdio.h>
6
#include <stdlib.h>
7
#include <string.h>
8
#include <time.h>
9
#include <unistd.h>
10
#include <sys/types.h>
11
#include <sys/stat.h>
12
13
31
void
get_login_time
(
char
*curr_time);
32
43
int
get_num_lines
(FILE *fp);
44
55
int
check_or_creat_dir
(
const
char
*dir_path, FILE *log_fp);
56
#endif
get_num_lines
int get_num_lines(FILE *fp)
Definition:
pam_misc.c:13
get_login_time
void get_login_time(char *curr_time)
Definition:
pam_misc.c:3
check_or_creat_dir
int check_or_creat_dir(const char *dir_path, FILE *log_fp)
Definition:
pam_misc.c:37
Generated on Mon Mar 7 2022 06:53:49 for ProxyAuth by
1.9.1