ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
env.h
Go to the documentation of this file.
1
5
6#ifndef ASCIICHAT_UTIL_ENV_H
7#define ASCIICHAT_UTIL_ENV_H
8
9#include <stdbool.h>
10#include <stddef.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
31bool env_pop_prompt_response(char *response_out, size_t response_size);
32
40
50
51#endif // ASCIICHAT_UTIL_ENV_H
52
53#ifdef __cplusplus
54}
55#endif
bool env_validate_prompt_response_format(void)
Validate ASCII_CHAT_QUESTION_PROMPT_RESPONSE format.
Definition env.c:251
bool env_has_prompt_response(void)
Check if ASCII_CHAT_QUESTION_PROMPT_RESPONSE has any responses available.
Definition env.c:215
bool env_pop_prompt_response(char *response_out, size_t response_size)
Pop the first response from ASCII_CHAT_QUESTION_PROMPT_RESPONSE stack.
Definition env.c:98