diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-01-01 17:14:00 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-01-01 17:14:00 +0200 |
commit | 3e1a333c5749373c0471ad026427e83761fbf4c4 (patch) | |
tree | e7374bf5e9e30ed92eceb1cdb0f44ef0051ea443 /src/registry_url.h | |
parent | 3d239c5bf9abf9a263409fc8a2dc0c190efcdf70 (diff) |
more registry code cleanup and re-organization for better management
Diffstat (limited to 'src/registry_url.h')
-rw-r--r-- | src/registry_url.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/registry_url.h b/src/registry_url.h index 1a13ca549c..34c1d18966 100644 --- a/src/registry_url.h +++ b/src/registry_url.h @@ -20,7 +20,12 @@ struct registry_url { }; typedef struct registry_url REGISTRY_URL; +// REGISTRY_URL INDEX extern int registry_url_compare(void *a, void *b); +extern REGISTRY_URL *registry_url_index_del(REGISTRY_URL *u); +extern REGISTRY_URL *registry_url_index_add(REGISTRY_URL *u) __attribute__((returns_nonnull)); + +// REGISTRY_URL MANAGEMENT extern REGISTRY_URL *registry_url_get(const char *url, size_t urllen) __attribute__((returns_nonnull)); extern void registry_url_link(REGISTRY_URL *u); extern void registry_url_unlink(REGISTRY_URL *u); |