Skip to content

Commit

Permalink
Expose IBV_LINK_LAYER_.* constants (#42)
Browse files Browse the repository at this point in the history
These are useful for matching against and providing some known constant
numeric values with meaningful names.

Fixes #40.
  • Loading branch information
jonhoo authored Dec 27, 2024
1 parent 67b300e commit 4c1cd7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibverbs-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ fn main() {
.clang_arg(format!("-I{built_in}/include/"))
.allowlist_function("ibv_.*")
.allowlist_type("ibv_.*")
.allowlist_var("IBV_LINK_LAYER_.*")
.bitfield_enum("ibv_access_flags")
.bitfield_enum("ibv_qp_attr_mask")
.bitfield_enum("ibv_wc_flags")
Expand Down

0 comments on commit 4c1cd7e

Please sign in to comment.