mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
r18787: Fix the strlen_m and strlen_m_term code by merging
in (and using elsewhere) next_codepoint from Samba4. Jerry please test. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
31c1be9056
commit
ece00b70a4
@@ -170,6 +170,10 @@ typedef smb_ucs2_t wfstring[FSTRING_LEN];
|
||||
#define COPY_UCS2_CHAR(dest,src) (((unsigned char *)(dest))[0] = ((unsigned char *)(src))[0],\
|
||||
((unsigned char *)(dest))[1] = ((unsigned char *)(src))[1], (dest))
|
||||
|
||||
/* Large data type for manipulating uint32 unicode codepoints */
|
||||
typedef uint32 codepoint_t;
|
||||
#define INVALID_CODEPOINT ((codepoint_t)-1)
|
||||
|
||||
/* pipe string names */
|
||||
#define PIPE_LANMAN "\\PIPE\\LANMAN"
|
||||
#define PIPE_SRVSVC "\\PIPE\\srvsvc"
|
||||
|
||||
Reference in New Issue
Block a user