Skip to content

Commit 83ae6ba

Browse files
committed
Update packaged header
1 parent 0101250 commit 83ae6ba

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

OpacityCore/src/main/jni/include/opacity.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ extern const int32_t OPACITY_GENERIC_ERROR;
2424

2525
extern const int32_t OPACITY_NOT_SUPPORTED;
2626

27+
extern const int32_t OPACITY_INVALID_ENVIRONMENT;
28+
2729
extern const int32_t OPACITY_ENVIRONMENT_TEST;
2830

2931
extern const int32_t OPACITY_ENVIRONMENT_LOCAL;
3032

33+
extern const int32_t OPACITY_ENVIRONMENT_SANDBOX;
34+
3135
extern const int32_t OPACITY_ENVIRONMENT_STAGING;
3236

3337
extern const int32_t OPACITY_ENVIRONMENT_PRODUCTION;
@@ -52,14 +56,18 @@ extern void secure_set(const char *key, const char *value);
5256

5357
extern const char *secure_get(const char *key);
5458

55-
extern void android_prepare_request(const char *_url);
59+
extern void android_prepare_request(const char *url);
5660

57-
extern void android_set_request_header(const char *_key, const char *_value);
61+
extern void android_set_request_header(const char *key, const char *value);
5862

5963
extern void android_present_webview(void);
6064

6165
extern void android_close_webview(void);
6266

67+
extern const char *android_get_browser_cookies_for_current_url(void);
68+
69+
extern const char *android_get_browser_cookies_for_domain(const char *domain);
70+
6371
extern void ios_prepare_request(const char *url);
6472

6573
extern void ios_set_request_header(const char *key, const char *value);

0 commit comments

Comments
 (0)