c: Finish the phogen module

This commit implements the `phogen_encode` function, which takes a bhash
as argument and generates a phonetic string.
This commit is contained in:
2021-11-14 09:12:20 +01:00
parent ad0627b9c1
commit 560db14a85
4 changed files with 78 additions and 4 deletions

View File

@ -1,4 +1,10 @@
#ifndef PHOGEN_H_INCLUDED
#define PHOGEN_H_INCLUDED
#include <stdbool.h>
#include "bhash.h"
bool phogen_encode(char *out, size_t out_len, bhash_t *bh_in);
#endif /* PHOGEN_H_INCLUDED */