ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
password.h
Go to the documentation of this file.
1
16#pragma once
17
18#include <stddef.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
30#define PASSWORD_MAX_LEN 260
31
55int prompt_password(const char *prompt, char *password, size_t max_len);
56
76int prompt_password_simple(const char *prompt, char *password, size_t max_len);
77
78#ifdef __cplusplus
79}
80#endif
81
int prompt_password(const char *prompt, char *password, size_t max_len)
Prompt the user for a password with secure input.
Definition password.c:13
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:46