common.h (351B)
- // SPDX-FileCopyrightText: 2022 Haelwenn (lanodan) Monnier <contact+skeud@hacktivis.me>
- // SPDX-License-Identifier: MPL-2.0
- #include <stdbool.h> // bool
- #include <sys/types.h> // ssize_t
- size_t smin(size_t a, size_t b);
- bool hash_match(char *a, char *b);
- bool skeud_crypt_check(char *hash, char *password);
- ssize_t skeud_getpass(char **password);