diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-06-04 23:18:03 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-06-04 23:18:03 +0200 |
commit | e0ca5fdf8f54c3c264fcb1ddaf0adbde212d858a (patch) | |
tree | 202c201b860f996ccf754d3bfc256658c3694dc4 /manage.h | |
parent | OCSP_check.sh: new check logic (diff) | |
parent | Merge branch 'svn-BETA21' (diff) | |
download | openvpn-e0ca5fdf8f54c3c264fcb1ddaf0adbde212d858a.tar.xz |
Merge branch 'master' into bugfix2.1
Diffstat (limited to 'manage.h')
-rw-r--r-- | manage.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -164,12 +164,16 @@ struct management_callback const char *reason, const char *client_reason, struct buffer_list *cc_config); /* ownership transferred */ + char *(*get_peer_info) (void *arg, const unsigned long cid); #endif #ifdef MANAGEMENT_PF bool (*client_pf) (void *arg, const unsigned long cid, struct buffer_list *pf_config); /* ownership transferred */ #endif +#if HTTP_PROXY_FALLBACK + bool (*http_proxy_fallback_cmd) (void *arg, const char *server, const char *port, const char *flags); +#endif }; /* @@ -502,5 +506,11 @@ management_bytes_server (struct management *man, #endif /* MANAGEMENT_DEF_AUTH */ +#if HTTP_PROXY_FALLBACK + +void management_http_proxy_fallback_notify (struct management *man, const char *type, const char *remote_ip_hint); + +#endif /* HTTP_PROXY_FALLBACK */ + #endif #endif |