VirtualBox

Changeset 26111 in vbox for trunk/include


Ignore:
Timestamp:
Feb 1, 2010 1:41:24 AM (15 years ago)
Author:
vboxsync
Message:

CFGM: Added CFGMR3ValidateConfig as a replacement for CFGMR3AreChildrenValid and CFGMR3AreValuesValid.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cfgm.h

    r22334 r26111  
    177177VMMR3DECL(CFGMVALUETYPE) CFGMR3GetValueType(PCFGMLEAF pCur);
    178178VMMR3DECL(bool)         CFGMR3AreValuesValid(PCFGMNODE pNode, const char *pszzValid);
     179VMMR3DECL(int)          CFGMR3ValidateConfig(PCFGMNODE pNode, const char *pszNode,
     180                                             const char *pszValidValues, const char *pszValidNodes,
     181                                             const char *pszWho, uint32_t uInstance);
     182
    179183/** @} */
    180184
  • trunk/include/VBox/err.h

    r26066 r26111  
    737737/** A new leaf couldn't be inserted because one with the same name exists. */
    738738#define VERR_CFGM_LEAF_EXISTS               (-2162)
     739/** An unknown config value was encountered. */
     740#define VERR_CFGM_CONFIG_UNKNOWN_VALUE      (-2163)
     741/** An unknown config node (key) was encountered. */
     742#define VERR_CFGM_CONFIG_UNKNOWN_NODE       (-2164)
    739743/** @} */
    740744
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette