mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Add header guard to ssh-utils.h.
This commit is contained in:
@@ -19,6 +19,9 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef SSH_UTILS_H
|
||||||
|
#define SSH_UTILS_H
|
||||||
|
|
||||||
#include <libssh/libssh.h>
|
#include <libssh/libssh.h>
|
||||||
#include <libssh/sftp.h>
|
#include <libssh/sftp.h>
|
||||||
#include <libcryptsetup.h>
|
#include <libcryptsetup.h>
|
||||||
@@ -27,3 +30,5 @@ int sshplugin_download_password(struct crypt_device *cd, ssh_session ssh,
|
|||||||
const char *path, char **password, size_t *password_len);
|
const char *path, char **password, size_t *password_len);
|
||||||
ssh_session sshplugin_session_init(struct crypt_device *cd, const char *host, const char *user);
|
ssh_session sshplugin_session_init(struct crypt_device *cd, const char *host, const char *user);
|
||||||
int sshplugin_public_key_auth(struct crypt_device *cd, ssh_session ssh, const ssh_key pkey);
|
int sshplugin_public_key_auth(struct crypt_device *cd, ssh_session ssh, const ssh_key pkey);
|
||||||
|
|
||||||
|
#endif /* SSH_UTILS_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user