#include <crm_internal.h>
#include <unistd.h>
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <pwd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <glib.h>
#include <crm/crm.h>
#include <crm/cib/internal.h>
#include <crm/msg_xml.h>
#include <crm/common/ipc.h>
#include <crm/common/xml.h>
 
Go to the source code of this file.
 | 
| int  | cib_file_perform_op (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options) | 
|   | 
| int  | cib_file_perform_op_delegate (cib_t *cib, const char *op, const char *host, const char *section, xmlNode *data, xmlNode **output_data, int call_options, const char *user_name) | 
|   | 
| int  | cib_file_signon (cib_t *cib, const char *name, enum cib_conn_type type) | 
|   | 
| int  | cib_file_signoff (cib_t *cib) | 
|   | 
| int  | cib_file_free (cib_t *cib) | 
|   | 
| int  | cib_file_read_and_verify (const char *filename, const char *sigfile, xmlNode **root) | 
|   | 
| int  | cib_file_write_with_digest (xmlNode *cib_root, const char *cib_dirname, const char *cib_filename) | 
|   | 
| cib_t *  | cib_file_new (const char *cib_location) | 
|   | 
      
        
          | #define cib_flag_dirty   0x00001 | 
        
      
 
 
      
        
          | #define cib_flag_live   0x00002 | 
        
      
 
 
      
        
          | #define CIB_SERIES_MAX   100 | 
        
      
 
 
      
        
          | int cib_file_free  | 
          ( | 
          cib_t *  | 
          cib | ) | 
           | 
        
      
 
 
      
        
          | cib_t* cib_file_new  | 
          ( | 
          const char *  | 
          cib_location | ) | 
           | 
        
      
 
 
      
        
          | int cib_file_perform_op  | 
          ( | 
          cib_t *  | 
          cib,  | 
        
        
           | 
           | 
          const char *  | 
          op,  | 
        
        
           | 
           | 
          const char *  | 
          host,  | 
        
        
           | 
           | 
          const char *  | 
          section,  | 
        
        
           | 
           | 
          xmlNode *  | 
          data,  | 
        
        
           | 
           | 
          xmlNode **  | 
          output_data,  | 
        
        
           | 
           | 
          int  | 
          call_options  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int cib_file_perform_op_delegate  | 
          ( | 
          cib_t *  | 
          cib,  | 
        
        
           | 
           | 
          const char *  | 
          op,  | 
        
        
           | 
           | 
          const char *  | 
          host,  | 
        
        
           | 
           | 
          const char *  | 
          section,  | 
        
        
           | 
           | 
          xmlNode *  | 
          data,  | 
        
        
           | 
           | 
          xmlNode **  | 
          output_data,  | 
        
        
           | 
           | 
          int  | 
          call_options,  | 
        
        
           | 
           | 
          const char *  | 
          user_name  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int cib_file_read_and_verify  | 
          ( | 
          const char *  | 
          filename,  | 
        
        
           | 
           | 
          const char *  | 
          sigfile,  | 
        
        
           | 
           | 
          xmlNode **  | 
          root  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | int cib_file_signoff  | 
          ( | 
          cib_t *  | 
          cib | ) | 
           | 
        
      
 
 
      
        
          | int cib_file_write_with_digest  | 
          ( | 
          xmlNode *  | 
          cib_root,  | 
        
        
           | 
           | 
          const char *  | 
          cib_dirname,  | 
        
        
           | 
           | 
          const char *  | 
          cib_filename  | 
        
        
           | 
          ) | 
           |  |