1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

After review/feedback/discussions on the mailing list. Rename two functions:

s/libssh2_knownhost_parsefile/libssh2_knownhost_readfile
s/libssh2_knownhost_dumpfile/libssh2_knownhost_writefile
This commit is contained in:
Daniel Stenberg
2009-05-28 19:57:54 +02:00
parent 22014f074b
commit 2436a4de60
7 changed files with 27 additions and 27 deletions

View File

@@ -778,7 +778,7 @@ LIBSSH2_API void
libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
/*
* libssh2_knownhost_parsefile
* libssh2_knownhost_readfile
*
* Add hosts+key pairs from a given file.
*
@@ -791,11 +791,11 @@ libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
#define LIBSSH2_KNOWNHOST_FILE_OPENSSH 1
LIBSSH2_API int
libssh2_knownhost_parsefile(LIBSSH2_KNOWNHOSTS *hosts,
const char *filename, int type);
libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts,
const char *filename, int type);
/*
* libssh2_knownhost_dumpfile
* libssh2_knownhost_writefile
*
* Write hosts+key pairs to a given file.
*
@@ -804,8 +804,8 @@ libssh2_knownhost_parsefile(LIBSSH2_KNOWNHOSTS *hosts,
*/
LIBSSH2_API int
libssh2_knownhost_dumpfile(LIBSSH2_KNOWNHOSTS *hosts,
const char *filename, int type);
libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,
const char *filename, int type);
/*
* libssh2_knownhost_get()