Imported Debian patch 0.66.1-1
[hcoop/debian/courier-authlib.git] / auth.h
diff --git a/auth.h b/auth.h
index d3f1cfb..837eb41 100644 (file)
--- a/auth.h
+++ b/auth.h
@@ -16,7 +16,6 @@
 extern "C" {
 #endif
 
-static const char auth_h_rcsid[]="$Id: auth.h,v 1.11 2004/10/21 00:10:48 mrsam Exp $";
 
 
 /* authcheckpassword is the general password validation routine.
@@ -48,6 +47,18 @@ int auth_sys_common( int (*auth_pre_func)(const char *,
                     int (*callback_func)(struct authinfo *, void *),
                     void *callback_arg);
 
+const char *authgetconfig(const char *filename, const char *env);
+
+char *auth_parse_select_clause (char *(*escape_func)(const char *, size_t),
+                               const char *clause, const char *username,
+                               const char *defdomain,
+                               const char *service);
+
+char *auth_parse_chpass_clause (char *(*escape_func)(const char *, size_t),
+                               const char *clause, const char *username,
+                               const char *defdomain, const char *newpass,
+                               const char *newpass_crypt);
+
 #ifdef __cplusplus
 }
 #endif