Add _ipmi_get_user_name()

Commit adds function _ipmi_get_user_name() which does nothing but fetches User
Name as per 22.29. There are no print-outs when the called.
This commit is contained in:
Zdenek Styblik
2015-01-08 16:13:51 +01:00
parent d9acbc4cd0
commit 6d1afbf3a7
2 changed files with 40 additions and 1 deletions

View File

@@ -88,8 +88,12 @@ struct user_access_rsp {
#pragma pack(0)
#endif
struct user_name_t {
uint8_t user_id;
uint8_t user_name[17];
};
int ipmi_user_main(struct ipmi_intf *, int, char **);
int _ipmi_get_user_name(struct ipmi_intf *intf, struct user_name_t *user_name);
#endif /* IPMI_USER_H */