fs_create_index
extern int fs_create_index(dev_t device, const char *name, uint32 type, uint32 flags);
if (fs_create_index(targetDevice, index->d_name, info.type, flags)
if (fs_create_index(targetDevice, info.name, info.type, flags)
fs_create_index(volume.Device(), "META:group", B_STRING_TYPE, 0);
fs_create_index(volume.Device(), "META:email", B_STRING_TYPE, 0);
fs_create_index(volume.Device(), "MAIL:draft", B_INT32_TYPE, 0);
fs_create_index(volume.Device(), INDEX_SIGNATURE, B_STRING_TYPE, 0);
fs_create_index(volume.Device(), B_MAIL_ATTR_FLAGS, B_INT32_TYPE, 0);
fs_create_index(volume.Device(), attribute->attribute,
if (fs_create_index (DeviceID, g_AttributeNameClassification,
if (fs_create_index (DeviceID, g_AttributeNameSpamRatio,
if (fs_create_index(device, indexName, indexType, 0) != 0)
if (fs_create_index(to, dirent->d_name, info.type, 0) != 0) {
fs_create_index(ref.device, attrName, attr->Type(), 0);
if (fs_create_index(targetDevice, index->d_name, indexInfo.type, 0)
fs_create_index(bootVol.Device(), attrName, B_STRING_TYPE, 0);
fs_create_index(device, kAttrQueryLastChange, B_INT32_TYPE, 0);
fs_create_index(device, "_trk/recentQuery", B_INT32_TYPE, 0);
fs_create_index(device, stringIndices[i], B_STRING_TYPE, 0);
fs_create_index(device, "MAIL:draft", B_INT32_TYPE, 0);
fs_create_index(device, B_MAIL_ATTR_WHEN, B_INT32_TYPE, 0);
fs_create_index(device, B_MAIL_ATTR_FLAGS, B_INT32_TYPE, 0);
fs_create_index(device, B_MAIL_ATTR_ACCOUNT_ID, B_INT32_TYPE, 0);
fs_create_index(device, B_MAIL_ATTR_READ, B_INT32_TYPE, 0);