Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/parse.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / parse.h` 24 lines ยท 841 bytes Raw Blame History 1 #ifndef PARSE_H 2 #define PARSE_H 3 4 int git_parse_signed(const char *value, intmax_t *ret, intmax_t max); 5 int git_parse_unsigned(const char *value, uintmax_t *ret, uintmax_t max); 6 int git_parse_ssize_t(const char *, ssize_t *); 7 int git_parse_size_t(const char *, size_t *); 8 int git_parse_ulong(const char *, unsigned long *); 9 int git_parse_uint(const char *value, unsigned int *ret); 10 int git_parse_int(const char *value, int *ret); 11 int git_parse_int64(const char *value, int64_t *ret); 12 int git_parse_double(const char *value, double *ret); 13 14 /** 15 * Same as `git_config_bool`, except that it returns -1 on error rather 16 * than dying. 17 */ 18 int git_parse_maybe_bool(const char *); 19 int git_parse_maybe_bool_text(const char *value); 20 21 int git_env_bool(const char *, int); 22 unsigned long git_env_ulong(const char *, unsigned long); 23 24 #endif /* PARSE_H */