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

GwObexXfer* gw_obex_get_async_with_apparam ( GwObex ctx,
const char *  name,
const char *  type,
const guint8 *  apparam,
gint  apparam_size,
gint *  error 

Start a GET operation asynchronously with application parameters

ctx Pointer returned by gw_obex_setup()
name Name of the object (null terminated UTF-8)
type Type of the object (null terminated UTF-8), or NULL
apparam Application parameters of the object
apparam_size Application paramters' size
error Place to store error code on failure (NULL if not interested)
a new GwObexXfer object on success, NULL on failure

Definition at line 138 of file obex-xfer.c.

References gw_obex_get().

    gboolean ret;
    CHECK_DISCONNECT(NULL, error, ctx);
    ret = gw_obex_get(ctx, NULL, name, type, apparam, apparam_size, NULL, NULL, -1, TRUE);
    if (ret == FALSE)
        gw_obex_get_error(ctx, error);
    return ret ? ctx->xfer : NULL;

Generated by  Doxygen 1.6.0   Back to index