spdlog
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
spdlog::sinks::win_eventlog::internal::sid_t Struct Reference

Detailed Description

Wrapper for security identifiers (SID) on Windows

Definition at line 82 of file win_eventlog_sink.h.

#include <win_eventlog_sink.h>

Public Member Functions

 sid_t ()
 
SID * as_sid () const
 

Static Public Member Functions

static sid_t duplicate_sid (PSID psid)
 
static sid_t get_current_user_sid ()
 

Public Attributes

std::vector< charbuffer_
 

Constructor & Destructor Documentation

◆ sid_t()

spdlog::sinks::win_eventlog::internal::sid_t::sid_t ( )
inline

Definition at line 87 of file win_eventlog_sink.h.

Member Function Documentation

◆ as_sid()

SID * spdlog::sinks::win_eventlog::internal::sid_t::as_sid ( ) const
inline

Retrieves pointer to the internal buffer contents as SID*

Definition at line 110 of file win_eventlog_sink.h.

◆ duplicate_sid()

static sid_t spdlog::sinks::win_eventlog::internal::sid_t::duplicate_sid ( PSID  psid)
inlinestatic

creates a wrapped SID copy

Definition at line 90 of file win_eventlog_sink.h.

◆ get_current_user_sid()

static sid_t spdlog::sinks::win_eventlog::internal::sid_t::get_current_user_sid ( )
inlinestatic

Get SID for the current user

Definition at line 116 of file win_eventlog_sink.h.

Member Data Documentation

◆ buffer_

std::vector<char> spdlog::sinks::win_eventlog::internal::sid_t::buffer_

Definition at line 84 of file win_eventlog_sink.h.


The documentation for this struct was generated from the following file: