// Copyright 2011-2020 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC

#ifndef SERD_SRC_SINK_H
#define SERD_SRC_SINK_H

#include "serd/event.h"
#include "serd/memory.h"
#include "serd/sink.h"

/**
   An interface that receives a stream of RDF data.
*/
struct SerdSinkImpl {
  SerdAllocator* allocator;
  void*          handle;
  SerdFreeFunc   free_handle;
  SerdEventFunc  on_event;
};

#endif // SERD_SRC_SINK_H