X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keyindex.h;h=c3e78efa17e617cec47299bd6cec57ca6718ad79;hb=a8f2e191cb35193cb49aca5a6ccdac2170c334a1;hp=8a4e529e9545ee0c2be500a569cfa9cf45bdeb7d;hpb=8e0907be1d73011075a99a0c029c56664e12843e;p=onak.git diff --git a/keyindex.h b/keyindex.h index 8a4e529..c3e78ef 100644 --- a/keyindex.h +++ b/keyindex.h @@ -13,8 +13,7 @@ * more details. * * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ #ifndef __KEYINDEX_H__ @@ -48,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