ec_message_register_parser

March 26, 2020 Contributors

Name

ec_message_register_parser — Replaces the core message parser

Synopsis

#include "ec_message.h"

| int **ec_message_register_parser** ( | parser); |   |

struct ec_message_parser * <var class="pdparam">parser</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Replaces the core message parser.

If you want to replace the core message parser with your own implementation, you would do so by calling this function during the post_init phase.

Parameters

parser

the replacement parser.

Return Values

Returns 0 on failure, 1 on success.