X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.h;h=7ae1494fd3d7faff8e7c51b7bd7bb140422a267c;hp=cce577a60331ae955a21a774f016d2dc032dc623;hb=1e196821cc4fa9e1319557ce1100961be6795278;hpb=9417eae5ca2b9f10d25f769221e8fd91048bc68a diff --git a/user_list.h b/user_list.h index cce577a6..7ae1494f 100644 --- a/user_list.h +++ b/user_list.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2011 Andre Noll + * Copyright (C) 2006-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -20,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; };