summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_basic.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-11 06:54:54 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-11 06:54:54 +0000
commitc614ea5435e3a4c9b6e05dcde9daa7d38f7131ca (patch)
treefbd494bc0a29cf1dd2aaed5a08b3761331bf302a /source4/librpc/ndr/ndr_basic.c
parent023a8fcb80f13f06c32ad5515e046b2017eaed09 (diff)
downloadsamba-c614ea5435e3a4c9b6e05dcde9daa7d38f7131ca.tar.gz
samba-c614ea5435e3a4c9b6e05dcde9daa7d38f7131ca.tar.bz2
samba-c614ea5435e3a4c9b6e05dcde9daa7d38f7131ca.zip
added QueryPolicyInfo/PrimaryDomainInfo idl and test code
(This used to be commit b754ad2eae517abacaa26d9e28a8bf6164274971)
Diffstat (limited to 'source4/librpc/ndr/ndr_basic.c')
-rw-r--r--source4/librpc/ndr/ndr_basic.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index 3cb9e38749..ec065f63cc 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -206,12 +206,15 @@ NTSTATUS ndr_push_uint32(struct ndr_push *ndr, uint32 v)
return NT_STATUS_OK;
}
-/*
- align to a uint32
-*/
-NTSTATUS ndr_push_align_uint32(struct ndr_push *ndr)
+NTSTATUS ndr_push_align(struct ndr_push *ndr, size_t size)
{
- NDR_PUSH_ALIGN(ndr, 4);
+ NDR_PUSH_ALIGN(ndr, size);
+ return NT_STATUS_OK;
+}
+
+NTSTATUS ndr_pull_align(struct ndr_pull *ndr, size_t size)
+{
+ NDR_PULL_ALIGN(ndr, size);
return NT_STATUS_OK;
}