Docs.rs
  • sudo_plugin-sys-1.2.1
    • sudo_plugin-sys 1.2.1
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • stouset
    • Dependencies
      • libc ^0 normal
      • bindgen ^0 build
    • Versions
    • 100% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

sudo_plugin_sys1.2.1

  • All Items

Crate Items

  • Structs
  • Constants
  • Type Aliases

Crate sudo_plugin_sys

Source
Expand description

This crate is a (lighly enhanced) set of bindgen-generated Rust FFI bindings for the sudo_plugin(8) facility. In general, it is expected that end-users will prefer to use the handcrafted Rust wrappers from the sudo_plugin crate which accompanies this project.

Structs§

io_plugin
passwd
policy_plugin
sudo_conv_callback
sudo_conv_message
sudo_conv_reply
sudo_hook
sudoers_group_plugin

Constants§

GROUP_API_VERSION_MAJOR
GROUP_API_VERSION_MINOR
SUDO_API_VERSION
SUDO_API_VERSION_MAJOR
SUDO_API_VERSION_MINOR
SUDO_CONV_CALLBACK_VERSION_MAJOR
SUDO_CONV_CALLBACK_VERSION_MINOR
SUDO_CONV_ERROR_MSG
SUDO_CONV_INFO_MSG
SUDO_CONV_PROMPT_ECHO_OFF
SUDO_CONV_PROMPT_ECHO_OK
SUDO_CONV_PROMPT_ECHO_ON
SUDO_CONV_PROMPT_MASK
SUDO_CONV_REPL_MAX
SUDO_HOOK_GETENV
SUDO_HOOK_PUTENV
SUDO_HOOK_RET_ERROR
SUDO_HOOK_RET_NEXT
SUDO_HOOK_RET_STOP
SUDO_HOOK_SETENV
SUDO_HOOK_UNSETENV
SUDO_HOOK_VERSION_MAJOR
SUDO_HOOK_VERSION_MINOR
SUDO_IO_PLUGIN
SUDO_PLUGIN_OPEN_FAILURE
SUDO_PLUGIN_OPEN_GENERAL_ERROR
SUDO_PLUGIN_OPEN_SUCCESS
SUDO_PLUGIN_OPEN_USAGE_ERROR
SUDO_POLICY_PLUGIN

Type Aliases§

sudo_conv_callback_fn_t
sudo_conv_t
sudo_hook_fn_getenv_t
sudo_hook_fn_putenv_t
sudo_hook_fn_setenv_t
sudo_hook_fn_t
sudo_hook_fn_unsetenv_t
sudo_printf_non_null_t
sudo_printf_t