---
source: varnish-macros/src/tests.rs
---
<!--
!!!!!! WARNING: DO NOT EDIT THIS FILE!
This file was generated from the Varnish VMOD source code.
It will be automatically updated on each build.
-->
# Varnish Module (VMOD) `restrict_scopes`
```vcl
// Place import statement at the top of your VCL file
// This loads vmod from a standard location
import restrict_scopes;
// Or load vmod from a specific file
import restrict_scopes from "path/to/librestrict_scopes.so";
```
### Function `INT restrict_scopes.client_only()`
### Function `INT restrict_scopes.backend_only()`
### Function `INT restrict_scopes.housekeeping_only()`
### Function `INT restrict_scopes.client_or_backend()`
### Function `INT restrict_scopes.recv_only()`
### Function `INT restrict_scopes.recv_or_hash()`
### Function `INT restrict_scopes.backend_subs()`