File: parser.h

package info (click to toggle)
nilfs-tools 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,460 kB
  • ctags: 1,875
  • sloc: ansic: 14,213; sh: 10,223; perl: 2,638; makefile: 159
file content (19 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * parser.h - NILFS parser library
 *
 * Copyright (C) 2005-2012 Nippon Telegraph and Telephone Corporation.
 *
 * This program can be redistributed under the terms of the GNU Lesser
 * General Public License.
 */

#ifndef NILFS_PARSER_H
#define NILFS_PARSER_H

extern nilfs_cno_t nilfs_parse_cno(const char *arg, char **endptr, int base);
extern int nilfs_parse_cno_range(const char *arg, __u64 *start, __u64 *end,
				 int base);
extern int nilfs_parse_protection_period(const char *arg,
					 unsigned long *period);

#endif /* NILFS_PARSER_H */