From acf5c90ea58f30c017d7e40d55019d3fe27340f3 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Fri, 18 Apr 2008 14:23:58 -0400 Subject: - use PRBool instead of bool_t where we interface with the map --- src/nis.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/nis.c b/src/nis.c index 2df4e7d..60d401b 100644 --- a/src/nis.c +++ b/src/nis.c @@ -15,6 +15,8 @@ #include #include +#include + #include "map.h" #include "nis.h" #include "plugin.h" @@ -111,7 +113,7 @@ nis_reply(struct plugin_state *state, int client, static void nis_domain(struct plugin_state *state, int client, struct sockaddr *client_addr, socklen_t client_addrlen, - XDR *request_xdrs, bool_t reply_on_failure, + XDR *request_xdrs, PRBool reply_on_failure, struct rpc_msg *reply, XDR *reply_xdrs, char *reply_buf, bool_t *reply_bool) { @@ -184,7 +186,7 @@ nis_first(struct plugin_state *state, struct ypresp_key_val *reply_key_val) { struct ypreq_nokey req_nokey; - bool_t map_supported; + PRBool map_supported; memset(&req_nokey, 0, sizeof(req_nokey)); memset(reply_key_val, 0, sizeof(*reply_key_val)); @@ -366,7 +368,7 @@ nis_all(struct plugin_state *state, struct ypreq_nokey req_nokey; keydat_t *reply_key; valdat_t *reply_val; - bool_t supported; + PRBool supported; memset(&req_nokey, 0, sizeof(req_nokey)); reply_key = &reply_all->ypresp_all_u.val.keydat; @@ -481,7 +483,7 @@ nis_process_request(struct plugin_state *state, int client, struct ypresp_order reply_order; struct ypresp_maplist reply_maplist; struct accepted_reply *accepted; - bool_t reply_bool; + PRBool reply_bool; memset(&request_xdrs, 0, sizeof(request_xdrs)); memset(&reply_xdrs, 0, sizeof(reply_xdrs)); -- cgit