summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/password.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/api/password.cpp b/api/password.cpp
index b890ab3..011bfbe 100644
--- a/api/password.cpp
+++ b/api/password.cpp
@@ -85,7 +85,7 @@ EXPORT_API int dpm_password_get_quality(void* handle, int *quality)
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getQuality");
+ ret = client.methodCallForce<int>("Password::getQuality");
if (ret.get() < 0) {
return -1;
}
@@ -123,7 +123,7 @@ EXPORT_API int dpm_password_get_minimum_length(void* handle, int *value)
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getMinimumLength");
+ ret = client.methodCallForce<int>("Password::getMinimumLength");
if (ret.get() < 0) {
return -1;
@@ -162,7 +162,7 @@ EXPORT_API int dpm_password_get_min_complex_chars(void* handle, int *value)
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getMinComplexChars");
+ ret = client.methodCallForce<int>("Password::getMinComplexChars");
if (ret.get() < 0) {
return -1;
}
@@ -200,7 +200,7 @@ EXPORT_API int dpm_password_get_maximum_failed_attempts_for_wipe(void* handle, i
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getMaximumFailedForWipe");
+ ret = client.methodCallForce<int>("Password::getMaximumFailedForWipe");
if (ret.get() < 0) {
return -1;
}
@@ -238,7 +238,7 @@ EXPORT_API int dpm_password_get_expires(void* handle, int *value)
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getExpires");
+ ret = client.methodCallForce<int>("Password::getExpires");
if (ret.get() < 0) {
return -1;
}
@@ -276,7 +276,7 @@ EXPORT_API int dpm_password_get_history(void* handle, int *value)
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getHistory");
+ ret = client.methodCallForce<int>("Password::getHistory");
if (ret.get() < 0) {
return -1;
}
@@ -361,7 +361,7 @@ EXPORT_API int dpm_password_get_max_inactivity_time_device_lock(void* handle, in
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getMaxInactivityTimeDeviceLock");;
+ ret = client.methodCallForce<int>("Password::getMaxInactivityTimeDeviceLock");;
if (ret.get() < 0) {
return -1;
}
@@ -401,7 +401,7 @@ EXPORT_API int dpm_password_get_ret(void* handle, dpm_password_status_e *status)
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getStatus");
+ ret = client.methodCallForce<int>("Password::getStatus");
if (ret.get() < 0) {
return -1;
}
@@ -438,7 +438,7 @@ EXPORT_API int dpm_password_get_pattern(void* handle, char **pattern)
try {
Status<std::string> ret { std::string() };
- ret = client.methodCall<std::string>("Password::getPattern");
+ ret = client.methodCallForce<std::string>("Password::getPattern");
*pattern = ::strdup(ret.get().c_str());
} catch (...) {
return -1;
@@ -472,7 +472,7 @@ EXPORT_API int dpm_password_get_maximum_character_occurrences(void* handle, int
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getMaximumCharacterOccurrences");
+ ret = client.methodCallForce<int>("Password::getMaximumCharacterOccurrences");
if (ret.get() < 0) {
return -1;
}
@@ -510,7 +510,7 @@ EXPORT_API int dpm_password_get_maximum_numeric_sequence_length(void* handle, in
try {
Status<int> ret { 0 };
- ret = client.methodCall<int>("Password::getMaximumNumericSequenceLength");
+ ret = client.methodCallForce<int>("Password::getMaximumNumericSequenceLength");
if (ret.get() < 0) {
return -1;
}
@@ -605,7 +605,7 @@ EXPORT_API int dpm_password_get_recovery(void* handle, int *enable)
try {
Status<int> ret { false };
- ret = client.methodCall<int>("Password::getRecovery");
+ ret = client.methodCallForce<int>("Password::getRecovery");
if (ret.get() < 0) {
return -1;
}