TianoCore EDK2
master
Loading...
Searching...
No Matches
redfishPayload.h
Go to the documentation of this file.
1
19
#ifndef LIBREDFISH_REDFISH_PAYLOAD_H_
20
#define LIBREDFISH_REDFISH_PAYLOAD_H_
21
22
#include <
Include/Library/RedfishCrtLib.h
>
23
#include <
Library/JsonLib.h
>
24
#include <jansson.h>
25
#include <
redfishService.h
>
26
#include <
redpath.h
>
27
28
redfishPayload
*
29
createRedfishPayload (
30
json_t *value,
31
redfishService
*service
32
);
33
34
redfishPayload
*
35
getPayloadByNodeName (
36
redfishPayload
*payload,
37
const
char
*nodeName,
38
EFI_HTTP_STATUS_CODE
**StatusCode
39
);
40
41
redfishPayload
*
42
getPayloadByIndex (
43
redfishPayload
*payload,
44
size_t
index,
45
EFI_HTTP_STATUS_CODE
**StatusCode
46
);
47
48
redfishPayload
*
49
getPayloadForPath (
50
redfishPayload
*payload,
51
redPathNode
*redpath,
52
EFI_HTTP_STATUS_CODE
**StatusCode
53
);
54
55
redfishPayload
*
56
getPayloadForPathString (
57
redfishPayload
*payload,
58
const
char
*
string
,
59
EFI_HTTP_STATUS_CODE
**StatusCode
60
);
61
62
redfishPayload
*
63
patchPayload (
64
redfishPayload
*target,
65
redfishPayload
*payload,
66
EFI_HTTP_STATUS_CODE
**StatusCode
67
);
68
69
redfishPayload
*
70
postContentToPayload (
71
redfishPayload
*target,
72
const
char
*data,
73
size_t
dataSize,
74
const
char
*contentType,
75
EFI_HTTP_STATUS_CODE
**StatusCode
76
);
77
78
redfishPayload
*
79
postPayload (
80
redfishPayload
*target,
81
redfishPayload
*payload,
82
EFI_HTTP_STATUS_CODE
**StatusCode
83
);
84
85
void
86
cleanupPayload (
87
redfishPayload
*payload
88
);
89
90
bool
91
isPayloadCollection (
92
redfishPayload
*Payload
93
);
94
95
size_t
96
getCollectionSize (
97
redfishPayload
*payload
98
);
99
100
redfishPayload
*
101
getPayloadByIndex (
102
redfishPayload
*payload,
103
size_t
index,
104
EFI_HTTP_STATUS_CODE
**StatusCode
105
);
106
107
#endif
JsonLib.h
EFI_HTTP_STATUS_CODE
EFI_HTTP_STATUS_CODE
Definition:
Http.h:59
RedfishCrtLib.h
redfishService.h
redpath.h
_redPathNode
Definition:
redpath.h:25
redfishPayload
Definition:
redfishService.h:55
redfishService
Definition:
redfishService.h:41
RedfishPkg
PrivateLibrary
RedfishLib
edk2libredfish
include
redfishPayload.h
Generated on Fri Nov 15 2024 18:01:23 for TianoCore EDK2 by
1.9.6