File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1717
1818%module modsecurity
1919
20- %include " std_string.i"
21- %include " std_vector.i"
22- %include " std_sstream.i"
20+ %include <std_string.i>
21+ %include <std_sstream.i>
22+ %include <std_vector.i>
23+ %include <std_map.i>
24+ %include <std_multimap.i>
2325%include " attribute.i"
2426%include " carrays.i"
2527%include " typemaps.i"
4244using std::basic_string;
4345%}
4446
47+ %rename(_del) modsecurity::transaction::Variables::del(const std::string& key);
48+ %rename(_del) modsecurity::transaction::Collections::del(const std::string& key);
49+
50+ %immutable modsecurity::ModSecurityIntervention_t::url;
51+ %immutable modsecurity::ModSecurityIntervention_t::log;
52+
53+ %immutable modsecurity::Transaction::m_clientIpAddress;
54+ %immutable modsecurity::Transaction::m_httpVersion;
55+ %immutable modsecurity::Transaction::m_method;
56+ %immutable modsecurity::Transaction::m_serverIpAddress;
57+ %immutable modsecurity::Transaction::m_uri;
58+
4559%ignore modsecurity::RulesProperties::parserError const ;
4660%ignore modsecurity::Transaction::m_requestBody;
4761%ignore modsecurity::Transaction::m_responseBody;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def find_header(modsec_dir):
9292 library_dirs = [lib_dir ],
9393 runtime_library_dirs = [lib_dir ],
9494 include_dirs = [inc_dir , "." ],
95- extra_compile_args = ["-std=c++11" ]
95+ extra_compile_args = ["-std=c++11" , "-Wno-maybe-uninitialized" ]
9696)
9797
9898
You can’t perform that action at this time.
0 commit comments