Skip to content

Commit

Permalink
Derive Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
polachok committed Apr 7, 2016
1 parent f872742 commit 27f0e05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub const SCMP_ACT_ALLOW: u32 = 0x7fff0000;
/**
* Filter attributes
*/
#[derive(Debug)]
#[repr(C)]
pub enum scmp_filter_attr {
_SCMP_FLTATR_MIN,
Expand All @@ -43,6 +44,7 @@ pub enum scmp_filter_attr {
/**
* Comparison operators
*/
#[derive(Debug)]
#[repr(C)]
pub enum scmp_compare {
_SCMP_CMP_MIN = 0,
Expand All @@ -65,6 +67,7 @@ pub type scmp_datum_t = libc::uint64_t;
/**
* Argument / Value comparison definition
*/
#[derive(Debug)]
#[repr(C)]
pub struct scmp_arg_cmp {
pub arg: libc::c_uint, /** argument number, starting at 0 */
Expand Down

0 comments on commit 27f0e05

Please sign in to comment.