File: cnormap.h

package info (click to toggle)
nilfs-tools 2.2.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,852 kB
  • sloc: ansic: 15,594; sh: 4,374; perl: 4,174; makefile: 140
file content (22 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * cnormap.h - checkpoint number reverse mapper
 *
 * Licensed under LGPLv2: the complete text of the GNU Lesser General
 * Public License can be found in COPYING file of the nilfs-utils
 * package.
 */

#ifndef NILFS_CNORMAP_H
#define NILFS_CNORMAP_H

#include <sys/types.h>
#include "nilfs.h"

struct nilfs_cnormap;

struct nilfs_cnormap *nilfs_cnormap_create(struct nilfs *nilfs);
void nilfs_cnormap_destroy(struct nilfs_cnormap *cnormap);
int nilfs_cnormap_track_back(struct nilfs_cnormap *cnormap, __u64 period,
			     nilfs_cno_t *cnop);

#endif /* NILFS_CNORMAP */