Amazon Kinesis Producer C SDK
Response.c File Reference
#include "Include_i.h"
Include dependency graph for Response.c:

Macros

#define LOG_CLASS   "Response"
 

Functions

STATUS createCurlResponse (PCurlRequest pCurlRequest, PCurlResponse *ppCurlResponse)
 
STATUS freeCurlResponse (PCurlResponse *ppCurlResponse)
 
STATUS initializeCurlSession (PRequestInfo pRequestInfo, PCallInfo pCallInfo, CURL **ppCurl, PVOID data, CurlCallbackFunc writeHeaderFn, CurlCallbackFunc readFn, CurlCallbackFunc writeFn, CurlCallbackFunc responseWriteFn)
 
STATUS closeCurlHandles (PCurlResponse pCurlResponse)
 
VOID terminateCurlSession (PCurlResponse pCurlResponse, UINT64 timeout)
 
VOID dumpResponseCurlEasyInfo (PCurlResponse pCurlResponse)
 
SERVICE_CALL_RESULT getServiceCallResultFromCurlStatus (CURLcode curlStatus)
 
STATUS createCurlHeaderList (PRequestInfo pRequestInfo, struct curl_slist **ppHeaderList)
 
STATUS curlCompleteSync (PCurlResponse pCurlResponse)
 
STATUS notifyDataAvailable (PCurlResponse pCurlResponse, UINT64 durationAvailable, UINT64 sizeAvailable)
 
SIZE_T writeHeaderCallback (PCHAR pBuffer, SIZE_T size, SIZE_T numItems, PVOID customData)
 
SIZE_T postResponseWriteCallback (PCHAR pBuffer, SIZE_T size, SIZE_T numItems, PVOID customData)
 
SIZE_T postWriteCallback (PCHAR pBuffer, SIZE_T size, SIZE_T numItems, PVOID customData)
 
SIZE_T postReadCallback (PCHAR pBuffer, SIZE_T size, SIZE_T numItems, PVOID customData)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "Response"

Kinesis Video Producer Response functionality

Function Documentation

◆ closeCurlHandles()

STATUS closeCurlHandles ( PCurlResponse  pCurlResponse)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createCurlHeaderList()

STATUS createCurlHeaderList ( PRequestInfo  pRequestInfo,
struct curl_slist **  ppHeaderList 
)
Here is the caller graph for this function:

◆ createCurlResponse()

STATUS createCurlResponse ( PCurlRequest  pCurlRequest,
PCurlResponse *  ppCurlResponse 
)

Create Response object

Here is the call graph for this function:
Here is the caller graph for this function:

◆ curlCompleteSync()

STATUS curlCompleteSync ( PCurlResponse  pCurlResponse)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpResponseCurlEasyInfo()

VOID dumpResponseCurlEasyInfo ( PCurlResponse  pCurlResponse)

◆ freeCurlResponse()

STATUS freeCurlResponse ( PCurlResponse *  ppCurlResponse)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getServiceCallResultFromCurlStatus()

SERVICE_CALL_RESULT getServiceCallResultFromCurlStatus ( CURLcode  curlStatus)
Here is the caller graph for this function:

◆ initializeCurlSession()

STATUS initializeCurlSession ( PRequestInfo  pRequestInfo,
PCallInfo  pCallInfo,
CURL **  ppCurl,
PVOID  data,
CurlCallbackFunc  writeHeaderFn,
CurlCallbackFunc  readFn,
CurlCallbackFunc  writeFn,
CurlCallbackFunc  responseWriteFn 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ notifyDataAvailable()

STATUS notifyDataAvailable ( PCurlResponse  pCurlResponse,
UINT64  durationAvailable,
UINT64  sizeAvailable 
)
Here is the caller graph for this function:

◆ postReadCallback()

SIZE_T postReadCallback ( PCHAR  pBuffer,
SIZE_T  size,
SIZE_T  numItems,
PVOID  customData 
)
Here is the caller graph for this function:

◆ postResponseWriteCallback()

SIZE_T postResponseWriteCallback ( PCHAR  pBuffer,
SIZE_T  size,
SIZE_T  numItems,
PVOID  customData 
)
Here is the caller graph for this function:

◆ postWriteCallback()

SIZE_T postWriteCallback ( PCHAR  pBuffer,
SIZE_T  size,
SIZE_T  numItems,
PVOID  customData 
)
Here is the caller graph for this function:

◆ terminateCurlSession()

VOID terminateCurlSession ( PCurlResponse  pCurlResponse,
UINT64  timeout 
)
Here is the caller graph for this function:

◆ writeHeaderCallback()

SIZE_T writeHeaderCallback ( PCHAR  pBuffer,
SIZE_T  size,
SIZE_T  numItems,
PVOID  customData 
)
Here is the call graph for this function:
Here is the caller graph for this function: