]> the.earth.li Git - onak.git/blobdiff - keyindex.h
Move the CGI specific routines into cgi/ and split out UID escaping
[onak.git] / keyindex.h
index 4b10e4517c755ddaab20ab0c6c1eb0d0a5f67ea1..c3e78efa17e617cec47299bd6cec57ca6718ad79 100644 (file)
@@ -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