Skip to content

Commit

Permalink
Make Intervention fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
quangIO committed Jan 14, 2024
1 parent 21ed171 commit a95032e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "modsecurity-rs"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
authors = ["Quang Luong <[email protected]>"]
description = "Safe wrapper around libmodsecurity"
Expand Down
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ pub struct Transaction<'m, 'r> {
#[allow(dead_code)]
#[derive(Debug, Clone)]
pub struct Intervention {
status: u16,
pause: bool,
url: String,
log: String,
disruptive: bool,
pub status: u16,
pub pause: bool,
pub url: String,
pub log: String,
pub disruptive: bool,
}

unsafe fn lossy_string_from_ptr(ptr: *mut i8) -> String {
Expand Down

0 comments on commit a95032e

Please sign in to comment.