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.

39 lines
530 B

#ifndef WFP_MESSAGE_H
#define WFP_MESSAGE_H
#ifndef __cplusplus
#include <stddef.h>
#else
#include <cstddef>
using std::size_t;
#endif
#include "webfuse_provider/impl/util/slist.h"
struct wfp_message
{
struct wfp_slist_item item;
char * data;
char * raw_data;
size_t length;
};
#ifdef __cplusplus
extern "C"
{
#endif
extern struct wfp_message *
wfp_message_create(
char * data,
size_t length);
extern void wfp_message_dispose(
struct wfp_message * message);
#ifdef __cplusplus
}
#endif
#endif