summaryrefslogtreecommitdiffstats
path: root/ssh-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-common.h')
-rw-r--r--ssh-common.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ssh-common.h b/ssh-common.h
new file mode 100644
index 0000000..57c7f9d
--- /dev/null
+++ b/ssh-common.h
@@ -0,0 +1,22 @@
+/*
+ Copyright (c) 2016 Red Hat, Inc. <http://www.redhat.com>
+ This file is part of gluster-block.
+
+ This file is licensed to you under your choice of the GNU Lesser
+ General Public License, version 3 or any later version (LGPLv3 or
+ later), or the GNU General Public License, version 2 (GPLv2), in all
+ cases as published by the Free Software Foundation.
+*/
+
+
+# ifndef _SSH_COMMON_H
+# define _SSH_COMMON_H 1
+
+# include <libssh/libssh.h>
+
+
+
+char *
+glusterBlockSSHRun(char *host, char *cmd, bool console);
+
+#endif /* _SSH_COMMON_H */