Displaying 2 results from an estimated 2 matches for "smbc_open_fn".
2016 Oct 28
0
Samba and BTRFS server-side copy
...to copy an
smb file. It does:
static gboolean
copy_file (GVfsBackendSmb *backend,
GVfsJob *job,
const char *from_uri,
const char *to_uri)
{
SMBCFILE *from_file, *to_file;
char buffer[4096];
size_t buffer_size;
ssize_t res;
char *p;
gboolean succeeded;
smbc_open_fn smbc_open;
smbc_read_fn smbc_read;
smbc_write_fn smbc_write;
smbc_close_fn smbc_close;
from_file = NULL;
to_file = NULL;
succeeded = FALSE;
smbc_open = smbc_getFunctionOpen (backend->smb_context);
smbc_read = smbc_getFunctionRead (backend->smb_context);
smbc_write = sm...
2016 Oct 28
3
Samba and BTRFS server-side copy
On Thu, 27 Oct 2016 16:57:13 -0700, Jeremy Allison <jra at samba.org>
wrote :
> On Fri, Oct 28, 2016 at 01:42:35AM +0200, Saint Germain via samba
> wrote:
> > On Thu, 27 Oct 2016 16:27:05 -0700, Jeremy Allison <jra at samba.org>
> > > if you see any of these then it happened.
> >
> > Ok I understand how to check that it happened, but how can I make