chiark / gitweb /
list uncovered files in lib/
[disorder] / lib / authhash.h
index 4ef57ae4ee0d518285af673cdbc4b928e74229b2..23713366bd2a88300ed8f871a25062560a1eea05 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of DisOrder.
- * Copyright (C) 2004, 2006 Richard Kettlewell
+ * Copyright (C) 2004, 2006, 2007 Richard Kettlewell
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,7 +21,8 @@
 #define AUTHHASH_H
 
 const char *authhash(const void *challenge, size_t nchallenge,
-                    const char *user);
+                    const char *user, const char *algo);
+int valid_authhash(const char *algo);
 
 #endif /* AUTHHASH_H */
 
@@ -32,4 +33,3 @@ comment-column:40
 fill-column:79
 End:
 */
-/* arch-tag:225ea2aea8c434a7a92fae4018e54c60 */