diff options
Diffstat (limited to 'contrib/native/client/src/include/drill')
-rw-r--r-- | contrib/native/client/src/include/drill/common.hpp | 3 | ||||
-rw-r--r-- | contrib/native/client/src/include/drill/drillClient.hpp | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/contrib/native/client/src/include/drill/common.hpp b/contrib/native/client/src/include/drill/common.hpp index 6d3816e7c..ed0a1ed32 100644 --- a/contrib/native/client/src/include/drill/common.hpp +++ b/contrib/native/client/src/include/drill/common.hpp @@ -166,6 +166,9 @@ typedef enum{ #define USERPROP_FILEPATH "pemLocation" // Not implemented yet #define USERPROP_FILENAME "pemFile" // Not implemented yet #define USERPROP_IMPERSONATION_TARGET "impersonation_target" +#define USERPROP_AUTH_MECHANISM "auth" +#define USERPROP_SERVICE_NAME "service_name" +#define USERPROP_SERVICE_HOST "service_host" // Bitflags to describe user properties // Used in DrillUserProperties::USER_PROPERTIES diff --git a/contrib/native/client/src/include/drill/drillClient.hpp b/contrib/native/client/src/include/drill/drillClient.hpp index 00ff72344..01c9f676f 100644 --- a/contrib/native/client/src/include/drill/drillClient.hpp +++ b/contrib/native/client/src/include/drill/drillClient.hpp @@ -80,6 +80,8 @@ class DECLSPEC_DRILL_CLIENT DrillClientConfig{ ~DrillClientConfig(); static void initLogging(const char* path); static void setLogLevel(logLevel_t l); + static void setSaslPluginPath(const char* path); + static const char* getSaslPluginPath(); static void setBufferLimit(uint64_t l); static uint64_t getBufferLimit(); static void setSocketTimeout(int32_t l); @@ -135,6 +137,8 @@ class DECLSPEC_DRILL_CLIENT DrillClientConfig{ // For future use. Currently, not enforced. static uint64_t s_bufferLimit; + static const char* s_saslPluginPath; + /** * DrillClient configures timeout (in seconds) in a fine granularity. * Disabled by setting the value to zero. |