|
#define | MBG_USER_PERM_STRS |
| Strings for defined user permissions. More...
|
|
#define | MAX_USER_PERM_BYTES 64 |
|
#define | MAX_USER_PERM_BITS MAX_USER_PERM_BYTES * 8 |
|
#define | MAX_USER_CHANNEL_BYTES 16 |
|
#define | MAX_USER_CHANNEL_BITS MAX_USER_CHANNEL_BYTES * 8 |
|
#define | MBG_USER_CHANNEL_STRS |
| Strings for defined user channels. More...
|
|
#define | _set_user_perm(_user_perm_bit, _user_perm_buffp) _set_array_bit( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES ) |
| Set a user permission in a MBG_USER_PERM_BUF. More...
|
|
#define | _clear_user_perm(_user_perm_bit, _user_perm_buffp) _clear_array_bit( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES ) |
| Unset a user permission in a MBG_USER_PERM_BUF. More...
|
|
#define | _check_user_perm(_user_perm_bit, _user_perm_buffp) check_feat_supp_byte_array( _user_perm_bit, (_user_perm_buffp)->b, MAX_USER_PERM_BYTES ) |
| Check a user permission in a MBG_USER_PERM_BUF. More...
|
|
#define | _set_user_channel(_user_channel_bit, _user_channel_buffp) _set_array_bit( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES ) |
| Set a user channel in a MBG_USER_CHANNEL_BUF. More...
|
|
#define | _clear_user_channel(_user_channel_bit, _user_channel_buffp) _clear_array_bit( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES ) |
| Unset a user channel in a MBG_USER_CHANNEL_BUF. More...
|
|
#define | _check_user_channel(_user_channel_bit, _user_channel_buffp) check_feat_supp_byte_array( _user_channel_bit, (_user_channel_buffp)->b, MAX_USER_CHANNEL_BYTES ) |
| Check a user channel in a MBG_USER_CHANNEL_BUF. More...
|
|
#define | _mbg_swab_user_mngmnt_settings(_p) |
|
#define | _mbg_swab_user_mngmnt_info(_p) |
|
#define | MBG_MAX_USER_NAME_LEN 32 |
|
#define | MBG_MAX_USER_PASSWORD_LEN 32 |
|
#define | _mbg_swab_user_settings(_p) |
|
#define | _mbg_swab_user_settings_idx(_p) |
|
#define | _mbg_swab_user_info(_p) |
|
#define | _mbg_swab_user_info_idx(_p) |
|
#define | _mbg_swab_user_status(_p) |
|
#define | _mbg_swab_user_status_idx(_p) |
|
|
enum | MBG_USER_PERMS {
USER_PERM_SYSTEM,
USER_PERM_RECEIVER,
USER_PERM_MRS,
USER_PERM_SERIAL,
USER_PERM_IOPORTS,
USER_PERM_MONITORING,
USER_PERM_NETWORK,
USER_PERM_NTP,
USER_PERM_PTP,
USER_PERM_FDM,
USER_PERM_SENSORS,
USER_PERM_PASSWORD,
USER_PERM_USERS,
USER_PERM_FIRMWARE,
USER_PERM_SERVICE,
USER_PERM_DATABASE,
N_USER_PERMS
} |
|
enum | MBG_USER_SCOPES { USER_SCOPE_STATUS_READ,
USER_SCOPE_CONFIG_READ,
USER_SCOPE_CONFIG_WRITE,
N_USER_SCOPES
} |
|
enum | MBG_USER_SCOPE_MSKS { USER_SCOPE_STATUS_READ_MSK = ( 1UL << USER_SCOPE_STATUS_READ ),
USER_SCOPE_CONFIG_READ_MSK = ( 1UL << USER_SCOPE_CONFIG_READ ),
USER_SCOPE_CONFIG_WRITE_MSK = ( 1UL << USER_SCOPE_CONFIG_WRITE )
} |
|
enum | MBG_USER_CHANNELS {
USER_CHANNEL_WEB_INTERFACE,
USER_CHANNEL_MBGDEVMAN,
USER_CHANNEL_SHELL,
USER_CHANNEL_SNMP,
USER_CHANNEL_NETCONF,
N_USER_CHANNELS
} |
|
enum | MBG_USER_MNGMNT_FLAGS { USER_MNGMNT_SUPP_USER_CFG,
USER_MNGMNT_SUPP_USER_LEVEL_CFG,
N_USER_MNGMNT_FLAGS
} |
|
enum | MBG_USER_MNGMNT_FLAG_MASKS { USER_MNGMNT_SUPP_USER_CFG_MASK = ( 1UL << USER_MNGMNT_SUPP_USER_CFG ),
USER_MNGMNT_SUPP_USER_LEVEL_CFG_MASK = ( 1UL << USER_MNGMNT_SUPP_USER_LEVEL_CFG )
} |
|
enum | MBG_USER_TYPE { USER_TYPE_USER,
USER_TYPE_LEVEL,
N_USER_TYPES
} |
|
enum | MBG_USER_CFG_FLAGS {
USER_CFG_CAN_LOGIN,
USER_CFG_CAN_REMOVE,
USER_CFG_CAN_DISABLE_ON_FAILS,
USER_CFG_MULTI_SESSION,
USER_CFG_FORCE_CHANGE_ON_WARN,
USER_CFG_FORCE_DISABLE_ON_EXP,
USER_CFG_PASSWORD_CHANGED,
N_USER_CFG_FLAGS
} |
|
enum | MBG_USER_CFG_FLAG_MASKS {
USER_CFG_CAN_LOGIN_MASK = ( 1UL << USER_CFG_CAN_LOGIN ),
USER_CFG_CAN_REMOVE_MASK = ( 1UL << USER_CFG_CAN_REMOVE ),
USER_CFG_CAN_DISABLE_ON_FAILS_MASK = ( 1UL << USER_CFG_CAN_DISABLE_ON_FAILS ),
USER_CFG_MULTI_SESSION_MASK = ( 1UL << USER_CFG_MULTI_SESSION ),
USER_CFG_FORCE_CHANGE_ON_WARN_MASK = ( 1UL << USER_CFG_FORCE_CHANGE_ON_WARN ),
USER_CFG_FORCE_DISABLE_ON_EXP_MASK = ( 1UL << USER_CFG_FORCE_DISABLE_ON_EXP ),
USER_CFG_PASSWORD_CHANGED_MASK = ( 1UL << USER_CFG_PASSWORD_CHANGED )
} |
|
enum | MBG_USER_STAT_FLAGS {
USER_STAT_PASSWORD_WARN,
USER_STAT_PASSWORD_EXP,
USER_STAT_DISABLED_ON_EXP,
USER_STAT_DISABLED_ON_MAX_FAILS,
N_USER_STAT_FLAGS
} |
|
enum | MBG_USER_STAT_FLAG_MASKS { USER_STAT_PASSWORD_WARN_MASK = ( 1UL << USER_STAT_PASSWORD_WARN ),
USER_STAT_PASSWORD_EXP_MASK = ( 1UL << USER_STAT_PASSWORD_EXP ),
USER_STAT_DISABLED_ON_EXP_MASK = ( 1UL << USER_STAT_DISABLED_ON_EXP ),
USER_STAT_DISABLED_ON_MAX_FAILS_MASK = ( 1UL << USER_STAT_DISABLED_ON_MAX_FAILS )
} |
|