OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

notifier_smtp.h
1 /* -*- C -*-
2 *
3 * Copyright (c) 2004-2008 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_SMTP_H
22 #define NOTIFIER_SMTP_H
23
24 #include "orte_config.h"
25
26 #include <netdb.h>
27
28 #include "libesmtp.h"
29
30 #include "orte/mca/notifier/notifier.h"
31
32 BEGIN_C_DECLS
33
34 typedef struct {
35 orte_notifier_base_component_t super;
36
37 /* SMTP server name and port */
38 char *server;
39 int port;
40
41 /* To, From, Subject */
42 char *to, **to_argv, *from_name, *from_addr, *subject;
43
44 /* Mail body prefix and suffix */
45 char *body_prefix, *body_suffix;
46
47 /* struct hostent from resolved SMTP server name */
48 struct hostent *server_hostent;
49
50 /* Priority of this component */
51 int priority;
52 } orte_notifier_smtp_component_t;
53
54
55 /*
56 * Notifier interfaces
57 */
58 ORTE_MODULE_DECLSPEC extern orte_notifier_smtp_component_t
59 mca_notifier_smtp_component;
60 extern orte_notifier_base_module_t orte_notifier_smtp_module;
61
62 END_C_DECLS
63
64 #endif
orte_notifier_base_module_1_0_0_t
Definition: notifier.h:98
orte_notifier_smtp_component_t
Definition: notifier_smtp.h:34
orte_notifier_base_component_1_0_0_t
Definition: notifier.h:138
notifier.h
The OpenRTE Notifier Framework.