taskrambler
0.1.8
Web server and task management solution.
Main Page
Related Pages
Data Structures
Files
File List
Globals
user.h
Go to the documentation of this file.
1
/**
2
* \file
3
*
4
* \author Georg Hopp
5
*
6
* \copyright
7
* Copyright © 2012 Georg Hopp
8
*
9
* This program is free software: you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation, either version 3 of the License, or
12
* (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
*/
22
23
#ifndef __USER_H__
24
#define __USER_H__
25
26
#include <sys/types.h>
27
28
#include "
class.h
"
29
#include "
uuid.h
"
30
#include "
auth.h
"
31
#include "
storage/storage.h
"
32
33
CLASS
(User) {
34
unsigned
long
hash;
35
AuthModule
auth_type;
36
37
/**
38
* username holds the identifier of the user.
39
* For ldap users this is the common name.
40
* For registered users this is their email
41
* address.
42
* The UUID of the user is created from this
43
* username.
44
*/
45
char
* username;
46
char
* email;
47
char
* firstname;
48
char
* surname;
49
50
size_t
* nusername;
51
size_t
* nemail;
52
size_t
* nfirstname;
53
size_t
* nsurname;
54
};
55
56
#endif // __USER_H__
57
58
// vim: set ts=4 sw=4:
59
class.h
auth.h
uuid.h
storage.h
CLASS
CLASS(User)
Definition:
user.h:33
AuthModule
AuthModule
Definition:
auth/auth.h:51
include
user.h
Generated on Wed Apr 13 2016 15:12:25 for taskrambler by
1.8.10