2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
15 * mstralloc - Allocates space for a given-length multistring
16 * mstrfree - Frees a multistring
17 * mstrwalk - Allows iterative progression along a multistring
18 * mstrlen - Returns the length of a given multistring, including all \0's
19 * mstrcount - Returns the number of entries in a given multistring
20 * mstrstr - Determines if a given substring exists in a multistring
21 * mstrcat - Adds a substring to a multistring (doesn't do any checking first)
22 * mstrdel - Removes a substring from a multistring
26 LPTSTR
mstralloc (size_t cchMax
);
27 void mstrfree (LPCTSTR msz
);
28 BOOL
mstrwalk (LPCTSTR msz
, TCHAR chSep
, LPTSTR
*ppSegment
, size_t *pchSegment
);
29 size_t mstrlen (LPCTSTR msz
, TCHAR chSep
);
30 size_t mstrcount (LPCTSTR msz
, TCHAR chSep
);
31 BOOL
mstrstr (LPCTSTR msz
, TCHAR chSep
, LPCTSTR pszTest
);
32 BOOL
mstrcat (LPTSTR
*pmsz
, TCHAR chSep
, LPCTSTR pszAppend
);
33 BOOL
mstrdel (LPTSTR
*pmsz
, TCHAR chSep
, LPCTSTR pszRemove
);