aboutsummaryrefslogtreecommitdiff
path: root/src/libauth/auth_attr.c
blob: 2acc32f7990c17677e6188018132606e53f76ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <u.h>
#include <libc.h>
#include <auth.h>
#include "authlocal.h"

Attr*
auth_attr(AuthRpc *rpc)
{
	if(auth_rpc(rpc, "attr", nil, 0) != ARok)
		return nil;
	return _parseattr(rpc->arg);
}