diff options
Diffstat (limited to 'src/registry.h')
-rw-r--r-- | src/registry.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/registry.h b/src/registry.h index d95383b5d..c2b57a23d 100644 --- a/src/registry.h +++ b/src/registry.h @@ -1,10 +1,12 @@ -#include "web_client.h" - #ifndef NETDATA_REGISTRY_H #define NETDATA_REGISTRY_H 1 #define NETDATA_REGISTRY_COOKIE_NAME "netdata_registry_id" +extern void registry_set_cookie(struct web_client *w, const char *guid); +extern const char *registry_to_announce(void); +extern int registry_verify_cookies_redirects(void); + extern int registry_request_access_json(struct web_client *w, char *person_guid, char *machine_guid, char *url, char *name, time_t when); extern int registry_request_delete_json(struct web_client *w, char *person_guid, char *machine_guid, char *url, char *delete_url, time_t when); extern int registry_request_search_json(struct web_client *w, char *person_guid, char *machine_guid, char *url, char *request_machine, time_t when); |