summaryrefslogtreecommitdiff
path: root/users.h
blob: 5f2bf560032fd61a47d06ca7c6d27d7d6a5166d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _USERS_H
#define _USERS_H 1

#define MT_CRED_LEN 100
#define MT_CRED_MAXNUM 128

struct mt_credentials {
	unsigned char username[MT_CRED_LEN];
	unsigned char password[MT_CRED_LEN];
};

extern struct mt_credentials mt_users[MT_CRED_MAXNUM];

extern void readUserfile();
struct mt_credentials* findUser(unsigned char *username);

#endif