Lines Matching defs:path
418 * Parse a UNC path (\\server\share\path) into its components.
419 * Although a standard UNC path starts with two '\', in DFS
424 * and share. The path is parsed to:
428 * unc_path relative path to the share with no leading/trailing '\'
437 smb_unc_init(const char *path, smb_unc_t *unc)
441 if (path == NULL || unc == NULL || (*path != '\\' && *path != '/'))
447 unc->unc_buf = smb_mem_strdup(path);
449 if ((unc->unc_buf = strdup(path)) == NULL)