blob: dcbe30d1975ddbadc058977f26b26004a6a1d62c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef TSNIFD_H
#define TSNIFD_H
#include "storage.h"
#include "intf.h"
extern char *storage_dir;
struct terminal {
/* interface term */
struct tsnif_term term;
/* storage */
char *file;
struct tsnif_storage_opts storage_opts;
struct tsnif_storage_handle storage_handle;
};
int storage_init(struct terminal *t);
int storage_close(struct terminal *t);
int storage_data(struct terminal *t, struct tsnif_data *data);
#endif /* TSNIFD_H */
|