From d689f00026541dd2cb87c6949fdc2f8eb3ad919f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 21 Feb 2001 04:14:28 +0000 Subject: converted the last couple of functions in libsmb to be unicode the whole of libsmb should now do unicode where appropriate (This used to be commit ac7529d2b69826f8214d5632c31778cc87216653) --- source3/include/proto.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index ab1f235aa7..4f703dedb1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -906,10 +906,10 @@ BOOL cli_set_secdesc(struct cli_state *cli,int fd, SEC_DESC *sd); /*The following definitions come from libsmb/clistr.c */ -int clistr_push(struct cli_state *cli, void *dest, char *src, int dest_len, int flags); -int clistr_push_size(struct cli_state *cli, void *dest, char *src, int dest_len, int flags); -int clistr_pull(struct cli_state *cli, char *dest, void *src, int dest_len, int src_len, int flags); -int clistr_pull_size(struct cli_state *cli, void *src, int src_len); +int clistr_push(struct cli_state *cli, void *dest, const char *src, int dest_len, int flags); +int clistr_push_size(struct cli_state *cli, const void *dest, const char *src, int dest_len, int flags); +int clistr_pull(struct cli_state *cli, char *dest, const void *src, int dest_len, int src_len, int flags); +int clistr_pull_size(struct cli_state *cli, const void *src, int src_len); int clistr_align(struct cli_state *cli, int offset); /*The following definitions come from libsmb/clitrans.c */ -- cgit