X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.h;h=7ae1494fd3d7faff8e7c51b7bd7bb140422a267c;hp=7e9ac9f33e0340eaf223dd3c1a13c5be8ee9e303;hb=88c5dc601a5d1b194da3102566a3fb97947a6aee;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/user_list.h b/user_list.h index 7e9ac9f3..7ae1494f 100644 --- a/user_list.h +++ b/user_list.h @@ -1,14 +1,11 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file user_list.h exported functions from user_list.c */ -#include "list.h" -#include "crypt.h" - /** * permission flags that can be set individually for any server command * @@ -23,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; };