common.h (375B)
- // 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(const char *a, const char *b);
- bool skeud_crypt_check(const char *hash, const char *password);
- ssize_t skeud_getpass(char **password);