Hello.
The uthash feature allows to change the standard functions malloc(), free() etc. by replacing the macros uthash_malloc, uthash_free and so on. What do you thing about to adopt the same idea in other features like utstring? If you are OK, I could send a patch to implement it on utstring and utlist.
cheers