summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-04-18 14:23:58 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-04-18 14:23:58 -0400
commitacf5c90ea58f30c017d7e40d55019d3fe27340f3 (patch)
tree2d8e9e99752e649adea4ca4c7557fd7e57dc133c /src
parente19340f72c2f850f4372a0f12a89390a17c92410 (diff)
downloadslapi-nis-acf5c90ea58f30c017d7e40d55019d3fe27340f3.tar.gz
slapi-nis-acf5c90ea58f30c017d7e40d55019d3fe27340f3.tar.xz
slapi-nis-acf5c90ea58f30c017d7e40d55019d3fe27340f3.zip
- use PRBool instead of bool_t where we interface with the map
Diffstat (limited to 'src')
-rw-r--r--src/nis.c10
1 files changed, 6 insertions, 4 deletions
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 <rpc/pmap_clnt.h>
#include <rpcsvc/yp_prot.h>
+#include <nspr.h>
+
#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));