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

mod_macs.h File Reference

Declarations used by all the pieces of the module. More...

#include "httpd.h"
#include "http_log.h"
#include "http_config.h"
#include "http_core.h"
#include "http_protocol.h"
#include "ap_config.h"
#include "libmacs.h"

Go to the source code of this file.

Data Structures

struct  macs_apxs_cfg_struct
 Server configuration data. More...

struct  macs_apxs_dir_cfg_struct
 Directory configuration data. More...


Typedefs

typedef macs_apxs_cfg_struct macs_apxs_cfg
 Server configuration data.

typedef macs_apxs_dir_cfg_struct macs_apxs_dir_cfg
 Directory configuration data.


Functions

const char * macs_apxs_cfdirective (cmd_parms *, void *, const char *)
 Configuration file directive handler.

const char * macs_apxs_secure_dir (cmd_parms *, void *, int)
 Secure directory directive handler.

const char * macs_apxs_map_element (cmd_parms *, void *, const char *, const char *, const char *)
 Configure profile elements to expose.

void macs_apxs_init (server_rec *, pool *)
 Module initializations.

void * macs_apxs_dircfg_init (pool *, char *)
 Directory config block init.

void * macs_apxs_svrcfg_init (pool *, server_rec *)
 Server config block init.

int macs_apxs_authenticate (request_rec *)
 Protects secure URIs.

void macs_apxs_child_init (server_rec *, pool *)
 Initialize connections.

void macs_apxs_child_exit (server_rec *, pool *)
 De-initialize libmacs.

int macs_apxs_expose_upc (request_rec *)
 Exposes each element configured for exposure at this location.

void * macs_apxs_dircfg_merge (pool *, void *, void *)
 Propagates configuration down URL hierarchy.

const char * macs_apxs_map_resource (cmd_parms *, void *, const char *)
 (un)map this location to a MACS resource

const char * macs_apxs_authorize_dir (cmd_parms *, void *, int)
 Set authorization enforcement at this location (or not).

int macs_apxs_authorize (request_rec *)
 Checks authorization.

char * macs_apxs_itoa (long int)
 Converts a number to a string.

int macs_apxs_demapres (macs_apxs_dir_cfg *, request_rec *)
 Performs a resource demapping from uri and stores the result in the dircfg.


Variables

module MODULE_VAR_EXPORT macs_module


Detailed Description

Declarations used by all the pieces of the module.

This file is included by all the source files. It defines common data types, and declares function prototypes, and global variables needed throughout the program. These definitions are in the Common module, while the declared functions and globals are defined elsewhere.


Function Documentation

int macs_apxs_demapres macs_apxs_dir_cfg   dc,
request_rec *    r
 

Performs a resource demapping from uri and stores the result in the dircfg.

Returns:
0 on failure, 1 on success


Generated on Tue Oct 8 22:15:54 2002 for MACS Apache Client Module by doxygen1.2.16