Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

cifhandler.h File Reference


Detailed Description

DEPRECATED

The cifhandler (Control Interface Handler) is an extension of wwwhanlder, the simple http server.

Supports these standard requests:

Supports these Aware requests:

rrdgrf?<rrdcgitemplate>
Run rrdcgi on <rrdcgitemplate>, which is an RRD html template for graphs.
lslogs?
Return html page with list of log files (including rotated files) and links to html and plain text versions.
getloghtml?<logfile>
Return log data from < logfile > as html file, sorted most recent to least recent.
getlog?<logfile>
Return log data from < logfile > as plain text.

#include "monitor.h"
#include "wwwhandler.h"

Go to the source code of this file.

Typedefs

typedef aw_wwwhandler_t aw_cifhandler_t

Functions

aw_cifhandler_t * aw_create_cifhandler (u_int32_t port, u_int8_t *docroot, aw_logger_t *logger)
 Create a cif handler.

void aw_free_cifhandler (aw_cifhandler_t *p)
 Free handler and all associated resources.


Typedef Documentation

typedef aw_wwwhandler_t aw_cifhandler_t
 

cifhandler is just a wwwhandler with a cgi table


Function Documentation

aw_cifhandler_t* aw_create_cifhandler (  u_int32_t  port,
u_int8_t *  docroot,
aw_logger_t *  logger
) 
 

Create a cif handler.

aw_create_cifhandler

Parameters:
port Port
docroot Path of root of doc tree
logger Logger object
Returns:
Handler object

void aw_free_cifhandler (  aw_cifhandler_t *  p  ) 
 

Free handler and all associated resources.

aw_free_cifhandler

Parameters:
p The handler

Aware 0.11.1 Copyright (C) 1998-2005 Russell Leighton (russ@elegant-software.com)