~moody/drawterm

drawterm/libauth/auth_attr.c -rw-r--r-- 196 bytes
201faaa6 — Jacob Moody gui-wl: grab monitor size from compositor 11 days ago
                                                                                
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);
}