2 * Sherlock Library -- Character Conversion with Allocation on a Memory Pool
4 * (c) 2006 Pavel Charvat <pchar@ucw.cz>
8 #include "lib/mempool.h"
9 #include "charset/mp-charconv.h"
10 #include "charset/stk-charconv.h"
14 mp_conv(struct mempool *mp, byte *s, uns in_cs, uns out_cs)
16 return mp_strdup(mp, stk_conv(s, in_cs, out_cs));