File: retriever.h

package info (click to toggle)
rdiff-backup-fs 1.0.0-8
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 952 kB
  • sloc: sh: 3,800; ansic: 2,944; makefile: 23
file content (26 lines) | stat: -rw-r--r-- 583 bytes parent folder | download | duplicates (4)
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
#ifndef _RETRIEVER_H_
#define _RETRIEVER_H_

#include <pthread.h>

#include "../headers.h"
#include "../externs.h"
#include "../support/gstring.h"
#include "../support/gpath.h"
#include "../structure/core.h"

#include "simple.h"
#include "limit.h"

#define DEFAULT_FILE_CACHE_LIMIT 10

extern int cache_limit;

int retriever_init_simple(struct file_system_info *);
int retriever_init_limit(struct file_system_info *);

extern int (*retrieve)(struct file_system_info *, stats_t *);
extern int (*release)(struct file_system_info *, stats_t *);
char * get_tmp_path(char *path);

#endif