MCPcopy Create free account
hub / github.com/Macmod/godap / GetControl

Method GetControl

pkg/sdl/SDTypeStructures.go:165–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165func (sd *SecurityDescriptor) GetControl() int {
166 return ldaputils.HexToInt(ldaputils.EndianConvert(sd.Header.Control))
167}
168
169func (sd *SecurityDescriptor) SetControl(control int) {
170 sd.Header.Control = ldaputils.EndianConvert(fmt.Sprintf("%04x", control))

Callers 2

updateDaclEntriesFunction · 0.80

Calls 2

HexToIntFunction · 0.92
EndianConvertFunction · 0.92

Tested by

no test coverage detected