Skip to main content

varnish_sys/vcl/
acl.rs

1use crate::ffi;
2
3#[derive(Debug, Clone)]
4pub struct Acl {
5    pub raw: ffi::VCL_ACL,
6}
7
8impl Acl {
9    /// Retun the `C` pointer to the underlying ACL.
10    pub unsafe fn vcl_ptr(&self) -> ffi::VCL_ACL {
11        self.raw
12    }
13}