Re: [PATCH 27/37] util: xml: Introduce VIR_XPATH_NODE_AUTORESTORE_NAME

2022-09-26 Thread Ján Tomko
On a Monday in 2022, Peter Krempa wrote: VIR_XPATH_NODE_AUTORESTORE_NAME is a more generic version of the VIR_XPATH_NODE_AUTORESTORE macro used to save the 'node' inside a XPath context struct. The new macro allows specifying the name of the variable used to save the context so that it can be

[PATCH 27/37] util: xml: Introduce VIR_XPATH_NODE_AUTORESTORE_NAME

2022-09-19 Thread Peter Krempa
VIR_XPATH_NODE_AUTORESTORE_NAME is a more generic version of the VIR_XPATH_NODE_AUTORESTORE macro used to save the 'node' inside a XPath context struct. The new macro allows specifying the name of the variable used to save the context so that it can be used multiple times inside a function's