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

gboolean gw_obex_chdir ( GwObex ctx,
const gchar *  dir,
gint *  error 

Change directory (relative to the current one).

ctx Pointer returned by gw_obex_setup()
dir New directory to change to (null terminated UTF-8), ".." to go up, NULL to go to the root folder
error Place to store error code on failure (NULL if not interested)
TRUE on success, FALSE on failure

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

    gboolean ret;
    CHECK_DISCONNECT(FALSE, error, ctx);
    ret = gw_obex_setpath(ctx, dir ? dir : "", 0);
    if (ret == FALSE)
        gw_obex_get_error(ctx, error);
    return ret;

Generated by  Doxygen 1.6.0   Back to index