root/include/crm/common/tags.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2004-2023 the Pacemaker project contributors
   3  *
   4  * The version control history for this file may have further details.
   5  *
   6  * This source code is licensed under the GNU Lesser General Public License
   7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
   8  */
   9 
  10 #ifndef PCMK__CRM_COMMON_TAGS__H
  11 #  define PCMK__CRM_COMMON_TAGS__H
  12 
  13 #include <glib.h>           // GList
  14 
  15 #ifdef __cplusplus
  16 extern "C" {
  17 #endif
  18 
  19 /*!
  20  * \file
  21  * \brief Scheduler API for configuration tags
  22  * \ingroup core
  23  */
  24 
  25 //! Configuration tag object
  26 typedef struct pe_tag_s {
  27     char *id;       //!< XML ID of tag
  28     GList *refs;    //!< XML IDs of objects that reference the tag
  29 } pcmk_tag_t;
  30 
  31 #ifdef __cplusplus
  32 }
  33 #endif
  34 
  35 #endif // PCMK__CRM_COMMON_TAGS__H

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