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 */
2018-07-23 02:27:03 +02:00
typedef struct BufferStruct BufferStruct;
2018-07-20 03:09:51 +02:00
2018-07-23 03:39:26 +02:00
struct MemoryStruct {
char *memory;
size_t size;
};
2018-07-20 03:09:51 +02:00
2018-07-23 03:39:26 +02:00
typedef struct MemoryStruct MemoryStruct;
2018-07-20 03:09:51 +02:00
#endif