Liking cljdoc? Tell your friends :D

clj-libssh2.libssh2.knownhost

Functions for checking a remote host's fingerprint against a known hosts file.

Functions for checking a remote host's fingerprint against a known hosts
file.
raw docstring

addcljdeprecated

(add hosts host salt key keylen typemark store)

int libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts, const char *host, const char *salt, const char *key, size_t keylen, int typemask, struct libssh2_knownhost **store);

int libssh2_knownhost_add(LIBSSH2_KNOWNHOSTS *hosts,
                          const char *host,
                          const char *salt,
                          const char *key,
                          size_t keylen,
                          int typemask,
                          struct libssh2_knownhost **store);
sourceraw docstring

addcclj

(addc hosts host salt key keylen comment commentlen typemask store)

int libssh2_knownhost_addc(LIBSSH2_KNOWNHOSTS *hosts, const char *host, const char *salt, const char *key, size_t keylen, const char *comment, size_t commentlen, int typemask, struct libssh2_knownhost **store);

int libssh2_knownhost_addc(LIBSSH2_KNOWNHOSTS *hosts,
                           const char *host,
                           const char *salt,
                           const char *key,
                           size_t keylen,
                           const char *comment,
                           size_t commentlen,
                           int typemask,
                           struct libssh2_knownhost **store);
sourceraw docstring

checkclj

(check hosts host key keylen typemask knownhost)

int libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts, const char *host, const char *key, size_t keylen, int typemask, struct libssh2_knownhost **knownhost);

int libssh2_knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
                            const char *host,
                            const char *key,
                            size_t keylen,
                            int typemask,
                            struct libssh2_knownhost **knownhost);
sourceraw docstring

checkpclj

(checkp hosts host port key keylen typemask knownhost)

int libssh2_knownhost_checkp(LIBSSH2_KNOWNHOSTS *hosts, const char *host, int port, const char *key, size_t keylen, int typemask, struct libssh2_knownhost **knownhost);

int libssh2_knownhost_checkp(LIBSSH2_KNOWNHOSTS *hosts,
                             const char *host,
                             int port,
                             const char *key,
                             size_t keylen,
                             int typemask,
                             struct libssh2_knownhost **knownhost);
sourceraw docstring

delclj

(del hosts entry)

int libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts, struct libssh2_knownhost *entry);

int libssh2_knownhost_del(LIBSSH2_KNOWNHOSTS *hosts,
                          struct libssh2_knownhost *entry);
sourceraw docstring

freeclj

(free hosts)

void libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);

void libssh2_knownhost_free(LIBSSH2_KNOWNHOSTS *hosts);
sourceraw docstring

getclj

(get hosts store prev)

int libssh2_knownhost_get(LIBSSH2_KNOWNHOSTS *hosts, struct libssh2_knownhost **store, struct libssh2_knownhost *prev);

int libssh2_knownhost_get(LIBSSH2_KNOWNHOSTS *hosts,
                          struct libssh2_knownhost **store,
                          struct libssh2_knownhost *prev);
sourceraw docstring

initclj

(init session)

LIBSSH2_KNOWNHOSTS * libssh2_knownhost_init(LIBSSH2_SESSION *session);

LIBSSH2_KNOWNHOSTS * libssh2_knownhost_init(LIBSSH2_SESSION *session);
sourceraw docstring

readfileclj

(readfile hosts filename type)

int libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts, const char *filename, int type);

int libssh2_knownhost_readfile(LIBSSH2_KNOWNHOSTS *hosts,
                               const char *filename,
                               int type);
sourceraw docstring

readlineclj

(readline hosts line len type)

int libssh2_knownhost_readline(LIBSSH2_KNOWNHOSTS *hosts, const char *line, size_t len, int type);

int libssh2_knownhost_readline(LIBSSH2_KNOWNHOSTS *hosts,
                               const char *line,
                               size_t len,
                               int type);
sourceraw docstring

writefileclj

(writefile hosts filename type)

int libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts, const char *filename, int type);

int libssh2_knownhost_writefile(LIBSSH2_KNOWNHOSTS *hosts,
                                const char *filename,
                                int type);
sourceraw docstring

writelineclj

(writeline hosts known buffer buflen outlen type)

int libssh2_knownhost_writeline(LIBSSH2_KNOWNHOSTS *hosts, struct libssh2_knownhost *known, char *buffer, size_t buflen, size_t *outlen, int type);

int libssh2_knownhost_writeline(LIBSSH2_KNOWNHOSTS *hosts,
                                struct libssh2_knownhost *known,
                                char *buffer,
                                size_t buflen,
                                size_t *outlen,
                                int type);
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close