Skip to content

Commit 7f67b67

Browse files
de-nordiccarlescufi
authored andcommitted
mgmt/mcumgr: Remove declaration of mgmt_streamer_trim_front
The commit removes declaration of functions mgmt_streamer_trim_front and mgmt_streamer_init_reader as they no longer have definitions. Signed-off-by: Dominik Ermel <[email protected]>
1 parent 84345a4 commit 7f67b67

File tree

1 file changed

+0
-24
lines changed
  • subsys/mgmt/mcumgr/lib/mgmt/include/mgmt

1 file changed

+0
-24
lines changed

subsys/mgmt/mcumgr/lib/mgmt/include/mgmt/mgmt.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -194,30 +194,6 @@ struct mgmt_group {
194194
uint16_t mg_group_id;
195195
};
196196

197-
/**
198-
* @brief Uses the specified streamer to trim data from the front of a buffer.
199-
*
200-
* If the amount to trim exceeds the size of the buffer, the buffer is
201-
* truncated to a length of 0.
202-
*
203-
* @param streamer The streamer providing the callback.
204-
* @param buf The buffer to trim.
205-
* @param len The number of bytes to remove.
206-
*/
207-
void mgmt_streamer_trim_front(struct mgmt_streamer *streamer, void *buf, size_t len);
208-
209-
/**
210-
* @brief Uses the specified streamer to initialize a CBOR reader.
211-
*
212-
* @param streamer The streamer providing the callback.
213-
* @param reader The reader to initialize.
214-
* @param buf The buffer to configure the reader with.
215-
*
216-
* @return 0 on success, MGMT_ERR_[...] code on failure.
217-
*/
218-
int mgmt_streamer_init_reader(struct mgmt_streamer *streamer, void *buf);
219-
220-
221197
/**
222198
* @brief Registers a full command group.
223199
*

0 commit comments

Comments
 (0)