eurephiadm lastlog command. Queries the lastlog database. More...
#include <stdio.h>#include <string.h>#include <assert.h>#include <libxml/tree.h>#include <libxml/xpath.h>#include <eurephia_nullsafe.h>#include <eurephia_context.h>#include <eurephia_log.h>#include <eurephia_xml.h>#include <eurephia_values_struct.h>#include <eurephiadb_session_struct.h>#include <eurephiadb_mapping.h>#include <eurephiadb_driver.h>#include <certinfo.h>#include "../argparser.h"#include "../xsltparser.h"
Include dependency graph for lastlog.c:Go to the source code of this file.
Defines | |
| #define | MODULE "eurephia::LastLog" |
Functions | |
| void | help_Lastlog () |
| int | cmd_Lastlog (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
eurephiadm lastlog command. Queries the lastlog database.
Definition in file lastlog.c.
| #define MODULE "eurephia::LastLog" |
Need to define the active module before including argparser.h
| int cmd_Lastlog | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Main function for the lastlog command. Does the querying of the database and show the result
| ctx | eurephiaCTX | |
| sess | eurephiaSESSION of the current logged in user | |
| cfg | eurephiaVALUES struct of the current configuration | |
| argc | argument count for the eurephiadm command | |
| argv | argument table for the eurephiadm command |
Definition at line 97 of file lastlog.c.
Here is the call graph for this function:
1.7.1