Creating tables with Unicode field types is done by adding or inserting a new field with a field type set to one of the following Unicode field types: CT_FSTRING, CT_F2STRING, CT_STRING or CT_2STRING.
ctdbAddField(hTable, "f1", CT_FUNICODE, 40);
ctdbAddField(hTable, "f2", CT_INT4, 4);
if ((eRet = ctdbCreateTable(hTable, "table", CTCREATE_NORMAL)) != CTDBRET_OK)
{
printf("ctdbCreateTable failed with error %d", eRet);
}