30 XPATH_GET_SHORTEST_PATH, // Return the shortest path when . and .. exists (ie path such C:\abc\..\abc\file.txt). Return the path itself if it fails.
31 XPATH_GET_QUERY, // Must be an URL
32} XPATH_GETPART;
33
34typedefenum XPATH_QUALIFY
35{
36 XPATH_IS_VALID_NAME = 1, // Check if the name is o/S compatible (ie windows : length < MAX_PATH)
37 XPATH_IS_RELATIVE,
38 XPATH_IS_ROOT,
39 XPATH_IS_VALID_DIRECTORY, // occurs when XFILE_ATTRIBUTE_DIRECTORY attribute is set for the path
49unsignedint xPathQualifyURL(constCXString& path); // Return non 0 XURL_TYPE combination if path is an URL, 0 otherwise
50CXString xPathConvertToAbsolutePath(constCXString& mainPath, constCXString& relativePath); // If relativePath is relative, make the path absolute using mainPath. Otherwise return relativePath. Cf PathCanonicalize