go/src/net/nss.go

const nssConfigPath

var nssConfig

type nsswitchConfig

func getSystemNSS() *nssConf {}

// init initializes conf and is only called via conf.initOnce.
func (conf *nsswitchConfig) init() {}

// tryUpdate tries to update conf.
func (conf *nsswitchConfig) tryUpdate() {}

func (conf *nsswitchConfig) acquireSema() {}

func (conf *nsswitchConfig) tryAcquireSema() bool {}

func (conf *nsswitchConfig) releaseSema() {}

type nssConf

type nssSource

// standardCriteria reports all specified criteria have the default
// status actions.
func (s nssSource) standardCriteria() bool {}

type nssCriterion

// standardStatusAction reports whether c is equivalent to not
// specifying the criterion at all. last is whether this criteria is the
// last in the list.
func (c nssCriterion) standardStatusAction(last bool) bool {}

func parseNSSConfFile(file string) *nssConf {}

func parseNSSConf(f *file) *nssConf {}

// parses "foo=bar !foo=bar"
func parseCriteria(x string) (c []nssCriterion, err error) {}