diff options
Diffstat (limited to 'src/libauth/auth_attr.c')
-rw-r--r-- | src/libauth/auth_attr.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libauth/auth_attr.c b/src/libauth/auth_attr.c new file mode 100644 index 00000000..8842590a --- /dev/null +++ b/src/libauth/auth_attr.c @@ -0,0 +1,13 @@ +#include <u.h> +#include <libc.h> +#include <auth.h> +#include <authsrv.h> +#include "authlocal.h" + +Attr* +auth_attr(AuthRpc *rpc) +{ + if(auth_rpc(rpc, "attr", nil, 0) != ARok) + return nil; + return _parseattr(rpc->arg); +} |