summaryrefslogtreecommitdiff
path: root/src/include/authenticate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/authenticate.h')
-rw-r--r--src/include/authenticate.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/authenticate.h b/src/include/authenticate.h
new file mode 100644
index 0000000..0ef6796
--- /dev/null
+++ b/src/include/authenticate.h
@@ -0,0 +1,18 @@
+/** --------------------------------------------------------------------
+ * @file authenticate.h
+ * @brief Declaration of the common authentication mechanism.
+ * @author Andreas Aardal Hanssen, Erwin Hoffmann
+ * @date 2002-2005, 2023
+ * ----------------------------------------------------------------- **/
+#ifndef authenticate_h_included
+#define authenticate_h_included
+#include <string>
+
+#include "depot.h"
+
+namespace Binc {
+ int authenticate(Depot &, const std::string &username,
+ const std::string &password, const std::string &challenge);
+}
+
+#endif