httpdirfs/data.h

21 lines
339 B
C
Raw Normal View History

2018-07-20 03:09:51 +02:00
#ifndef DATA_H
#define DATA_H
/**
* \file data.h
* \brief This header stores all the custom data type definition
*/
#include <stdlib.h>
2018-07-20 03:09:51 +02:00
/** \brief use this data type for buffer */
typedef struct MemoryStruct MemoryStruct;
2018-07-20 03:09:51 +02:00
struct MemoryStruct {
size_t size;
char *memory;
};
2018-07-20 03:09:51 +02:00
void MemoryStruct_free(MemoryStruct *ms);
2018-07-20 03:09:51 +02:00
#endif