#include #include #include static char* dom; char* textdomain(const char* domainname) { if (dom) free(dom); if (!(dom=strdup(domainname))) return 0; return dom; }