add flag handling and header guards

This commit is contained in:
2025-03-06 14:12:10 +01:00
parent 0d11dbec32
commit 98b6b8df7e
13 changed files with 119 additions and 26 deletions
+8 -1
View File
@@ -1,9 +1,16 @@
#include <curses.h>
#include <string>
// header guard
#ifndef _ba_hf_hg_
#define _ba_hf_hg_
void safe_exit(int code);
std::string bool_to_string(bool bool_in);
std::string SoRAuthFile(bool save, std::string data);
void get_input_and_login();
void print_in_middle(WINDOW *win, int starty, int startx, int width,
char *string, chtype color);
std::string rm_tr_le_whitespace(const std::string &s);
std::string rm_tr_le_whitespace(const std::string &s);
#endif