fixed prototypes
This commit was SVN r431.
Этот коммит содержится в:
родитель
1cb615ff63
Коммит
4d8b523c5a
@ -14,6 +14,5 @@ noinst_LTLIBRARIES = libmca_ptl_tcp.la
|
|||||||
libmca_ptl_tcp_la_SOURCES = \
|
libmca_ptl_tcp_la_SOURCES = \
|
||||||
ptl_tcp.c \
|
ptl_tcp.c \
|
||||||
ptl_tcp.h \
|
ptl_tcp.h \
|
||||||
ptl_tcp_init.c \
|
|
||||||
ptl_tcp_module.c \
|
ptl_tcp_module.c \
|
||||||
ptl_tcp_send.c
|
ptl_tcp_send.c
|
||||||
|
@ -20,6 +20,7 @@ mca_ptl_tcp_t mca_ptl_tcp = {
|
|||||||
0, /* ptl_latency */
|
0, /* ptl_latency */
|
||||||
0, /* ptl_andwidth */
|
0, /* ptl_andwidth */
|
||||||
mca_ptl_tcp_add_proc,
|
mca_ptl_tcp_add_proc,
|
||||||
|
mca_ptl_tcp_del_proc,
|
||||||
mca_ptl_tcp_fini,
|
mca_ptl_tcp_fini,
|
||||||
mca_ptl_tcp_send,
|
mca_ptl_tcp_send,
|
||||||
mca_ptl_tcp_request_alloc
|
mca_ptl_tcp_request_alloc
|
||||||
|
@ -77,6 +77,12 @@ extern int mca_ptl_tcp_add_proc(
|
|||||||
struct mca_ptl_addr_t** addr
|
struct mca_ptl_addr_t** addr
|
||||||
);
|
);
|
||||||
|
|
||||||
|
extern int mca_ptl_tcp_del_proc(
|
||||||
|
struct mca_ptl_t* ptl,
|
||||||
|
struct lam_proc_t *procs,
|
||||||
|
struct mca_ptl_addr_t* addr
|
||||||
|
);
|
||||||
|
|
||||||
extern int mca_ptl_tcp_request_alloc(
|
extern int mca_ptl_tcp_request_alloc(
|
||||||
struct mca_ptl_t* ptl,
|
struct mca_ptl_t* ptl,
|
||||||
struct mca_ptl_base_send_request_t**
|
struct mca_ptl_base_send_request_t**
|
||||||
|
@ -135,10 +135,8 @@ static int mca_ptl_tcp_module_create_instances(void)
|
|||||||
/* allocate memory for ptls */
|
/* allocate memory for ptls */
|
||||||
mca_ptl_tcp_module.tcp_max_ptls = if_count;
|
mca_ptl_tcp_module.tcp_max_ptls = if_count;
|
||||||
mca_ptl_tcp_module.tcp_ptls = (mca_ptl_tcp_t**)LAM_MALLOC(if_count * sizeof(mca_ptl_tcp_t*));
|
mca_ptl_tcp_module.tcp_ptls = (mca_ptl_tcp_t**)LAM_MALLOC(if_count * sizeof(mca_ptl_tcp_t*));
|
||||||
if(NULL == mca_ptl_tcp_module.tcp_ptls) {
|
if(NULL == mca_ptl_tcp_module.tcp_ptls)
|
||||||
lam_output(0, "mca_ptl_tcp: unable to initialize module");
|
return LAM_ERR_OUT_OF_RESOURCE;
|
||||||
return LAM_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* if the user specified an interface list - use these only */
|
/* if the user specified an interface list - use these only */
|
||||||
argv = include = lam_argv_split(mca_ptl_tcp_module.tcp_if_include,'\'');
|
argv = include = lam_argv_split(mca_ptl_tcp_module.tcp_if_include,'\'');
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user