From 89c95454300f28b0241a44fc2aa7886304c90824 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 18 Oct 2008 15:56:07 +0200 Subject: Use str_list_equal() rather than str_list_compare(). --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index cab294d8b1..ac900233fa 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1664,7 +1664,7 @@ char *binary_string(char *buf, int len); int fstr_sprintf(fstring s, const char *fmt, ...); char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *sep); char **str_list_copy(TALLOC_CTX *mem_ctx, const char **list); -bool str_list_compare(char **list1, char **list2); +bool str_list_equal(const char **list1, const char **list2); size_t str_list_length( const char * const*list ); bool str_list_sub_basic( char **list, const char *smb_name, const char *domain_name ); -- cgit From f3f9446ec122d633c50a0c3dba9a9bea9f79c2b0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 18 Oct 2008 16:16:57 +0200 Subject: Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal. --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index ac900233fa..ba84574653 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1614,7 +1614,7 @@ char *alpha_strcpy_fn(const char *fn, char *StrnCpy_fn(const char *fn, int line,char *dest,const char *src,size_t n); size_t strhex_to_str(char *buf, size_t buf_len, const char *strhex, size_t strhex_len); DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *strhex); -char *hex_encode(TALLOC_CTX *mem_ctx, const unsigned char *buff_in, size_t len); +char *hex_encode_talloc(TALLOC_CTX *mem_ctx, const unsigned char *buff_in, size_t len); bool in_list(const char *s, const char *list, bool casesensitive); void string_free(char **s); bool string_set(char **dest,const char *src); -- cgit