5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi /* current variables */
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi /* caller provided function table */
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi /* caller provided context */
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi /* last offset, negative counts from end*/
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi /* last width, negative counts from end */
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi /* last zero padding */
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi/* this can be used to register a *global* function that is
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi prepended to function table. These can be used to register some
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi special handling for keys.
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi you can call var_expand_with_funcs if you need to
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi expand something inside here.
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi return -1 on error, 0 on unknown variable, 1 on success
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomivar_expand_extension_func_t(struct var_expand_context *ctx,
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomiint var_expand_long(struct var_expand_context *ctx,
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi/* Functions registered here are placed before in-built functions,
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi so you can include your own implementation of something.
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomi Be careful. Use NULL terminated list.
5c00a22fcca7f68479a8768fec7ace7f679b344dAki Tuomivoid var_expand_register_func_array(const struct var_expand_extension_func_table *funcs);