git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Just some little notes
[tpg/acess2.git]
/
Usermode
/
Applications
/
login_src
/
header.h
1
/*
2
* Acess2 Login Shell
3
*/
4
#ifndef _HEADER_H_
5
#define _HEADER_H_
6
7
#include <stdlib.h>
8
#include <stdio.h>
9
#include <string.h>
10
#include <acess/sys.h>
11
12
// === TYPES ===
13
typedef struct {
14
int UID;
15
int GID;
16
char *Home;
17
char *Shell;
18
} tUserInfo;
19
20
// === PROTOTYPES ===
21
// --- User Database ---
22
extern int ValidateUser(char *Username, char *Password);
23
extern tUserInfo *GetUserInfo(int UID);
24
25
#endif
UCC
git Repository :: git.ucc.asn.au