mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Move #define from ipmi_user.c to ipmi_user.h
Commit moves defines of Set User Password operations to header file.
This commit is contained in:
parent
b591bc2ab7
commit
21151953a5
@ -38,6 +38,11 @@
|
||||
#endif
|
||||
#include <ipmitool/ipmi.h>
|
||||
|
||||
#define IPMI_PASSWORD_DISABLE_USER 0x00
|
||||
#define IPMI_PASSWORD_ENABLE_USER 0x01
|
||||
#define IPMI_PASSWORD_SET_PASSWORD 0x02
|
||||
#define IPMI_PASSWORD_TEST_PASSWORD 0x03
|
||||
|
||||
#define IPMI_USER_ENABLE_UNSPECIFIED 0x00
|
||||
#define IPMI_USER_ENABLE_ENABLED 0x40
|
||||
#define IPMI_USER_ENABLE_DISABLED 0x80
|
||||
|
@ -53,11 +53,6 @@ extern int verbose;
|
||||
extern int csv_output;
|
||||
|
||||
|
||||
#define IPMI_PASSWORD_DISABLE_USER 0x00
|
||||
#define IPMI_PASSWORD_ENABLE_USER 0x01
|
||||
#define IPMI_PASSWORD_SET_PASSWORD 0x02
|
||||
#define IPMI_PASSWORD_TEST_PASSWORD 0x03
|
||||
|
||||
/* _ipmi_get_user_access - Get User Access for given channel. Results are stored
|
||||
* into passed struct.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user