eurephiadm attempts command. Show/edit records in the attempts table. More...
#include <stdio.h>#include <string.h>#include <assert.h>#include <libxml/tree.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 <eurephia_values.h>#include "../argparser.h"#include "../xsltparser.h"
Include dependency graph for attempts.c:Go to the source code of this file.
Defines | |
| #define | MODULE "eurephia::Attempts" |
Functions | |
| void | display_attempts_help (int page) |
| void | help_Attempts () |
| int | help_Attempts2 (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
| int | list_attempts (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
| int | modify_attempts (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
| int | cmd_Attempts (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
eurephiadm attempts command. Show/edit records in the attempts table.
Definition in file attempts.c.
| #define MODULE "eurephia::Attempts" |
Need to define the active module before including argparser.h
Definition at line 39 of file attempts.c.
| int cmd_Attempts | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Main function for the attempts command
| 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 323 of file attempts.c.
Here is the call graph for this function:| void display_attempts_help | ( | int | page | ) |
Help screens for the attempts command
| page | which help screen to display |
Definition at line 58 of file attempts.c.
Here is the caller graph for this function:| void help_Attempts | ( | ) |
Help screen wrapper. Used by cmd_Help()
Definition at line 110 of file attempts.c.
Here is the call graph for this function:| int help_Attempts2 | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Help screen wrapper for the attempts help function.
| 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 127 of file attempts.c.
Here is the call graph for this function:| int list_attempts | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
attempts list mode. List registered failed attempts
| 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 152 of file attempts.c.
Here is the call graph for this function:| int modify_attempts | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Function for modifying attempts records in the database.
| 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 225 of file attempts.c.
Here is the call graph for this function:
1.7.1