blob: 2a59e9ce41442ae208f0e65f6f18ed37e27c118f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* util9p/nut.h - 9P NUT video streaming
*
* Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#ifndef _UTIL9P_NUT_H_
#define _UTIL9P_NUT_H_
#include <lib9p/srv.h>
#define NUT_FB_W 360
#define NUT_FB_H 576
struct nut_file {
char *name;
uint64_t pathnum;
const uint8_t *framebuffer;
};
LO_IMPLEMENTATION_H(lib9p_srv_file, struct nut_file, nut_file);
#endif /* _UTIL9P_NUT_H_ */
|