summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Muck <q270506@QMUC300924.(none)>2011-09-12 13:17:52 +0200
committerChristian Muck <q270506@QMUC300924.(none)>2011-09-12 13:17:52 +0200
commit27b7b432a9de1f9d96aee6a16c6fe04288bacc1d (patch)
tree9bab2b61a897a14f9fe1942fd05874bbc787c1ef /include
parent0e31784368654143b61ce469fa1b5235abfdfc2c (diff)
downloadDLT-daemon-27b7b432a9de1f9d96aee6a16c6fe04288bacc1d.tar.gz
Revert "[GSW-43] Flow Control for sending huge amount of data over DLT. partialy fixed"
This reverts commit 7554585a80ca2a8ebdcd5d1f1693ffe8e39b571d.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/dlt/dlt_common.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h
index c745afc..67371be 100755
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
@@ -555,10 +555,6 @@ typedef struct
uint32_t pos_write; /**< current writing position in bytes*/
uint32_t pos_read; /**< current reading position in bytes*/
uint32_t count; /**< nr. of entries */
- uint32_t minimum_size; /**< minimum value for the buffer */
- uint32_t increasing_size; /**< increasing value for the buffer */
- uint32_t maximum_size; /**< maximum value for the buffer*/
-
} DltRingBuffer;
#ifdef __cplusplus
@@ -942,7 +938,7 @@ extern "C"
* @param size Maximum size of buffer in bytes
* @return negative value if there was an error
*/
- int dlt_ringbuffer_init(DltRingBuffer *dltbuf, uint32_t size, uint32_t increase_size, uint32_t max_size);
+ int dlt_ringbuffer_init(DltRingBuffer *dltbuf, uint32_t size);
/**
* Release and free memory used by ringbuffer
@@ -973,21 +969,6 @@ extern "C"
*/
int dlt_ringbuffer_put3(DltRingBuffer *dltbuf, void *data1, uint32_t size1, void *data2, uint32_t size2, void *data3, uint32_t size3);
- /**
- * This method writes the size of message
- * @param dltbuf Pointer to ringbuffer structure
- * @param data_size Pointer to size of data to be written
- * @param unit_size Size of uint32_t
- */
- void dlt_ringbuffer_putMessageSize(DltRingBuffer *dltbuf,uint32_t * data_size, uint32_t unit_size);
-
- /**
- * This method reads the size of a message
- * @param dltbuf Pointer to ringbuffer structure
- * @param unit_size Size of uint32_t
- * @return size of the message
- */
- int dlt_ringbuffer_getMessageSize(DltRingBuffer *dltbuf, uint32_t unit_size);
/**
* Read one entry from ringbuffer
* @param dltbuf Pointer to ringbuffer structure