Defines | Functions

lastlog.c File Reference

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)

Detailed Description

eurephiadm lastlog command. Queries the lastlog database.

Author:
David Sommerseth <dazo@users.sourceforge.net>
Date:
2009-03-24

Definition in file lastlog.c.


Define Documentation

#define MODULE   "eurephia::LastLog"

Need to define the active module before including argparser.h

Definition at line 41 of file lastlog.c.


Function Documentation

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

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 97 of file lastlog.c.

Here is the call graph for this function:

void help_Lastlog (  ) 

Help screen for the lastlog command

Definition at line 59 of file lastlog.c.

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines