diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-18 17:44:24 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-20 13:54:07 +0100 |
commit | b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3 (patch) | |
tree | d5439c01bf41cd1d33371ad669adb00d2073e038 /source4/torture/rpc/epmapper.c | |
parent | f92b05b95575d45e91dcd2885fb4e2d202deb9ae (diff) | |
download | samba-b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3.tar.gz samba-b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3.tar.bz2 samba-b4d35bee38a4cfd0eba26956dde2c5bb23cdb1c3.zip |
libndr: Rename policy_handle_empty to ndr_policy_handle_empty.
This makes the NDR namespace a bit clearer, in preparation of ABI checking.
Diffstat (limited to 'source4/torture/rpc/epmapper.c')
-rw-r--r-- | source4/torture/rpc/epmapper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index c0d8c44e02..c605a05f6a 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -406,12 +406,12 @@ static bool test_Map_simple(struct torture_context *tctx, } while (NT_STATUS_IS_OK(status) && r.out.result == EPMAPPER_STATUS_OK && *r.out.num_ents == r.in.max_ents && - !policy_handle_empty(&entry_handle)); + !ndr_policy_handle_empty(&entry_handle)); torture_assert_ntstatus_ok(tctx, status, "epm_Map_simple failed"); torture_assert(tctx, - policy_handle_empty(&entry_handle), + ndr_policy_handle_empty(&entry_handle), "epm_Map_simple failed - The policy handle should be emtpy."); return true; @@ -427,7 +427,7 @@ static bool test_LookupHandleFree(struct torture_context *tctx, torture_skip(tctx, "Skip Insert test against Samba4"); } - if (policy_handle_empty(entry_handle)) { + if (ndr_policy_handle_empty(entry_handle)) { torture_comment(tctx, "epm_LookupHandleFree failed - empty policy_handle\n"); return false; @@ -504,13 +504,13 @@ static bool test_Lookup_simple(struct torture_context *tctx, } while (NT_STATUS_IS_OK(status) && r.out.result == EPMAPPER_STATUS_OK && *r.out.num_ents == r.in.max_ents && - !policy_handle_empty(&entry_handle)); + !ndr_policy_handle_empty(&entry_handle)); torture_assert_ntstatus_ok(tctx, status, "epm_Lookup failed"); torture_assert(tctx, r.out.result == EPMAPPER_STATUS_NO_MORE_ENTRIES, "epm_Lookup failed"); torture_assert(tctx, - policy_handle_empty(&entry_handle), + ndr_policy_handle_empty(&entry_handle), "epm_Lookup failed - The policy handle should be emtpy."); return true; |