txfr.h

来自「一个使用des加密传输的unix下的login程序的服务器端和客户端」· C头文件 代码 · 共 20 行

H
20
字号
#ifndef _TXFR_H#define _TXFR_H#if defined(__STDC__) || defined(__cplusplus)extern int txfr(int fd1, int fdin, int fdout, unsigned bufsize, unsigned timeout,    keyType key);extern int getString(int fd, char *buf, unsigned size, unsigned timeout);extern int getBlock(int fd, char *buf, unsigned size, unsigned timeout);extern int cipherCopy(int dstfd, int srcfd, unsigned timeoutSec, keyType key);extern int waitReady(int fd, char *buf, unsigned size, unsigned timeout);extern int mkReady(int fd, char *buf, unsigned size, unsigned timeout);#elseextern int txfr();extern int getString();extern int getBlock();extern int cipherCopy();extern int waitReady();extern int mkReady();#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?