X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.h;h=f4e7661b5eb7900d43afa4ee4cd26c7771267a11;hp=fbe07995e3b7f37897a3637f4821d01c97d7ff5d;hb=56d75bd90d78cf44cd3984ce2a45627ef5646d38;hpb=c252837b853b35f06fffe637b2a6bf16419da954 diff --git a/user_list.h b/user_list.h index fbe07995..f4e7661b 100644 --- a/user_list.h +++ b/user_list.h @@ -1,13 +1,11 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file user_list.h exported functions from user_list.c */ -#include "crypt.h" - /** * permission flags that can be set individually for any server command * @@ -22,13 +20,13 @@ enum {AFS_READ = 1, AFS_WRITE = 2, VSS_READ = 4, VSS_WRITE = 8}; * data needed to authenticate the user */ struct user { - /** the position of this user in the list of users */ + /** The position of this user in the list of users. */ struct list_head node; - /** the username */ + /** The username. */ char *name; - /** the public RSA key */ - RSA *rsa; - /** the privileges that this user has */ + /** The public key. */ + struct asymmetric_key *pubkey; + /** The privileges of this user. */ unsigned int perms; };