OpenMPI  0.1.1
notifier_ftb.h
1 /* -*- C -*-
2  *
3  * Copyright (c) 2004-2009 The Trustees of Indiana University and Indiana
4  * University Research and Technology
5  * Corporation. All rights reserved.
6  * Copyright (c) 2004-2006 The University of Tennessee and The University
7  * of Tennessee Research Foundation. All rights
8  * reserved.
9  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
10  * University of Stuttgart. All rights reserved.
11  * Copyright (c) 2004-2005 The Regents of the University of California.
12  * All rights reserved.
13  * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
14  * $COPYRIGHT$
15  *
16  * Additional copyrights may follow
17  *
18  * $HEADER$
19  *
20  */
21 #ifndef NOTIFIER_FTB_H
22 #define NOTIFIER_FTB_H
23 
24 #include "orte_config.h"
25 
27 
28 #include "libftb.h"
29 
30 BEGIN_C_DECLS
31 
32 typedef struct {
34 
35  /* FTB client subscription style */
36  char *subscription_style;
37 
38  /* Priority of this component */
39  int priority;
41 
42 /* Notifier interfaces */
43 ORTE_MODULE_DECLSPEC extern orte_notifier_ftb_component_t mca_notifier_ftb_component;
44 extern orte_notifier_base_module_t orte_notifier_ftb_module;
45 
46 /* FTB client information */
47 extern FTB_client_t ftb_client_info;
48 extern FTB_client_handle_t ftb_client_handle;
49 
50 /* FTB event types */
51 typedef enum {
52  FTB_EVENT_NORMAL = 1,
53  FTB_EVENT_RESPONSE = 2
54 } ftb_event_type_t;
55 
56 /* Returns the FTB event name (as a string) given the event code */
57 #define FTB_EVENT(errnum) #errnum
58 
59 END_C_DECLS
60 
61 #endif
Definition: notifier_ftb.h:32
Definition: notifier.h:98
Definition: notifier.h:138
The OpenRTE Notifier Framework.