eurephiadm blacklist command. Show and edit the eurephia blacklists 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 blacklist.c:Go to the source code of this file.
Defines | |
| #define | MODULE "eurephia::Blacklist" |
Functions | |
| void | display_blacklist_help (int page) |
| void | help_Blacklist () |
| int | help_Blacklist2 (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
| int | list_blacklist (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
| int | modify_blacklist (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
| int | cmd_Blacklist (eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) |
eurephiadm blacklist command. Show and edit the eurephia blacklists
Definition in file blacklist.c.
| #define MODULE "eurephia::Blacklist" |
Need to define the active module before including argparser.h
Definition at line 40 of file blacklist.c.
| int cmd_Blacklist | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Main function for the the blacklist 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 blacklist.c.
Here is the call graph for this function:| void display_blacklist_help | ( | int | page | ) |
Help screens for the blacklist command
| page | which help screen to display |
Definition at line 60 of file blacklist.c.
Here is the caller graph for this function:| void help_Blacklist | ( | ) |
Help screen wrapper. Used by cmd_Help()
Definition at line 111 of file blacklist.c.
Here is the call graph for this function:| int help_Blacklist2 | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Help screen wrapper for the blacklist 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 128 of file blacklist.c.
Here is the call graph for this function:| int list_blacklist | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
blacklist list mode. Lists all blacklisted certificates, user account and/or IP addresses.
| 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 153 of file blacklist.c.
Here is the call graph for this function:| int modify_blacklist | ( | eurephiaCTX * | ctx, | |
| eurephiaSESSION * | sess, | |||
| eurephiaVALUES * | cfg, | |||
| int | argc, | |||
| char ** | argv | |||
| ) |
Function for modifying the blacklists
| 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 blacklist.c.
Here is the call graph for this function:
1.7.1