diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-24 09:49:19 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-12-02 22:43:05 +0100 |
commit | 27d95cc8a637a226a20eaac9da7c0dc4d8239f88 (patch) | |
tree | 652836f4ba2a9fb0f93e83285ad342387068476d /librpc/ndr/libndr.h | |
parent | de1cd125ade49ab62c0585740e6af66c384d419b (diff) | |
download | samba-27d95cc8a637a226a20eaac9da7c0dc4d8239f88.tar.gz samba-27d95cc8a637a226a20eaac9da7c0dc4d8239f88.tar.bz2 samba-27d95cc8a637a226a20eaac9da7c0dc4d8239f88.zip |
librpc: Add support for struct timeval
Diffstat (limited to 'librpc/ndr/libndr.h')
-rw-r--r-- | librpc/ndr/libndr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index 95e6573748..9c26befdf7 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -636,5 +636,15 @@ _PUBLIC_ enum ndr_err_code ndr_pull_timespec(struct ndr_pull *ndr, _PUBLIC_ void ndr_print_timespec(struct ndr_print *ndr, const char *name, const struct timespec *t); +_PUBLIC_ enum ndr_err_code ndr_push_timeval(struct ndr_push *ndr, + int ndr_flags, + const struct timeval *t); +_PUBLIC_ enum ndr_err_code ndr_pull_timeval(struct ndr_pull *ndr, + int ndr_flags, + struct timeval *t); +_PUBLIC_ void ndr_print_timeval(struct ndr_print *ndr, const char *name, + const struct timeval *t); + + #endif /* __LIBNDR_H__ */ |