summaryrefslogtreecommitdiffstats
path: root/common/eurephia_admin_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed everything which was connected to the eurephiaUSERINFO struct.David Sommerseth2008-12-181-223/+0
|
* Added another flag to eurephiaUSERINFODavid Sommerseth2008-12-111-0/+2
| | | | | | | | The added account_flags are flags used to quickly identify the account status. Made also suret that all flags are not set when a new eurephiaUSERINFO struct is initialised
* Added functions for processing eurephiaACCESSINFO/eurephiaACCESSLISTDavid Sommerseth2008-12-111-0/+76
| | | | | | | | | | Implemented saving VPN access profile to the eurephiaCERTINFO struct and filling the eurephiaACCESSINFO with the proper information needed in the eDBadminGetUserInfo(...) function. The special thing about eurephiaACCESSINFO, is that it will not register duplicate records. And when the eurephiaCERTINFO is free'd, the eurephiaACCESSLIST will automatically be free'd as well.
* Added eurephiaCERTINFO and eurephiaCERTLIST structs functionsDavid Sommerseth2008-12-091-0/+69
| | | | | | New functions to simplify using these structs in the code. Extended eurephiaUSERINFO to also have a eurephiaCERTLIST pointer, which can be used to store all associated certificates to this user.
* Moved over from earlier commit to use unified db translationDavid Sommerseth2008-12-061-68/+1
| | | | | | | In other words, rewrote commit 6d4373e026b3f12c5685e45e35f9f060379ed0f3. Moved over all functions from that commit which could take advantage of the new API for unified table/field translation.
* Added free function eurephiaUSERLIST structs. Added possible valgrind issue.David Sommerseth2008-12-061-1/+10
|
* BUGFIX: Made some functions more nullsafe and fixed wrong function ↵David Sommerseth2008-12-061-5/+9
| | | | declaration in .h
* Added admin function to give a list of usersDavid Sommerseth2008-12-061-1/+37
|
* Added eurephia_admin_common.[ch]David Sommerseth2008-12-061-0/+94
Will contain common functions for the administration API. At the moment only a generic function which converts unified field names to proper database field names is implemented. This functions is made especially for sorting keys (ORDER BY <fields>)