mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
Replace __u64, __u32, __u8, __s64, and __s32 with standard uint64_t, uint32_t, uint8_t, int64_t and int32_t types, respectively, except for nilfs2_api.h and nilfs2_ondisk.h. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
22 lines
604 B
C
22 lines
604 B
C
/*
|
|
* 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
|
|
|
|
#include <stdint.h> /* uint64_t */
|
|
#include "nilfs.h" /* nilfs_cno_t */
|
|
|
|
nilfs_cno_t nilfs_parse_cno(const char *arg, char **endptr, int base);
|
|
int nilfs_parse_cno_range(const char *arg, uint64_t *start, uint64_t *end,
|
|
int base);
|
|
int nilfs_parse_protection_period(const char *arg, unsigned long *period);
|
|
|
|
#endif /* NILFS_PARSER_H */
|