libdsm 0.4.3
Minimalist and read-only SMB client lib
|
Directory operations. More...
#include "bdsm/smb_session.h"
Functions | |
BDSM_EXPORT int | smb_directory_rm (smb_session *s, smb_tid tid, const char *path) |
remove a directory on a share. | |
BDSM_EXPORT int | smb_directory_create (smb_session *s, smb_tid tid, const char *path) |
create a directory on a share. | |
Directory operations.
BDSM_EXPORT int smb_directory_create | ( | smb_session * | s, |
smb_tid | tid, | ||
const char * | path ) |
create a directory on a share.
Use this function to create a directory
s | The session object |
tid | The tid of the share the file is in, obtained via smb_tree_connect() |
path | The path of the directory to create |
BDSM_EXPORT int smb_directory_rm | ( | smb_session * | s, |
smb_tid | tid, | ||
const char * | path ) |
remove a directory on a share.
Use this function to delete an empty directory
s | The session object |
tid | The tid of the share the file is in, obtained via smb_tree_connect() |
path | The path of the file to delete |