blob: 1a8c7f500def355dc193385f65c24fd7652dce34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include <stdbool.h>
#include <stddef.h>
struct dirbuild {
long offset;
char *buf;
long bpos, blen;
long error;
};
void dir_start(struct dirbuild *db, long offset, char *buf, size_t buflen);
bool dir_append(struct dirbuild *db, const char *name);
long dir_finish(struct dirbuild *db);
|