diff options
Diffstat (limited to 'components')
| -rw-r--r-- | components/tollgate_core/src/tollgate_core_portal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/tollgate_core/src/tollgate_core_portal.h b/components/tollgate_core/src/tollgate_core_portal.h index 20c0552..82c4936 100644 --- a/components/tollgate_core/src/tollgate_core_portal.h +++ b/components/tollgate_core/src/tollgate_core_portal.h | |||
| @@ -6,6 +6,10 @@ | |||
| 6 | #include <stddef.h> | 6 | #include <stddef.h> |
| 7 | #include <stdbool.h> | 7 | #include <stdbool.h> |
| 8 | 8 | ||
| 9 | #ifdef __cplusplus | ||
| 10 | extern "C" { | ||
| 11 | #endif | ||
| 12 | |||
| 9 | typedef struct { | 13 | typedef struct { |
| 10 | const char *key; | 14 | const char *key; |
| 11 | const char *val; | 15 | const char *val; |
| @@ -31,4 +35,8 @@ int tollgate_core_portal_format_usage(const tg_session_t *session, | |||
| 31 | 35 | ||
| 32 | bool tollgate_core_portal_is_captive_uri(const char *uri); | 36 | bool tollgate_core_portal_is_captive_uri(const char *uri); |
| 33 | 37 | ||
| 38 | #ifdef __cplusplus | ||
| 39 | } | ||
| 40 | #endif | ||
| 41 | |||
| 34 | #endif | 42 | #endif |