Logo Search packages:      
Sourcecode: obexd version File versions  Download package

gboolean gw_obex_move ( GwObex ctx,
const gchar *  src,
const gchar *  dst,
gint *  error 

Move/Rename a file on the remote device.

ctx Pointer returned by gw_obex_setup()
src Source filename (null terminated UTF-8)
dst Destination filename (null terminated UTF-8)
error Place to store error code on failure (NULL if not interested)
TRUE on success, FALSE on failure

Definition at line 228 of file gw-obex.c.

    gboolean ret;
    CHECK_DISCONNECT(FALSE, error, ctx);
    ret = gw_obex_action_op(ctx, src, dst, OBEX_ACTION_MOVE);
    if (ret == FALSE)
        gw_obex_get_error(ctx, error);
    return ret;

Generated by  Doxygen 1.6.0   Back to index