ProxyAuth
Linux PAM to authenticate device via Bluetooth device
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
int get_num_lines(FILE *fp)
Definition: pam_misc.c:13
void get_login_time(char *curr_time)
Definition: pam_misc.c:3
int check_or_creat_dir(const char *dir_path, FILE *log_fp)
Definition: pam_misc.c:37