man_fromhost 846 B

12345678910111213141516171819202122
  1. diff -ruN tcp_wrappers_7.6.orig/hosts_access.3 tcp_wrappers_7.6/hosts_access.3
  2. --- tcp_wrappers_7.6.orig/hosts_access.3 2004-04-25 00:10:48.000000000 +0200
  3. +++ tcp_wrappers_7.6/hosts_access.3 2004-04-25 00:09:36.000000000 +0200
  4. @@ -14,6 +14,9 @@
  5. struct request_info *request_set(request, key, value, ..., 0)
  6. struct request_info *request;
  7. +void fromhost(request)
  8. +struct request_info *request;
  9. +
  10. int hosts_access(request)
  11. struct request_info *request;
  12. @@ -60,6 +63,7 @@
  13. is available, host names and client user names are looked up on demand,
  14. using the request structure as a cache. hosts_access() returns zero if
  15. access should be denied.
  16. +fromhost() must be called before hosts_access().
  17. .PP
  18. hosts_ctl() is a wrapper around the request_init() and hosts_access()
  19. routines with a perhaps more convenient interface (though it does not