logo

skeud

Simple and portable utilities to deal with user accounts (su, login)

common.h (351B)


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