diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-25 17:03:01 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-25 17:03:01 +0200 |
commit | a935ad1857b91b6aa179d14137f520d978647341 (patch) | |
tree | d86d4f8292843caca7f9155dba40261ea24146d8 /examples/examples_common.h | |
parent | 7abb3941c8858204f3d3bc2d59e17fa7b04489bf (diff) | |
download | libssh-a935ad1857b91b6aa179d14137f520d978647341.tar.gz libssh-a935ad1857b91b6aa179d14137f520d978647341.tar.xz libssh-a935ad1857b91b6aa179d14137f520d978647341.zip |
New example directory with the begining of a scp
Diffstat (limited to 'examples/examples_common.h')
-rw-r--r-- | examples/examples_common.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/examples_common.h b/examples/examples_common.h new file mode 100644 index 0000000..55f5db7 --- /dev/null +++ b/examples/examples_common.h @@ -0,0 +1,21 @@ +/* +Copyright 2009 Aris Adamantiadis + +This file is part of the SSH Library + +You are free to copy this file, modify it in any way, consider it being public +domain. This does not apply to the rest of the library though, but it is +allowed to cut-and-paste working code from this file to any license of +program. +The goal is to show the API in action. It's not a reference on how terminal +clients must be made or how a client should react. +*/ +#ifndef EXAMPLES_COMMON_H_ +#define EXAMPLES_COMMON_H_ + +int authenticate_console(ssh_session session); +int authenticate_kbdint(ssh_session session); +int verify_knownhost(ssh_session session); + + +#endif /* EXAMPLES_COMMON_H_ */ |