X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=blobdiff_plain;f=keyindex.h;fp=keyindex.h;h=c3e78efa17e617cec47299bd6cec57ca6718ad79;hp=4b10e4517c755ddaab20ab0c6c1eb0d0a5f67ea1;hb=f6d38365b7e7e1e88ba02136ffe6f0fb08903ef0;hpb=b767e3e90280a1222fc4404cbd4c832342c9382d diff --git a/keyindex.h b/keyindex.h index 4b10e45..c3e78ef 100644 --- a/keyindex.h +++ b/keyindex.h @@ -47,4 +47,12 @@ int key_index(struct onak_dbctx *dbctx, * machine readable list of them. */ int mrkey_index(struct openpgp_publickey *keys); + +/** + * txt2html - Takes a string and converts it to HTML. + * @string: The string to HTMLize. + * + * Takes a string and escapes any HTML entities. + */ +const char *txt2html(const char *string); #endif