Defines | Functions

attempts.c File Reference

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)

Detailed Description

eurephiadm attempts command. Show/edit records in the attempts table.

Author:
David Sommerseth <dazo@users.sourceforge.net>
Date:
2009-05-06

Definition in file attempts.c.


Define Documentation

#define MODULE   "eurephia::Attempts"

Need to define the active module before including argparser.h

Definition at line 39 of file attempts.c.


Function Documentation

int cmd_Attempts ( eurephiaCTX ctx,
eurephiaSESSION sess,
eurephiaVALUES cfg,
int  argc,
char **  argv 
)

Main function for the attempts command

Parameters:
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
Returns:
returns 0 on success, otherwise 1.

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

Parameters:
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.

Parameters:
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
Returns:
returns 0 on success, otherwise 1.

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

Parameters:
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
Returns:
returns 0 on success, otherwise 1.

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.

Parameters:
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
Returns:
returns 0 on success, otherwise 1.

Definition at line 225 of file attempts.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines