File: tlist.h

package info (click to toggle)
4store 1.1.6%2B20151109-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 82,388 kB
  • sloc: ansic: 65,689; sh: 2,916; perl: 2,245; makefile: 281; python: 213
file content (34 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef TLIST_H
#define TLIST_H

#include "backend.h"

struct _fs_tlist;
typedef struct _fs_tlist fs_tlist;

fs_tlist *fs_tlist_open(fs_backend *be, fs_rid model, int flags);

fs_tlist *fs_tlist_open_filename(const char *filename, int flags);

int fs_tlist_flush(fs_tlist *l);

int fs_tlist_truncate(fs_tlist *l);

int fs_tlist_unlink(fs_tlist *l);

int fs_tlist_close(fs_tlist *l);

int fs_tlist_lock(fs_tlist *l, int action);

int64_t fs_tlist_add(fs_tlist *l, fs_rid data[4]);

void fs_tlist_rewind(fs_tlist *l);
int fs_tlist_next_value(fs_tlist *l, void *out);

int fs_tlist_length(fs_tlist *l);

void fs_tlist_print(fs_tlist *l, FILE *out, int verbosity);

/* vi:set expandtab sts=4 sw=4: */

#endif