# BRCM_VERSION=3
[bcm963xx.git] / userapps / opensource / ftpd / bftpdutmp.h
1 #ifndef __BFTPD_BFTPDUTMP_H
2 #define __BFTPD_BFTPDUTMP_H
3
4 #include "commands.h"
5 #include <sys/types.h>
6
7 extern FILE *bftpdutmp;
8
9 struct bftpdutmp {
10     char bu_type;
11     pid_t bu_pid;
12     char bu_name[USERLEN + 1];
13     char bu_host[256];
14     time_t bu_time;
15 };
16
17 void bftpdutmp_init();
18 void bftpdutmp_end();
19 void bftpdutmp_log(char type);
20 char bftpdutmp_pidexists(pid_t pid);
21 int bftpdutmp_usercount(char *username);
22
23 #endif