X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..f622e663e7fcfb9ad92651e1a277d325dd939e5c:/lib/authhash.h diff --git a/lib/authhash.h b/lib/authhash.h index df5b629..7b73d67 100644 --- a/lib/authhash.h +++ b/lib/authhash.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2004, 2006, 2007 Richard Kettlewell + * Copyright (C) 2004, 2006-2009 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 @@ -15,11 +15,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file lib/authhash.h @brief The authorization hash */ #ifndef AUTHHASH_H #define AUTHHASH_H -const char *authhash(const void *challenge, size_t nchallenge, - const char *user, const char *algo); +char *authhash(const void *challenge, size_t nchallenge, + const char *user, const char *algo); int valid_authhash(const char *algo); #endif /* AUTHHASH_H */