summaryrefslogtreecommitdiff
path: root/mkfs/mksquashfs.h
blob: 8dda29c3f4c41b06686c229e338d4777ae28d29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-3.0-or-later */
#ifndef MKSQUASHFS_H
#define MKSQUASHFS_H

#include "squashfs.h"
#include "options.h"
#include "fstree.h"

#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>

int sqfs_super_init(sqfs_super_t *s, const options_t *opt);

int sqfs_padd_file(sqfs_super_t *s, const options_t *opt, int outfd);

int sqfs_super_write(const sqfs_super_t *super, int outfd);

#endif /* MKSQUASHFS_H */