| Top |
| BtctlObex * | btctl_obex_new () |
| gboolean | btctl_obex_is_initialised () |
| void | btctl_obex_set_response () |
| void | btctl_obex_cancel_operation () |
| void | btctl_obex_cancel_operation_forcibly () |
| void | complete | Run First |
| void | connect | Run First |
| void | disconnect | Run First |
| void | error | Run First |
| void | progress | Run First |
| void | put | Run First |
| void | request-put | Run First |
| struct | BtctlObex |
| #define | BTCTL_OBEX_ERR_PARSE |
| #define | BTCTL_OBEX_ERR_LINK |
| #define | BTCTL_OBEX_ERR_ABORT |
BtctlObex *
btctl_obex_new (void);
Create a new Bluetooth OBEX object. This will attempt to open
an OBEX server socket. Use btctl_obex_is_initialised() to check
whether this was successful.
gboolean
btctl_obex_is_initialised (BtctlObex *bo);
Check if OBEX was able to initialise OK. If not, we won't be able to do anything.
void btctl_obex_set_response (BtctlObex *bo,gboolean resp);
Sets TRUE or FALSE response in signal handlers that must decide whether an operation can proceed or not.
void
btctl_obex_cancel_operation (BtctlObex *bo);
Requests the cancel of a currently running transfer, disconnecting the client.
void
btctl_obex_cancel_operation_forcibly (BtctlObex *bo);
Forcibly causes the closing of a client connection. Use if the client isn't responding to a cancel request, e.g. where the connection's timing out.
“complete” signalvoid user_function (BtctlObex *btctlobex, char *arg1, gpointer user_data)
Flags: Run First
“connect” signalvoid user_function (BtctlObex *btctlobex, char *arg1, gpointer user_data)
Flags: Run First
“disconnect” signalvoid user_function (BtctlObex *btctlobex, char *arg1, gpointer user_data)
Flags: Run First
“error” signalvoid user_function (BtctlObex *btctlobex, char *arg1, guint arg2, gpointer user_data)
Flags: Run First
“progress” signalvoid user_function (BtctlObex *btctlobex, char *arg1, gpointer user_data)
Flags: Run First
“put” signalvoid user_function (BtctlObex *btctlobex, char *arg1, char *arg2, BtctlObexData *arg3, guint arg4, gpointer user_data)
Flags: Run First
“request-put” signalvoid user_function (BtctlObex *btctlobex, char *arg1, gpointer user_data)
Flags: Run First