return _("Network");
case DEVICE_TYPE_ANY:
return _("Any");
+ case DEVICE_TYPE_LUKS:
+ return _("Encrypted Device");
case DEVICE_TYPE_UNKNOWN:
default:
return _("Unknown");
return "network";
case DEVICE_TYPE_ANY:
return "any";
+ case DEVICE_TYPE_LUKS:
+ return "encrypted";
case DEVICE_TYPE_UNKNOWN:
default:
return "unknown";
return DEVICE_TYPE_NETWORK;
if (!strncmp(str, "any", strlen("any")))
return DEVICE_TYPE_ANY;
+ if (!strncmp(str, "encrypted", strlen("encrypted")))
+ return DEVICE_TYPE_LUKS;
return DEVICE_TYPE_UNKNOWN;
}