35 typedef enum NvPSDEndpoint_t
84 const char* criticalWriteChannel,
const char* criticalReadChannel,
NvPSDErr NvPSDRegisterCallbacks(NvPSDCtx *ctx, NvPSDCallbacks *callbacks)
Registers callbacks PSD.
NvPSDErr
Enumeration of PSD error codes.
Definition: NvPSD.h:29
@ NVPSD_NO_RSP
Definition: NvPSD.h:32
@ NVPSD_FAIL
Definition: NvPSD.h:31
@ NVPSD_SUCCESS
Definition: NvPSD.h:30
NvPSDErr NvPSDExit(NvPSDCtx *ctx)
Exits NvPSD.
NvPSDCtx * NvPSDCreateContext()
Creates a new NvPSD context.
NvPSDErr NvPSDInitialize(NvPSDCtx *ctx, const char *writeChannel, const char *readChannel, const char *criticalWriteChannel, const char *criticalReadChannel, NvPSDEndpoint endpoint)
Initializes NvPSD.
NvPSDEndpoint
Definition: NvPSD.h:36
@ NVPSD_CLIENT
Definition: NvPSD.h:38
@ NVPSD_PSS
Definition: NvPSD.h:37
NvPSDErr NvPSDStart(NvPSDCtx *ctx)
Starts the PSD communication.
void NvPSDDestroyContext(NvPSDCtx *ctx)
Destroys the NvPSD context.
NvPSDErr NvPSDProcessDecisionRequest(NvPSDCtx *ctx, const DecisionRequest *request, DecisionResponse *response)
struct NvPSDCtx * NvPSDCtx_t
Definition: NvPSD.h:60
NvPSDErr NvPSDStop(NvPSDCtx *ctx)
Stops the PSD communication.
Structure for decision request.
Definition: pss_protocol.h:197
Structure for decision response.
Definition: pss_protocol.h:208
Structure for PSD callbacks.
Definition: NvPSD.h:47
NvPSDErr(* notifyShutdownRequest)(void)
Definition: NvPSD.h:53
NvPSDErr(* processDecisionRequest)(const DecisionRequest *request, DecisionResponse *response)
Definition: NvPSD.h:49
NvPSDErr(* publishDecisionResponse)(const DecisionResponse *response)
Definition: NvPSD.h:51