ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
password.h
Go to the documentation of this file.
1
15
16#pragma once
17
18#include <stddef.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
31#define PASSWORD_MAX_LEN 260
32
56int prompt_password(const char *prompt, char *password, size_t max_len);
57
77int prompt_password_simple(const char *prompt, char *password, size_t max_len);
78int prompt_password_simple_kind(const char *prompt, char *password, size_t max_len, ui_prompt_kind_t kind);
79
80#ifdef __cplusplus
81}
82#endif
83
int prompt_password(const char *prompt, char *password, size_t max_len)
Prompt the user for a password with secure input.
Definition password.c:15
int prompt_password_simple_kind(const char *prompt, char *password, size_t max_len, ui_prompt_kind_t kind)
Definition password.c:35
int prompt_password_simple(const char *prompt, char *password, size_t max_len)
Prompt the user for a password with simple formatting.
Definition password.c:31