ftp_elc.h
来自「Path MPICH-V for MPICH the MPI Implement」· C头文件 代码 · 共 56 行
H
56 行
/** @file ftp_elc.h defines the callbacks to implement for communications * with the event logger */#ifndef FTP_ELC_H#define FTP_ELC_H#include "debug.h"#include "config.h"#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>/** verify if something has to be sent to EL * @return : 1 if something, 0 if nothing */#ifndef ftp_getELfdsetsint ftp_getELfdsets();#endif/** to send events to EL * @param fds : file descriptor of EL socket * @return number of bytes remaining */#ifndef sendELvoid ftp_sendtoEL(int fds);#endif/** when a reception is made from EL * @param fds : file descriptor of the EL to read */#ifndef receiveFromELvoid ftp_receivefromEL(int fds);#endif/** establish connection to the Event Logger reliable server. * @param addr : Address of the target EL (char[4] binary format suitable for sin_addr) * @param myrank : rank of the process that reconnect * @return the new connected socket (TCP) */#ifndef ftp_el_connectint ftp_el_connect(struct sockaddr_in *addr);#endif/** gets reex list of causal id from Event Logger reliable server connected trough s. * @param s : socket connected to an Event Logger server * @param myrank: the rank of the mpi process * @return number of stored Causual Id in reex. */#ifndef ftp_el_get_reexint ftp_el_get_reex(int fds);#endif#endif /** FTP_ELC_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?