upstream: add upstream list parameter to upstream_add()
to abstract it from the concrete list in the config struct. Michael
This commit is contained in:
1 parent
fd987e97f0
commit
22fba83df2
3 files changed
+10
-8
No files matched your search
+2
-1
@@ -40,7 +40,8 @@ struct upstream {
|
||||
};
|
||||
|
||||
#ifdef UPSTREAM_SUPPORT
|
||||
extern void upstream_add (const char *host, int port, const char *domain);
|
||||
extern void upstream_add (const char *host, int port, const char *domain,
|
||||
struct upstream **upstream_list);
|
||||
struct upstream *upstream_get (char *host);
|
||||
#endif /* UPSTREAM_SUPPORT */
|
||||
|
||||
|
||||
Reference in new issue
Block a user