mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 13:02:47 -05:00
Move comma-separated string functions into sshcommon.c.
These are just string handling, after all. They could even move into misc.c if any non-SSH-related code ever had a need for them.
This commit is contained in:
5
ssh.h
5
ssh.h
@ -1334,3 +1334,8 @@ unsigned alloc_channel_id_general(tree234 *channels, size_t localid_offset);
|
||||
#define alloc_channel_id(tree, type) \
|
||||
TYPECHECK(&((type *)0)->localid == (unsigned *)0, \
|
||||
alloc_channel_id_general(tree, offsetof(type, localid)))
|
||||
|
||||
int first_in_commasep_string(char const *needle, char const *haystack,
|
||||
int haylen);
|
||||
int in_commasep_string(char const *needle, char const *haystack, int haylen);
|
||||
void add_to_commasep(strbuf *buf, const char *data);
|
||||
|
Reference in New Issue
Block a user