#include <dballe/core/vartable.h>
#include <dballe/bufrex/opcode.h>
Go to the source code of this file.
Typedefs | |
| typedef _bufrex_dtable * | bufrex_dtable |
| Opaque structure representing a bufrex_dtable object. | |
Functions | |
| dba_err | bufrex_dtable_create (const char *id, bufrex_dtable *table) |
| Create a new bufrex_dtable structure. | |
| dba_err | bufrex_dtable_query (bufrex_dtable table, dba_varcode var, bufrex_opcode *res) |
| Query the bufrex_dtable. | |
| dba_err bufrex_dtable_create | ( | const char * | id, | |
| bufrex_dtable * | table | |||
| ) |
Create a new bufrex_dtable structure.
| table | The bufrex_dtable structure that can be used to access the table. It is a pointer to a local shared cache that is guaranteed to live until the end of the program, and it does not need to be deallocated. |
| dba_err bufrex_dtable_query | ( | bufrex_dtable | table, | |
| dba_varcode | var, | |||
| bufrex_opcode * | res | |||
| ) |
Query the bufrex_dtable.
| table | bufrex_dtable to query | |
| var | entry code (i.e. DXXYYY as a dba_varcode DBA_VAR(3, xx, yyy). | |
| res | the bufrex_opcode chain that contains the expansion elements (must be deallocated by the caller using bufrex_opcode_delete) |
1.5.2