You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
403 B
19 lines
403 B
3 months ago
|
#pragma once
|
||
|
#include <stdint.h>
|
||
|
|
||
|
typedef struct DataNode DataNode;
|
||
|
|
||
|
DataNode* splitData(unsigned char *buffer, uint32_t bufferSize);
|
||
|
|
||
|
void freeDataNodes(DataNode *head);
|
||
|
|
||
|
void printDataList(DataNode *head);
|
||
|
|
||
|
int getDataNodeCount(DataNode *head);
|
||
|
|
||
|
/**
|
||
|
* @param index is form 1 to n
|
||
|
*/
|
||
|
unsigned char* getDataNodeByIndex(DataNode *head, int index);
|
||
|
uint32_t getImageDataSize(DataNode *head, int index);
|