Skip to content

Commit

Permalink
update libsfclient 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-hx committed Oct 24, 2024
1 parent 71c1859 commit a044deb
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 2 deletions.
Binary file modified libsnowflakeclient/deps-build/darwin/curl/lib/libcurl.a
Binary file not shown.
Binary file modified libsnowflakeclient/deps-build/darwin/openssl/lib/libcrypto.a
Binary file not shown.
Binary file modified libsnowflakeclient/deps-build/darwin/openssl/lib/libssl.a
Binary file not shown.
Binary file modified libsnowflakeclient/deps-build/linux/curl/lib/libcurl.a
Binary file not shown.
Binary file modified libsnowflakeclient/deps-build/linux/openssl/lib/libcrypto.a
Binary file not shown.
Binary file modified libsnowflakeclient/deps-build/linux/openssl/lib/libssl.a
Binary file not shown.
Binary file modified libsnowflakeclient/deps-build/win64/vs16/curl/lib/libcurl_a.lib
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 12 additions & 1 deletion libsnowflakeclient/include/snowflake/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ extern "C" {
*/
#define SF_AUTHENTICATOR_EXTERNAL_BROWSER "externalbrowser"

/**
* Authenticator, oauth
*/
#define SF_AUTHENTICATOR_OAUTH "oauth"

/**
* UUID4 length
*/
Expand Down Expand Up @@ -262,11 +267,13 @@ typedef enum SF_ATTRIBUTE {
SF_CON_MAX_VARCHAR_SIZE,
SF_CON_MAX_BINARY_SIZE,
SF_CON_MAX_VARIANT_SIZE,
SF_CON_OCSP_FAIL_OPEN,
SF_DIR_QUERY_URL,
SF_DIR_QUERY_URL_PARAM,
SF_DIR_QUERY_TOKEN,
SF_RETRY_ON_CURLE_COULDNT_CONNECT_COUNT,
SF_QUERY_RESULT_TYPE
SF_QUERY_RESULT_TYPE,
SF_CON_OAUTH_TOKEN
} SF_ATTRIBUTE;

/**
Expand Down Expand Up @@ -318,6 +325,7 @@ typedef struct SF_CONNECT {
char *passcode;
sf_bool passcode_in_password;
sf_bool insecure_mode;
sf_bool ocsp_fail_open;
sf_bool autocommit;
char *timezone;
char *service_name;
Expand Down Expand Up @@ -393,6 +401,9 @@ typedef struct SF_CONNECT {
uint64 max_varchar_size;
uint64 max_binary_size;
uint64 max_variant_size;

//token for OAuth authentication
char *oauth_token;
} SF_CONNECT;

/**
Expand Down
2 changes: 1 addition & 1 deletion libsnowflakeclient/include/snowflake/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#ifndef SNOWFLAKE_CLIENT_VERSION_H
#define SNOWFLAKE_CLIENT_VERSION_H

#define SF_API_VERSION "1.0.13"
#define SF_API_VERSION "1.1.0"

#endif /* SNOWFLAKE_CLIENT_VERSION_H */
Binary file modified libsnowflakeclient/lib/darwin/libsnowflakeclient.a
Binary file not shown.
Binary file modified libsnowflakeclient/lib/linux/libsnowflakeclient.a
Binary file not shown.
Binary file modified libsnowflakeclient/lib/win64/vs16/snowflakeclient.lib
Binary file not shown.

0 comments on commit a044deb

Please sign in to comment.