LMMS
Loading...
Searching...
No Matches
Event Handlers

Typedefs

typedef SerdStatus(* SerdErrorSink) (void *SERD_NULLABLE handle, const SerdError *SERD_NONNULL error)
typedef SerdStatus(* SerdBaseSink) (void *SERD_NULLABLE handle, const SerdNode *SERD_NONNULL uri)
typedef SerdStatus(* SerdPrefixSink) (void *SERD_NULLABLE handle, const SerdNode *SERD_NONNULL name, const SerdNode *SERD_NONNULL uri)
typedef SerdStatus(* SerdStatementSink) (void *SERD_NULLABLE handle, SerdStatementFlags flags, const SerdNode *SERD_NULLABLE graph, const SerdNode *SERD_NONNULL subject, const SerdNode *SERD_NONNULL predicate, const SerdNode *SERD_NONNULL object, const SerdNode *SERD_NULLABLE object_datatype, const SerdNode *SERD_NULLABLE object_lang)
typedef SerdStatus(* SerdEndSink) (void *SERD_NULLABLE handle, const SerdNode *SERD_NONNULL node)

Detailed Description

Typedef Documentation

◆ SerdBaseSink

typedef SerdStatus(* SerdBaseSink) (void *SERD_NULLABLE handle, const SerdNode *SERD_NONNULL uri)

Sink (callback) for base URI changes

Called whenever the base URI of the serialisation changes.

◆ SerdEndSink

typedef SerdStatus(* SerdEndSink) (void *SERD_NULLABLE handle, const SerdNode *SERD_NONNULL node)

Sink (callback) for anonymous node end markers

This is called to indicate that the anonymous node with the given value will no longer be referred to by any future statements (i.e. the anonymous serialisation of the node is finished).

◆ SerdErrorSink

typedef SerdStatus(* SerdErrorSink) (void *SERD_NULLABLE handle, const SerdError *SERD_NONNULL error)

Sink (callback) for errors.

Parameters
handleHandle for user data.
errorError description.

◆ SerdPrefixSink

Sink (callback) for namespace definitions

Called whenever a prefix is defined in the serialisation.

◆ SerdStatementSink

Sink (callback) for statements

Called for every RDF statement in the serialisation.