summaryrefslogtreecommitdiffstats
path: root/token.h
blob: 952617d58d204846143b91e512442d6d3889d77e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2025 Felix Fietkau <nbd@nbd.name>
 */
#ifndef __UNETD_TOKEN_H
#define __UNETD_TOKEN_H

void *token_create(struct network *net, struct network_host *target,
		   const char *service, struct blob_attr *info, size_t *len);
bool token_parse(struct blob_buf *buf, const char *token);

#endif