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.

33 lines
448 B

#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