Apache Mesos
Namespaces | Macros | Functions
su.hpp File Reference
#include <string>
#include <vector>
#include <stout/error.hpp>
#include <stout/nothing.hpp>
#include <stout/result.hpp>
#include <stout/try.hpp>
#include <stout/windows.hpp>
#include <security.h>

Go to the source code of this file.

Namespaces

 os
 

Macros

#define SECURITY_WIN32
 

Functions

Result< uid_tos::getuid (const Option< std::string > &user=None())
 
Result< gid_tos::getgid (const Option< std::string > &user=None())
 
Result< std::string > os::user (Option< uid_t > uid=None())
 
Try< Nothingos::su (const std::string &user)
 

Macro Definition Documentation

#define SECURITY_WIN32