diff options
Diffstat (limited to 'src/openlmi.h')
-rw-r--r-- | src/openlmi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/openlmi.h b/src/openlmi.h index 9b27d07..6ab4158 100644 --- a/src/openlmi.h +++ b/src/openlmi.h @@ -65,6 +65,16 @@ int lmi_log_level(void); */ void lmi_set_log_level(int level); +/** + * Add an instance \p w to the result \p cr. + * + * @param cr CMPIResult where should be the instance added + * @param w instance to add + * @retval true if succeeds + * @retval false if addition fails + */ +#define LMI_ReturnInstance(cr, w) KOkay(__KReturnInstance((cr), &(w).__base)) + enum { _LMI_DEBUG_NONE=0, _LMI_DEBUG_ERROR, _LMI_DEBUG_WARN, _LMI_DEBUG_INFO, _LMI_DEBUG_DEBUG |