SNMP.MIB (snmp_ex v0.4.2)

Functions for working with SNMP MIBs.

Link to this section Summary

Functions

Compile the MIB in mib_file with includes from include_paths.

Compile all .mib files in mib_dirs.

Link to this section Types

Link to this type

include_paths()

@type include_paths() :: [String.t()]
@type mib_dir() :: String.t()
@type mib_file() :: String.t()

Link to this section Functions

Link to this function

compile(mib_file, include_paths)

@spec compile(mib_file(), include_paths()) :: {:ok, term()} | {:error, term()}

Compile the MIB in mib_file with includes from include_paths.

Link to this function

compile_all(mib_dirs)

@spec compile_all(mib_dir() | [mib_dir(), ...]) :: [
  {mib_file(), {:ok, term()} | {:error, term()}},
  ...
]

Compile all .mib files in mib_dirs.