/*\r
- * FreeRTOS Kernel V10.0.0\r
- * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
+ * FreeRTOS Kernel V10.1.1\r
+ * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
*\r
* Permission is hereby granted, free of charge, to any person obtaining a copy of\r
* this software and associated documentation files (the "Software"), to deal in\r
* subject to the following conditions:\r
*\r
* The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software. If you wish to use our Amazon\r
- * FreeRTOS name, please do so in a fair use way that does not cause confusion.\r
+ * copies or substantial portions of the Software.\r
*\r
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
* then be used as a parameter to xStreamBufferSend(), xStreamBufferReceive(),\r
* etc.\r
*/\r
-typedef void * StreamBufferHandle_t;\r
+struct StreamBufferDef_t;\r
+typedef struct StreamBufferDef_t * StreamBufferHandle_t;\r
\r
\r
/**\r
const void *pvTxData,\r
size_t xDataLengthBytes,\r
TickType_t xTicksToWait );\r
-<pre>\r
+</pre>\r
*\r
* Sends bytes to a stream buffer. The bytes are copied into the stream buffer.\r
*\r
const void *pvTxData,\r
size_t xDataLengthBytes,\r
BaseType_t *pxHigherPriorityTaskWoken );\r
-<pre>\r
+</pre>\r
*\r
* Interrupt safe version of the API function that sends a stream of bytes to\r
* the stream buffer.\r
uint8_t * const pucStreamBufferStorageArea,\r
StaticStreamBuffer_t * const pxStaticStreamBuffer ) PRIVILEGED_FUNCTION;\r
\r
+size_t xStreamBufferNextMessageLengthBytes( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;\r
+\r
#if( configUSE_TRACE_FACILITY == 1 )\r
void vStreamBufferSetStreamBufferNumber( StreamBufferHandle_t xStreamBuffer, UBaseType_t uxStreamBufferNumber ) PRIVILEGED_FUNCTION;\r
UBaseType_t uxStreamBufferGetStreamBufferNumber( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;\r