Searched refs:pDmInfo (Results 1 – 2 of 2) sorted by relevance
67 int32_t drm_parseDM(const uint8_t *buffer, int32_t bufferLen, T_DRM_DM_Info *pDmInfo) in drm_parseDM() argument75 if (NULL == buffer || bufferLen <= 0 || NULL == pDmInfo) in drm_parseDM()93 strncpy((char *)pDmInfo->boundary, (char *)pStart, pEnd - pStart); in drm_parseDM()94 boundaryLen = strlen((char *)pDmInfo->boundary) + 2; /* 2 means: '\r' and '\n' */ in drm_parseDM()100 …pDmInfo->transferEncoding = DRM_MESSAGE_CODING_7BIT; /* According RFC2045 chapter 6.1, the default… in drm_parseDM()101 …strcpy((char *)pDmInfo->contentType, "text/plain"); /* According RFC2045 chapter 5.2, the default… in drm_parseDM()109 if (0 != pDmInfo->deliveryType) { /* This means the delivery type has been confirmed */ in drm_parseDM()115 pDmInfo->transferEncoding = DRM_MESSAGE_CODING_7BIT; in drm_parseDM()117 pDmInfo->transferEncoding = DRM_MESSAGE_CODING_8BIT; in drm_parseDM()119 pDmInfo->transferEncoding = DRM_MESSAGE_CODING_BINARY; in drm_parseDM()[all …]
95 int32_t drm_parseDM(const uint8_t* buffer, int32_t bufferLen, T_DRM_DM_Info* pDmInfo);