[][src]Module sudo_plugin::plugin

Utilities for wrapping sudo plugins and the values they're configured with.

Structs

OptionMap

A HashMap-like list of options parsed from the pointers provided by the underlying sudo plugin API.

Plugin

An implementation of a sudo plugin, initialized and parsed from the values passed to the underlying open callback.

Printf

A facility implementing std::io::Write that allows printing output to the user invoking sudo. Technically, the user may not be present on a local tty, but this will be wired up to a printf-like function that outputs to either STDOUT or STDERR.

Tty

A facility implementing std::io::Write that allows printing output to directly to the terminal of the user invoking sudo.