summaryrefslogtreecommitdiff
path: root/librpc/ndr/libndr.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-11-24 09:48:40 +0100
committerJeremy Allison <jra@samba.org>2011-12-02 22:43:05 +0100
commitde1cd125ade49ab62c0585740e6af66c384d419b (patch)
treec19ba8cdc314386680bd641d88535b6d4f34dd45 /librpc/ndr/libndr.h
parent46551d750dc58b32630fb6744364fe5a1052b87d (diff)
downloadsamba-de1cd125ade49ab62c0585740e6af66c384d419b.tar.gz
samba-de1cd125ade49ab62c0585740e6af66c384d419b.tar.bz2
samba-de1cd125ade49ab62c0585740e6af66c384d419b.zip
librpc: Add support for struct timespec
Diffstat (limited to 'librpc/ndr/libndr.h')
-rw-r--r--librpc/ndr/libndr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index 80b0ec9182..95e6573748 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -627,4 +627,14 @@ _PUBLIC_ enum ndr_err_code ndr_push_enum_uint1632(struct ndr_push *ndr, int ndr_
_PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b);
+_PUBLIC_ enum ndr_err_code ndr_push_timespec(struct ndr_push *ndr,
+ int ndr_flags,
+ const struct timespec *t);
+_PUBLIC_ enum ndr_err_code ndr_pull_timespec(struct ndr_pull *ndr,
+ int ndr_flags,
+ struct timespec *t);
+_PUBLIC_ void ndr_print_timespec(struct ndr_print *ndr, const char *name,
+ const struct timespec *t);
+
+
#endif /* __LIBNDR_H__ */