varnish-sys 0.7.2

A Rust framework for creating Varnish Caching Proxy extensions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::ffi;

#[derive(Debug, Clone)]
pub struct Acl {
    pub raw: ffi::VCL_ACL,
}

impl Acl {
    /// Retun the `C` pointer to the underlying ACL.
    pub unsafe fn vcl_ptr(&self) -> ffi::VCL_ACL {
        self.raw
    }
}