TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishMisc.h
Go to the documentation of this file.
1
11#ifndef DXE_REDFISH_MISC_LIB_H_
12#define DXE_REDFISH_MISC_LIB_H_
13
14#include <Library/BaseLib.h>
16#include <Library/DebugLib.h>
17#include <Library/JsonLib.h>
19#include <Library/PrintLib.h>
20#include <Library/RedfishLib.h>
21#include <Library/UefiLib.h>
23#include <redfish.h>
24
25#define ARRAY_SIZE(Array) (sizeof (Array) / sizeof ((Array)[0]))
26
44REDFISH_SERVICE
46 IN REDFISH_CONFIG_SERVICE_INFORMATION *RedfishConfigServiceInfo,
48 IN CHAR8 *UserId,
49 IN CHAR8 *Password
50 );
51
78 OUT CHAR8 **UserId,
79 OUT CHAR8 **Password
80 );
81
82#endif
EDKII_REDFISH_AUTH_METHOD
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS RedfishGetAuthInfo(OUT EDKII_REDFISH_AUTH_METHOD *AuthMethod, OUT CHAR8 **UserId, OUT CHAR8 **Password)
Definition: RedfishMisc.c:136
REDFISH_SERVICE RedfishCreateLibredfishService(IN REDFISH_CONFIG_SERVICE_INFORMATION *RedfishConfigServiceInfo, IN EDKII_REDFISH_AUTH_METHOD AuthMethod, IN CHAR8 *UserId, IN CHAR8 *Password)
Definition: RedfishMisc.c:71
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29