⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cibio.h

📁 linux集群服务器软件代码包
💻 H
字号:
/* $Id: cibio.h,v 1.12 2005/01/26 13:30:55 andrew Exp $ *//*  * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net> *  * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * General Public License for more details. *  * You should have received a copy of the GNU General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef CIB_IO__H#define CIB_IO__H#include <portability.h>#include <stdio.h>#include <sys/types.h>#include <unistd.h>#include <stdlib.h>#include <errno.h>#include <fcntl.h>#include <clplumbing/ipc.h>#include <clplumbing/cl_log.h> #include <crm/common/xml.h>extern gboolean initialized;extern crm_data_t *the_cib;extern crm_data_t *node_search;extern crm_data_t *resource_search;extern crm_data_t *constraint_search;extern crm_data_t *status_search;extern crm_data_t *get_the_CIB(void);extern int initializeCib(crm_data_t *cib);extern gboolean uninitializeCib(void);extern crm_data_t *createEmptyCib(void);extern gboolean verifyCibXml(crm_data_t *cib);extern crm_data_t *readCibXml(char *buffer);extern crm_data_t *readCibXmlFile(const char *filename);extern int activateCibBuffer(char *buffer, const char *filename);extern int activateCibXml(crm_data_t *doc, const char *filename);extern int moveFile(const char *oldname, const char *newname,		    gboolean backup, char *ext);/* extern crm_data_t *server_get_cib_copy(void); */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -