]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/include/stream_buffer.h
Update version numbers ready for release.
[freertos] / FreeRTOS / Source / include / stream_buffer.h
index aa6f2962b3263915eb33a9aaef9e626f348b2d66..4268e4b576346ad9889007d598b26571627cb123 100644 (file)
@@ -1,6 +1,6 @@
 /*\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
@@ -10,8 +10,7 @@
  * 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
@@ -62,7 +61,8 @@ extern "C" {
  * 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
@@ -221,7 +221,7 @@ size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
                           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
@@ -318,7 +318,7 @@ size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
                                  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
@@ -840,6 +840,8 @@ StreamBufferHandle_t xStreamBufferGenericCreateStatic( size_t xBufferSizeBytes,
                                                                                                           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