pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
services_internal.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010-2021 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__SERVICES_INTERNAL__H
11 # define PCMK__SERVICES_INTERNAL__H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
35 svc_action_t *services__create_resource_action(const char *name, const char *standard,
36  const char *provider, const char *agent,
37  const char *action, guint interval_ms,
38  int timeout /* ms */, GHashTable *params,
39  enum svc_action_flags flags);
40 
41 # ifdef __cplusplus
42 }
43 # endif
44 
45 #endif /* PCMK__SERVICES_INTERNAL__H */
svc_action_flags
Definition: services.h:112
const char * action
Definition: pcmk_fence.c:30
svc_action_t * services__create_resource_action(const char *name, const char *standard, const char *provider, const char *agent, const char *action, guint interval_ms, int timeout, GHashTable *params, enum svc_action_flags flags)
Create a new resource action.
Definition: services.c:168
char * name
Definition: pcmk_fence.c:31
unsigned int timeout
Definition: pcmk_fence.c:32
uint64_t flags
Definition: remote.c:149