2021-01-07 13:07:16 -06:00
|
|
|
#ifndef UTIL_H
|
|
|
|
#define UTIL_H
|
|
|
|
|
2022-08-12 22:11:32 -05:00
|
|
|
#include <stdbool.h>
|
2021-01-07 13:07:16 -06:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2022-08-12 22:11:32 -05:00
|
|
|
#include <curses.h>
|
|
|
|
|
2021-01-07 13:07:16 -06:00
|
|
|
#include "string-array.h"
|
|
|
|
|
|
|
|
void read_entries_from_stream(struct str_array *, int, FILE *);
|
2022-08-12 22:11:32 -05:00
|
|
|
void print_prompt(WINDOW *, struct str_array *, bool);
|
2021-01-07 15:23:36 -06:00
|
|
|
void *xmalloc(size_t);
|
|
|
|
void *xrealloc(void *, size_t);
|
2021-01-07 13:07:16 -06:00
|
|
|
|
|
|
|
#endif
|