root/cib/common.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* 
   2  * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net>
   3  * 
   4  * This program is free software; you can redistribute it and/or
   5  * modify it under the terms of the GNU Lesser General Public
   6  * License as published by the Free Software Foundation; either
   7  * version 2 of the License, or (at your option) any later version.
   8  * 
   9  * This software is distributed in the hope that it will be useful,
  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12  * General Public License for more details.
  13  * 
  14  * You should have received a copy of the GNU Lesser General Public
  15  * License along with this library; if not, write to the Free Software
  16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  17  */
  18 
  19 #include <crm/cib/internal.h>
  20 
  21 extern xmlNode *cib_msg_copy(xmlNode * msg, gboolean with_data);
  22 extern xmlNode *cib_construct_reply(xmlNode * request, xmlNode * output, int rc);
  23 extern int cib_get_operation_id(const char *op, int *operation);
  24 
  25 extern cib_op_t *cib_op_func(int call_type);
  26 
  27 extern gboolean cib_op_modifies(int call_type);
  28 extern int cib_op_prepare(int call_type, xmlNode * request, xmlNode ** input, const char **section);
  29 extern int cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output);
  30 extern int cib_op_can_run(int call_type, int call_options, gboolean privileged,
  31                           gboolean global_update);
  32 
  33 
  34 extern GMainLoop *mainloop;
  35 extern crm_cluster_t crm_cluster;
  36 extern GHashTable *local_notify_queue;
  37 
  38 extern gboolean legacy_mode;
  39 extern gboolean stand_alone;
  40 extern gboolean cib_shutdown_flag;
  41 extern const char *cib_root;
  42 extern char *cib_our_uname;
  43 
  44 extern int cib_status;
  45 extern unsigned long cib_num_ops, cib_num_local, cib_num_updates, cib_num_fail;
  46 extern unsigned long cib_bad_connects, cib_num_timeouts;
  47 

/* [previous][next][first][last][top][bottom][index][help] */