File: cnoconv.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 (25 lines) | stat: -rw-r--r-- 707 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
23
24
25
/*
 * cnoconv.h - checkpoint number converter (obsolete)
 *
 * Licensed under LGPLv2: the complete text of the GNU Lesser General
 * Public License can be found in COPYING file of the nilfs-utils
 * package.
 *
 * Copyright (C) 2008-2012 Nippon Telegraph and Telephone Corporation.
 */

#ifndef NILFS_CNOCONV_H
#define NILFS_CNOCONV_H

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

struct nilfs_cnoconv;

struct nilfs_cnoconv *nilfs_cnoconv_create(struct nilfs *nilfs);
void nilfs_cnoconv_destroy(struct nilfs_cnoconv *cnoconv);
void nilfs_cnoconv_reset(struct nilfs_cnoconv *cnoconv);
int nilfs_cnoconv_time2cno(struct nilfs_cnoconv *cnoconv, __u64 time,
			   nilfs_cno_t *cnop);

#endif /* NILFS_CNOCONV */