diff options
author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2009-02-11 18:20:18 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2009-02-11 18:20:18 -0500 |
commit | 4118a0c053531ed45299318a5fcececcab94a314 (patch) | |
tree | 31404e85a01469c959e4a28f0395aee0f227d756 /src/portmap.h | |
parent | 6b5ca0df76e9a76059e549f710e58589026ffe83 (diff) | |
download | slapi-nis-4118a0c053531ed45299318a5fcececcab94a314.tar.gz slapi-nis-4118a0c053531ed45299318a5fcececcab94a314.tar.xz slapi-nis-4118a0c053531ed45299318a5fcececcab94a314.zip |
- use our own bind-reserve-port helper, which should work with either
ipv4 or ipv6 sockets
- make portmap_register()/portmap_unregister() require the address family
Diffstat (limited to 'src/portmap.h')
-rw-r--r-- | src/portmap.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/portmap.h b/src/portmap.h index 0312188..ed59b67 100644 --- a/src/portmap.h +++ b/src/portmap.h @@ -23,8 +23,9 @@ #define portmap_h bool_t portmap_register(const char *log_id, int resv_sock, - int program, int version, int protocol, int port); -bool_t portmap_unregister(const char *log_id, - int resv_sock, int program, int version); + int program, int version, + int family, int protocol, int port); +bool_t portmap_unregister(const char *log_id, int resv_sock, + int program, int version, int family); #endif |