CTLSEQS_MATCHER_INIT(3) ctlseqs CTLSEQS_MATCHER_INIT(3)

ctlseqs_matcher_init - initialize control sequence matcher

#include <ctlseqs.h>
struct ctlseqs_matcher *ctlseqs_matcher_init(void);

Creates a control sequence matcher, which can be configured with ctlseqs_matcher_config.

Instance of a matcher should be freed with ctlseqs_matcher_free.

Returns a pointer to opaque type struct ctlseqs_matcher holding the matcher instance.

If the function fails to allocate sufficient memory, returns NULL.

Copyright (c) 2020,2021 CismonX <admin@cismon.net>

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty, provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

ctlseqs_matcher_config(3), ctlseqs_matcher_free(3)
September 1, 2020 0.1.0