Apache Mesos
Classes | Typedefs | Functions
internal::windows Namespace Reference

Classes

struct  _REPARSE_DATA_BUFFER
 
struct  ProcessData
 
struct  SymbolicLink
 

Typedefs

typedef _PROC_THREAD_ATTRIBUTE_LIST AttributeList
 
typedef struct internal::windows::_REPARSE_DATA_BUFFER REPARSE_DATA_BUFFER
 

Functions

Try< DWORD > get_file_attributes (const std::wstring &path)
 
Result< std::shared_ptr< AttributeList > > create_attributes_list_for_handles (const std::vector< HANDLE > &handles)
 
Try< Nothingset_inherit (const int_fd &fd, const bool inherit)
 
std::wstring longpath (const std::string &path)
 
std::wstring longpath (const std::wstring &path)
 
Try< OVERLAPPED > init_overlapped_for_sync_io ()
 
Result< size_t > process_async_io_result (bool successful_return_code, size_t bytes_transfered)
 
Try< bool > reparse_point_attribute_set (const std::wstring &absolute_path)
 
Try< SymbolicLinkbuild_symbolic_link (const REPARSE_DATA_BUFFER &data)
 
Try< SharedHandleget_handle_follow (const std::string &absolute_path)
 
Try< SharedHandleget_handle_no_follow (const std::string &absolute_path)
 
Try< SymbolicLinkget_symbolic_link_data (const HANDLE handle)
 
Try< Nothingcreate_symbolic_link (const std::string &target, const std::string &reparse_point)
 
Result< std::string > fullpath (const std::string &path)
 
Try< SymbolicLinkquery_symbolic_link_data (const std::string &path)
 
Try< Nothingwait_on_delete (const std::string &path)
 
Option< std::map< std::wstring, std::wstring > > get_system_env ()
 
Option< std::wstring > create_process_env (const Option< std::map< std::string, std::string >> &env)
 
std::wstring stringify_args (const std::vector< std::string > &argv)
 
Try< ProcessDatacreate_process (const std::string &command, const std::vector< std::string > &argv, const Option< std::map< std::string, std::string >> &environment, const bool create_suspended=false, const Option< std::array< int_fd, 3 >> &pipes=None(), const std::vector< int_fd > &whitelist_fds={})
 

Typedef Documentation

typedef _PROC_THREAD_ATTRIBUTE_LIST internal::windows::AttributeList

Function Documentation

Try<SymbolicLink> internal::windows::build_symbolic_link ( const REPARSE_DATA_BUFFER data)
inline
Result<std::shared_ptr<AttributeList> > internal::windows::create_attributes_list_for_handles ( const std::vector< HANDLE > &  handles)
inline
Try<ProcessData> internal::windows::create_process ( const std::string &  command,
const std::vector< std::string > &  argv,
const Option< std::map< std::string, std::string >> &  environment,
const bool  create_suspended = false,
const Option< std::array< int_fd, 3 >> &  pipes = None(),
const std::vector< int_fd > &  whitelist_fds = {} 
)
inline
Option<std::wstring> internal::windows::create_process_env ( const Option< std::map< std::string, std::string >> &  env)
inline
Try<Nothing> internal::windows::create_symbolic_link ( const std::string &  target,
const std::string &  reparse_point 
)
inline
Result<std::string> internal::windows::fullpath ( const std::string &  path)
inline
Try<DWORD> internal::windows::get_file_attributes ( const std::wstring &  path)
inline
Try<SharedHandle> internal::windows::get_handle_follow ( const std::string &  absolute_path)
inline
Try<SharedHandle> internal::windows::get_handle_no_follow ( const std::string &  absolute_path)
inline
Try<SymbolicLink> internal::windows::get_symbolic_link_data ( const HANDLE  handle)
inline
Option<std::map<std::wstring, std::wstring> > internal::windows::get_system_env ( )
inline
Try<OVERLAPPED> internal::windows::init_overlapped_for_sync_io ( )
inline
std::wstring internal::windows::longpath ( const std::string &  path)
inline
std::wstring internal::windows::longpath ( const std::wstring &  path)
inline
Result<size_t> internal::windows::process_async_io_result ( bool  successful_return_code,
size_t  bytes_transfered 
)
inline
Try<SymbolicLink> internal::windows::query_symbolic_link_data ( const std::string &  path)
inline
Try<bool> internal::windows::reparse_point_attribute_set ( const std::wstring &  absolute_path)
inline
Try<Nothing> internal::windows::set_inherit ( const int_fd fd,
const bool  inherit 
)
inline
std::wstring internal::windows::stringify_args ( const std::vector< std::string > &  argv)
inline
Try<Nothing> internal::windows::wait_on_delete ( const std::string &  path)
inline