diff options
Diffstat (limited to 'core/git-access.h')
-rw-r--r-- | core/git-access.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/git-access.h b/core/git-access.h index 0ac5294c6..77cf309d3 100644 --- a/core/git-access.h +++ b/core/git-access.h @@ -15,12 +15,13 @@ extern "C" { #include <stdbool.h> #endif -#define CLOUD_NUM_HOSTS 2 #define CLOUD_HOST_US "ssrf-cloud-us.subsurface-divelog.org" #define CLOUD_HOST_EU "ssrf-cloud-eu.subsurface-divelog.org" #define CLOUD_HOST_PATTERN "ssrf-cloud-..\\.subsurface-divelog\\.org" #define CLOUD_HOST_GENERIC "cloud.subsurface-divelog.org" +#define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0])) + enum remote_transport { RT_OTHER, RT_HTTPS, RT_SSH }; struct git_oid; |