22#ifndef PARSER_OPERATIONS_H
23#define PARSER_OPERATIONS_H
70 const char *library_path,
71 const char *grammar_file,
85 const char *grammar_file,
107 const char *fallback_grammar);
117 const char *fallback_grammar);
140 const char *new_library_path,
141 const char *grammar_file,
155 const char *grammar_file);
struct ParserManager ParserManager
Opaque parser manager handle.
ParserManagerStatus
Status codes returned by ParserManager operations.
uint32_t LimePluginHandle
Opaque handle identifying a loaded parser plugin within a manager.
Parser Manager – runtime parser plugin management system.
The plugin interface struct – the contract between the manager and a parser implementation.
Semantic version for a plugin.
Runtime statistics for the parser manager.
uint32_t dynamic_plugins
Loaded from shared libraries.
const char * active_name
Name of active plugin, or NULL.
bool has_active
Whether an active plugin is set.
uint32_t active_capabilities
Bitmap of capabilities advertised by the active plugin.
uint32_t static_plugins
Registered statically.
bool snapshot_available
Whether get_snapshot would return non-NULL.
uint32_t total_plugins
Currently loaded plugins.
LimePluginVersion active_version
Version of the active plugin.
LimePluginHandle active_handle
Handle of the active plugin.
Extended result from a high-level operation.
char * message
Malloc'd detail string, or NULL.
LimePluginHandle handle
Relevant handle, or INVALID.
ParserManagerStatus status
Operation status code.