SwapMetaOut.h File Reference
#include "base/HardFun.h"
#include "store/forward.h"
#include <memory>
Include dependency graph for SwapMetaOut.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Store
 

Typedefs

using AllocedBuf = std::unique_ptr< void, HardFun< void, const void *, &xfree_cpp > >
 memory allocated by xmalloc() or xcalloc(), to be freed by xfree() More...
 

Functions

void xfree_cpp (const void *const x)
 
AllocedBuf Store::PackSwapMeta (const StoreEntry &, size_t &size)
 

Typedef Documentation

◆ AllocedBuf

using AllocedBuf = std::unique_ptr<void, HardFun<void, const void *, &xfree_cpp> >

Definition at line 24 of file SwapMetaOut.h.

Function Documentation

◆ xfree_cpp()

void xfree_cpp ( const void *const  x)
inline

C++ wrapper for the legacy xmalloc()/xcalloc() deallocator

See also
xfree_cppwrapper() with a slightly different (FREE-matching) signature.

Definition at line 20 of file SwapMetaOut.h.

References xfree.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors