aboutsummaryrefslogtreecommitdiff
path: root/src/libauth/auth_attr.c
blob: 8842590a98d99c9b63ff6ed9110a66535a86505f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}