svnno****@sourc*****
svnno****@sourc*****
2014年 3月 11日 (火) 21:47:03 JST
Revision: 5527 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5527 Author: yutakapon Date: 2014-03-11 21:47:03 +0900 (Tue, 11 Mar 2014) Log Message: ----------- uudecode() を 外部参照できるようにした。 Modified Paths: -------------- branches/ssh_ed25519/ttssh2/ttxssh/hosts.c branches/ssh_ed25519/ttssh2/ttxssh/hosts.h -------------- next part -------------- Modified: branches/ssh_ed25519/ttssh2/ttxssh/hosts.c =================================================================== --- branches/ssh_ed25519/ttssh2/ttxssh/hosts.c 2014-03-11 12:46:29 UTC (rev 5526) +++ branches/ssh_ed25519/ttssh2/ttxssh/hosts.c 2014-03-11 12:47:03 UTC (rev 5527) @@ -301,7 +301,7 @@ // BASE64\x83f\x83R\x81[\x83h\x8F\x88\x97\x9D\x82\xF0\x8Ds\x82\xA4\x81B(rfc1521) // src\x83o\x83b\x83t\x83@\x82\xCD null-terminate \x82\xB5\x82Ă\xA2\x82\xE9\x95K\x97v\x82\xA0\x82\xE8\x81B // -static int uudecode(unsigned char *src, int srclen, unsigned char *target, int targsize) +int uudecode(unsigned char *src, int srclen, unsigned char *target, int targsize) { char pad = '='; int tarindex, state, ch; Modified: branches/ssh_ed25519/ttssh2/ttxssh/hosts.h =================================================================== --- branches/ssh_ed25519/ttssh2/ttxssh/hosts.h 2014-03-11 12:46:29 UTC (rev 5526) +++ branches/ssh_ed25519/ttssh2/ttxssh/hosts.h 2014-03-11 12:47:03 UTC (rev 5527) @@ -68,4 +68,7 @@ void HOSTS_do_different_key_dialog(HWND wnd, PTInstVar pvar); void HOSTS_notify_disconnecting(PTInstVar pvar); void HOSTS_end(PTInstVar pvar); + +int uudecode(unsigned char *src, int srclen, unsigned char *target, int targsize); + #endif