OpenVPN 3 Core Library
Loading...
Searching...
No Matches
enumdir.hpp File Reference
#include <sys/types.h>
#include <dirent.h>
#include <string>
#include <vector>
#include <utility>
#include <memory>
#include <algorithm>
#include <functional>
#include <openvpn/common/size.hpp>
#include <openvpn/common/exception.hpp>
#include <openvpn/common/uniqueptr.hpp>
Include dependency graph for enumdir.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openvpn
 Support deferred server-side state creation when client connects.
 

Functions

 openvpn::OPENVPN_EXCEPTION (enum_dir_error)
 
template<typename F >
bool openvpn::enum_dir (const std::string &dirname, F func)
 
std::vector< std::string > openvpn::enum_dir (const std::string &dirname, const size_t size_hint=0, const bool sort=false)