summaryrefslogtreecommitdiff
path: root/components/vpn.c
blob: 4d230e1f42e99380707fd088abcc886c139c6a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* See LICENSE file for copyright and license details. */
#include <stdint.h>
#include <unistd.h>

#include "../slstatus.h"
#include "../util.h"

const char *
vpn_status(const char *path)
{
	if (access(path, F_OK) == 0) {
		return bprintf("");
	} else {
		return bprintf("");
	}
}