Added authentication check facility to zebra.
[idzebra-moved-to-github.git] / include / passwddb.h
diff --git a/include/passwddb.h b/include/passwddb.h
new file mode 100644 (file)
index 0000000..ebbc919
--- /dev/null
@@ -0,0 +1,11 @@
+
+typedef struct passwd_db *Passwd_db;
+
+Passwd_db passwd_db_open (void);
+int passwd_db_auth (Passwd_db db, const char *user, const char *pass);
+int passwd_db_file (Passwd_db db, const char *fname);
+void passwd_db_close (Passwd_db db);
+void passwd_db_show (Passwd_db db);
+
+
+