xrtSshKnownHostDbInit
初始化无分配 known_hosts 文本游标;空文本允许 Data 为 NULL。
xsshcode xrtSshKnownHostDbInit( xsshknownhostdb* pDatabase, xstrview Source, uint32 iFlags );
| 参数 | 说明 |
|---|---|
| xsshknownhostdb* pDatabase | Database 参数 |
| xstrview Source | Source 参数 |
| uint32 iFlags | 标志位 |
返回:初始化无分配 known_hosts 文本游标;空文本允许 Data 为 NULL。
示例已编译验证
sshknownhostdbinit obj; xrtSshKnownHostDbInit(&obj, pDatabase, Source, iFlags);
xrtSshKnownHostDbNext
XRT_API xsshcode xrtSshKnownHostDbNext( xsshknownhostdb* pDatabase, xsshknownhostentry* pEntry );
;
返回:XRT_API xsshcode xrtSshKnownHostDbNext( xsshknownhostdb* pDatabase, xsshknownhostentry* pEntry );
示例已编译验证
/* XRT_API xsshcode xrtSshKnownHostDbNext( xsshknownhostdb* pDatabase, xsshknownhostentry* pEntry ); */ result = xrtSshKnownHostDbNext();
xrtSshKnownHostDbCheck
XRT_API xsshcode xrtSshKnownHostDbCheck( xstrview Source, xstrview Host, uint32 iPort, xbytesview KeyBlob, uint32 iFlags, xsshknownhostcheck* pCheck );
;
返回:XRT_API xsshcode xrtSshKnownHostDbCheck( xstrview Source, xstrview Host, uint32 iPort, xbytesview KeyBlob, uint32 iFlags, xsshknownhostcheck* pCheck );
示例已编译验证
/* XRT_API xsshcode xrtSshKnownHostDbCheck( xstrview Source, xstrview Host, uint32 iPort, xbytesview KeyBlob, uint32 iFlags, xsshknownhostcheck* pCheck ); */ result = xrtSshKnownHostDbCheck();