ESAPI-C 1.0
The OWASP Enterprise Security API for C

esapi.h File Reference

ESAPI Configuration module header. More...

Go to the source code of this file.

Data Structures

struct  esapi_ctx
 All of the persistable settings used by the ESAPI. More...

Functions

struct esapi_ctxload_security_context (const char *)
 Load the ESAPI configuration.

Detailed Description

ESAPI Configuration module header.

The configuration data is persisted in an ESAPI.properties file. You can edit the ESAPI.properties to set things like master keys and passwords, logging locations, error thresholds, and allowed file extensions.

Warning:
Do not forget to update ESAPI.properties to change the master key and other security critical settings.
Since:
January 30, 2011

Definition in file esapi.h.


Function Documentation

struct esapi_ctx* load_security_context ( const char *  ) [read]

Load the ESAPI configuration.

Never prints properties.

This is the function that returns a properly initialized esapi_ctx struct, which some ESAPI functions take as a parameter.

Definition at line 173 of file sec_context.c.

References esapi_log_error(), and esapi_log_warn().

 All Data Structures Files Functions Variables Typedefs Defines