X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=user_list.h;h=5a1d69208c2720ead0c37dcadd29acc08a918ccc;hp=5baceacc1c9b98f339defec5e05049862c0be9b8;hb=23b121a85984baa9252f4b4c0b8c4f186e394bb7;hpb=00e4d4da1b2c00da139b09d3ed4ab9ad9fba2691 diff --git a/user_list.h b/user_list.h index 5baceacc..5a1d6920 100644 --- a/user_list.h +++ b/user_list.h @@ -1,13 +1,11 @@ /* - * Copyright (C) 2006-2009 Andre Noll + * Copyright (C) 2006-2013 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; };