char *append(const
char* URL, const char *string, bool
interpretDirs = true)
URL is the base URL.
string is the string to append to the base URL.
interpretDirs should be set to true (default) if you want the library to interpret "." and ".." as special directories.
A syntactically valid URL will be returned, though it might not point to anything!
Unlike the previous versions of libsmb, the resulting pointer is now the property of the library so you should not delete it.
Does the opposite of the parser
char *buildURL(const
char* user=0, const
char* password=0, const
char* workgroup=0, const
char *host=0, const
char* share=0, const
char* path=0, const
char* ip=0)
Stats a file/directory. URLs are accepted. Works
as its standard equivalent.
int stat(const
char *filename, struct stat *buf)