Function for Retrieving the eurephia lastlog records. More...
#include <string.h>#include <unistd.h>#include <assert.h>#include <libxml/tree.h>#include <sqlite3.h>#include <eurephia_nullsafe.h>#include <eurephia_context.h>#include <eurephia_log.h>#include <eurephia_xml.h>#include <eurephia_values.h>#include <eurephiadb_session_struct.h>#include <eurephiadb_mapping.h>#include <passwd.h>#include <eurephiadb_driver.h>#include "../sqlite.h"#include "../fieldmapping.h"
Include dependency graph for lastlog.c:Go to the source code of this file.
Defines | |
| #define | FMAP_LASTLOG |
Functions | |
| xmlDoc * | eDBadminGetLastlog (eurephiaCTX *ctx, xmlDoc *srch_xml, const char *sortkeys) |
Function for Retrieving the eurephia lastlog records.
Definition in file lastlog.c.
| #define FMAP_LASTLOG |
fieldmapping.h: Include declaration of tbl_sqlite_lastlog
| xmlDoc* eDBadminGetLastlog | ( | eurephiaCTX * | ctx, | |
| xmlDoc * | srch_xml, | |||
| const char * | sortkeys | |||
| ) |
Retrieve the eurephia lastlog
| ctx | eurephiaCTX | |
| srch_xml | XML document specifying the search query | |
| sortkeys | String containing the sort order of the fields |
The XML format skeleton
<eurephia format="1"> <lastlog_query> <fieldMapping table="lastlog"> <{search field}>{search value}</{search field}> </fieldMapping> </lastlog_query> </eurephia>
Valid field names are: uid, certid, ip, vpnip, status, login, logout, id, username, macaddr, uicid
< Messages intended when debugging. Only for log level > 10
< The context is used via the eurephiadm console utility
< The context is used via a web based utility
< Alias for LOG_CRITICAL
< Operation failed and might have been aborted. Log level always 0
< Alias for LOG_ERROR, in case it is not defined
< API errors but not sever, program can continue to run
Definition at line 61 of file lastlog.c.
Here is the call graph for this function:
1.7.1