1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00

r4263: added support for the trans2 RAW_SEARCH_EA_LIST information

level. This is quite a strange level that we've never seen before, but
is used by the os2 workplace shell.

note w2k screws up this level when unicode is negotiated, so it only
passes the RAW-SEARCH test when you force non-unicode
This commit is contained in:
Andrew Tridgell
2004-12-18 04:38:43 +00:00
committed by Gerald (Jerry) Carter
parent 7251f1fcdd
commit 25189b8fbf
10 changed files with 283 additions and 15 deletions

View File

@@ -160,3 +160,16 @@ char *data_blob_hex_string(TALLOC_CTX *mem_ctx, DATA_BLOB *blob)
return hex_string;
}
/*
useful for constructing data blobs in test suites, while
avoiding const warnings
*/
DATA_BLOB data_blob_string_const(const char *str)
{
DATA_BLOB blob;
blob.data = discard_const(str);
blob.length = strlen(str);
return blob;
}