a lot of fixes

This commit is contained in:
2026-11-17 09:21:59 +03:00
parent 58a489f1ad
commit c8ee17854d
15 changed files with 316 additions and 173 deletions

View File

@@ -35,9 +35,9 @@ typedef struct{
char *help; // help message
} alias_t;
int opendict(const char *dic);
bool opendict(const char *dic);
void closedict();
int chkdict();
bool chkdict();
size_t get_dictsize();
char *dicentry_descr(dicentry_t *entry, char *buf, size_t bufsize);
char *dicentry_descrN(size_t N, char *buf, size_t bufsize);
@@ -45,17 +45,18 @@ char *dicentry_descrN(size_t N, char *buf, size_t bufsize);
dicentry_t *findentry_by_code(const char *code);
dicentry_t *findentry_by_reg(uint16_t reg);
int setdumppars(char **pars);
int opendumpfile(const char *name);
bool setdumppars(char **pars);
bool opendumpfile(const char *name);
void closedumpfile();
int setDumpT(double dT);
int rundump();
char *getdumpname();
bool setDumpT(double dT);
bool rundump();
const char *getdumpname();
int read_dict_entries(const char *outdic);
int write_dict_entries(int *errors);
int openaliases(const char *filename);
int chkaliases();
bool openaliases(const char *filename);
bool chkaliases();
void closealiases();
size_t get_aliasessize();
alias_t *find_alias(const char *name);