mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
33 lines
448 B
C++
33 lines
448 B
C++
#ifndef _WSFS_MESSAGE_H
|
|
#define _WSFS_MESSAGE_H
|
|
|
|
#ifndef __cplusplus
|
|
#include <stddef.h>
|
|
#else
|
|
#include <cstddef>
|
|
using std::size_t;
|
|
#endif
|
|
|
|
struct wsfs_message
|
|
{
|
|
struct wsfs_message * next;
|
|
char * data;
|
|
size_t length;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern struct wsfs_message * wsfs_message_create(size_t length);
|
|
|
|
extern void wsfs_message_dispose(
|
|
struct wsfs_message * message);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|