OpenMPI  0.1.1
filem_rsh.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2010 The Trustees of Indiana University.
3  * All rights reserved.
4  * Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
5  * All rights reserved.
6  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
7  * University of Stuttgart. All rights reserved.
8  * Copyright (c) 2004-2005 The Regents of the University of California.
9  * All rights reserved.
10  * $COPYRIGHT$
11  *
12  * Additional copyrights may follow
13  *
14  * $HEADER$
15  */
16 
17 /**
18  * @file
19  *
20  * RSH FILEM component
21  *
22  */
23 
24 #ifndef MCA_FILEM_RSH_EXPORT_H
25 #define MCA_FILEM_RSH_EXPORT_H
26 
27 #include "orte_config.h"
28 
29 #include "opal/mca/mca.h"
30 #include "orte/mca/filem/filem.h"
31 
32 BEGIN_C_DECLS
33 
34 #define ORTE_FILEM_RSH_ASK 0
35 #define ORTE_FILEM_RSH_ALLOW 1
36 #define ORTE_FILEM_RSH_DONE 2
37 
38  /*
39  * Local Component structures
40  */
42  /** Base FILEM component */
44 
45  /** RSH cp command: rsh = rcp, ssh = scp */
46  char * cp_command;
47 
48  /** Unix cp command */
50 
51  /** SSH remote login command */
53  };
55  ORTE_MODULE_DECLSPEC extern orte_filem_rsh_component_t mca_filem_rsh_component;
56 
57  extern int orte_filem_rsh_max_incomming;
58  extern int orte_filem_rsh_max_outgoing;
59  extern int orte_filem_rsh_progress_meter;
60 
61  int orte_filem_rsh_component_query(mca_base_module_t **module, int *priority);
62 
63  /*
64  * Module functions
65  */
66  int orte_filem_rsh_module_init(void);
67  int orte_filem_rsh_module_finalize(void);
68 
69  int orte_filem_rsh_put(orte_filem_base_request_t *request);
70  int orte_filem_rsh_put_nb(orte_filem_base_request_t *request);
71 
72  int orte_filem_rsh_get(orte_filem_base_request_t *request);
73  int orte_filem_rsh_get_nb(orte_filem_base_request_t *request);
74 
75  int orte_filem_rsh_rm( orte_filem_base_request_t *request);
76  int orte_filem_rsh_rm_nb( orte_filem_base_request_t *request);
77 
78  int orte_filem_rsh_wait( orte_filem_base_request_t *request);
79  int orte_filem_rsh_wait_all( opal_list_t *request_list);
80 
81 END_C_DECLS
82 
83 #endif /* MCA_FILEM_RSH_EXPORT_H */
Common type for all MCA modules.
Definition: mca.h:100
Definition of a file movement request This will allow:
Definition: filem.h:127
char * cp_local_command
Unix cp command.
Definition: filem_rsh.h:49
Structure for FILEM components.
Definition: filem.h:317
Top-level interface for all MCA components.
Definition: opal_list.h:147
Definition: evdns.c:158
char * remote_sh_command
SSH remote login command.
Definition: filem_rsh.h:52
Remote File Management (FileM) Interface.
char * cp_command
RSH cp command: rsh = rcp, ssh = scp.
Definition: filem_rsh.h:46
Definition: filem_rsh.h:41
orte_filem_base_component_t super
Base FILEM component.
Definition: filem_rsh.h:43