source: main/trunk/greenstone2/runtime-src/packages/security/gs-code-changes/esapitools.h@ 28886

Last change on this file since 28886 was 28886, checked in by ak19, 10 years ago

Additions to the OWASP-for-C++ security package, even though we are no longer using this now. Adding Dr Bainbridge's new files esapitools.cpp and .h, in case we use this in future, along with its Makefile.in. Adding configure files to enable/disable the security package. (The Makefile in runtime-src/packages is not yet complete.)

File size: 604 bytes
Line 
1#ifndef ESAPITOOLS_H
2#define ESAPITOOLS_H
3
4#include "EsapiCommon.h"
5#include "Encoder.h"
6using esapi::Encoder;
7#include "EsapiTypes.h"
8#include "reference/DefaultEncoder.h"
9using esapi::DefaultEncoder;
10#include "util/TextConvert.h"
11using esapi::TextConvert;
12
13#include "text_t.h"
14
15esapi::NarrowString text_t_to_esapi_narrow_string(text_t& in);
16esapi::WideString text_t_to_esapi_wide_string(text_t& in);
17
18text_t esapi_narrow_string_to_text_t(esapi::NarrowString& in);
19text_t esapi_wide_string_to_text_t(esapi::WideString& in);
20
21esapi::NarrowString encodeForHTML(const esapi::NarrowString & input);
22
23#endif
Note: See TracBrowser for help on using the repository browser.