#include <libxml/tree.h>
Go to the source code of this file.
◆ pcmk_cib_parent_name_for()
      
        
          | const char* pcmk_cib_parent_name_for  | 
          ( | 
          const char *  | 
          element_name | ) | 
           | 
        
      
 
Get the parent element name of a given CIB element name. 
- Parameters
 - 
  
    | [in] | element_name | Name of CIB element | 
  
   
- Returns
 - Parent element of 
element_name (or NULL if none or unknown)  
- Note
 - The return value is constant and should not be freed. 
 
Definition at line 150 of file cib.c.
 
 
◆ pcmk_cib_xpath_for()
      
        
          | const char* pcmk_cib_xpath_for  | 
          ( | 
          const char *  | 
          element_name | ) | 
           | 
        
      
 
Get the relative XPath needed to find a specified CIB element name. 
- Parameters
 - 
  
    | [in] | element_name | Name of CIB element | 
  
   
- Returns
 - XPath for finding 
element_name in CIB XML (or NULL if unknown)  
- Note
 - The return value is constant and should not be freed. 
 
Definition at line 112 of file cib.c.
 
 
◆ pcmk_find_cib_element()
      
        
          | xmlNode* pcmk_find_cib_element  | 
          ( | 
          xmlNode *  | 
          cib,  | 
        
        
           | 
           | 
          const char *  | 
          element_name  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Find an element in the CIB. 
- Parameters
 - 
  
    | [in,out] | cib | Top-level CIB XML to search  | 
    | [in] | element_name | Name of CIB element to search for | 
  
   
- Returns
 - XML element in 
cib corresponding to element_name (or cib itself if element is unknown or not found)  
Definition at line 172 of file cib.c.