httpdirfs/data.h

19 lines
294 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 02:27:03 +02:00
struct BufferStruct {
size_t size;
2018-07-23 02:27:03 +02:00
char *data;
};
2018-07-20 03:09:51 +02:00
#endif