File: freespace.h

package info (click to toggle)
reprepro 5.3.0-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,960 kB
  • sloc: ansic: 52,311; sh: 1,875; python: 1,625; makefile: 167
file content (20 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef REPREPRO_FREESPACE_H
#define REPREPRO_FREESPACE_H

#ifndef REPREPRO_DATABASE_H
#include "database.h"
#endif

struct devices;
enum spacecheckmode { scm_NONE, /* scm_ASSUMESINGLEFS, */ scm_FULL };

retvalue space_prepare(/*@out@*/struct devices **, enum spacecheckmode, off_t /*reservedfordb*/, off_t /*reservedforothers*/);

struct checksums;
retvalue space_needed(/*@null@*/struct devices *, const char * /*filename*/, const struct checksums *);

retvalue space_check(/*@null@*/struct devices *);

void space_free(/*@only@*//*@null@*/struct devices *);

#endif