diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-16 21:36:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:32 -0500 |
commit | b785a7c40c185512207ef8da837a766933073032 (patch) | |
tree | e419a3e7dfaf2bd9d71b1c345a235f65fac002ea /source4/lib/tdr | |
parent | 4469fa31e3e3b2d62da7686fd6426bb44be09830 (diff) | |
download | samba-b785a7c40c185512207ef8da837a766933073032.tar.gz samba-b785a7c40c185512207ef8da837a766933073032.tar.bz2 samba-b785a7c40c185512207ef8da837a766933073032.zip |
r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
Diffstat (limited to 'source4/lib/tdr')
-rw-r--r-- | source4/lib/tdr/config.mk | 2 | ||||
-rw-r--r-- | source4/lib/tdr/tdr.c | 6 | ||||
-rw-r--r-- | source4/lib/tdr/tdr.h | 9 |
3 files changed, 13 insertions, 4 deletions
diff --git a/source4/lib/tdr/config.mk b/source4/lib/tdr/config.mk index 4160ad1ce9..7ecbab35d1 100644 --- a/source4/lib/tdr/config.mk +++ b/source4/lib/tdr/config.mk @@ -1,7 +1,7 @@ [LIBRARY::TDR] PUBLIC_HEADERS = tdr.h VERSION = 0.0.1 -SO_VERSION = 0.0.1 +SO_VERSION = 0 DESCRIPTION = Simple marshall/unmarshall library PUBLIC_PROTO_HEADER = tdr_proto.h OBJ_FILES = tdr.o diff --git a/source4/lib/tdr/tdr.c b/source4/lib/tdr/tdr.c index cd1650e30d..e108473708 100644 --- a/source4/lib/tdr/tdr.c +++ b/source4/lib/tdr/tdr.c @@ -129,7 +129,7 @@ NTSTATUS tdr_print_uint32(struct tdr_print *tdr, const char *name, uint32_t *v) return NT_STATUS_OK; } -NTSTATUS tdr_pull_charset(struct tdr_pull *tdr, TALLOC_CTX *ctx, const char **v, uint32_t length, uint32_t el_size, int chset) +NTSTATUS tdr_pull_charset(struct tdr_pull *tdr, TALLOC_CTX *ctx, const char **v, uint32_t length, uint32_t el_size, charset_t chset) { int ret; @@ -165,7 +165,7 @@ NTSTATUS tdr_pull_charset(struct tdr_pull *tdr, TALLOC_CTX *ctx, const char **v, return NT_STATUS_OK; } -NTSTATUS tdr_push_charset(struct tdr_push *tdr, const char **v, uint32_t length, uint32_t el_size, int chset) +NTSTATUS tdr_push_charset(struct tdr_push *tdr, const char **v, uint32_t length, uint32_t el_size, charset_t chset) { ssize_t ret, required; @@ -192,7 +192,7 @@ NTSTATUS tdr_push_charset(struct tdr_push *tdr, const char **v, uint32_t length, return NT_STATUS_OK; } -NTSTATUS tdr_print_charset(struct tdr_print *tdr, const char *name, const char **v, uint32_t length, uint32_t el_size, int chset) +NTSTATUS tdr_print_charset(struct tdr_print *tdr, const char *name, const char **v, uint32_t length, uint32_t el_size, charset_t chset) { tdr->print(tdr, "%-25s: %s", name, *v); return NT_STATUS_OK; diff --git a/source4/lib/tdr/tdr.h b/source4/lib/tdr/tdr.h index 8ca6717cee..4c0280d9d6 100644 --- a/source4/lib/tdr/tdr.h +++ b/source4/lib/tdr/tdr.h @@ -18,6 +18,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef __TDR_H__ +#define __TDR_H__ + +#include "core.h" +#include "lib/talloc/talloc.h" +#include "charset/charset.h" + #define TDR_BIG_ENDIAN 0x01 #define TDR_ALIGN2 0x02 #define TDR_ALIGN4 0x04 @@ -56,3 +63,5 @@ typedef NTSTATUS (*tdr_push_fn_t) (struct tdr_push *, const void *); typedef NTSTATUS (*tdr_pull_fn_t) (struct tdr_pull *, TALLOC_CTX *, void *); #include "tdr/tdr_proto.h" + +#endif /* __TDR_H__ */ |