blob: aa1c7957892b4911f17c28605a0a249edee50c51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* util9p/whoami.h - Echo back the 9P user info
*
* Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#ifndef _UTIL9P_WHOAMI_H_
#define _UTIL9P_WHOAMI_H_
#include <lib9p/srv.h>
struct whoami_file {
char *name;
uint64_t pathnum;
};
LO_IMPLEMENTATION_H(lib9p_srv_file, struct whoami_file, whoami_file);
#endif /* _UTIL9P_WHOAMI_H_ */
|