Struct PntosPreprocessor

Struct Documentation

struct PntosPreprocessor

A preprocessor.

UNSTABLE: This feature is unstable and is not yet considered part of the stable pntOS API. Usage of this feature is highly discouraged in non-experimental code, and its definition may change at any time.

Public Members

PntosManagedMemory *memory
PntosMessageArray *(*process_pntos_message)(struct PntosPreprocessor *self, PntosMessage *message)
Param message

A message to be processed.

Return

An array of messages. Usually this will be a single message, a modified version of message. It could be NULL if message is rejected or dropped. The preprocessor could also accumulate several messages, returning NULL for each one then returning an array with multiple processed messages. While the PntosMessageArray may be NULL, all elements in the array should not be NULL.