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

obex-priv.h File Reference

Detailed Description

Johan Hedberg <johan.hedberg@nokia.com>
Copyright (C) 2004-2006 Nokia Corporation. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 2.1, as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Definition in file obex-priv.h.

#include <stdio.h>
#include <stdint.h>
#include <time.h>
#include <glib.h>
#include <openobex/obex.h>
#include "gw-obex.h"
#include "obex-xfer.h"

Go to the source code of this file.


struct  gw_obex
struct  obex_connect_hdr
struct  obex_setpath_hdr


#define CAP_TYPE   "x-obex/capability"
#define CHECK_DISCONNECT(ret, err, ctx)
#define GW_OBEX_LOCK(ctx)   ((void)(0))
#define GW_OBEX_RX_MTU   4096
#define GW_OBEX_TX_MTU   32767
#define GW_OBEX_UNLOCK(ctx)   ((void)(0))
#define LST_TYPE   "x-obex/folder-listing"
#define OBEX_ACTION_COPY   0x00
#define OBEX_ACTION_MOVE   0x01
#define OBEX_ACTION_SETPERM   0x02
#define OBEX_CMD_ACTION   0x06
#define OBEX_CMD_NONE   0x10
#define OBEX_HDR_ACTION_ID   0x94
#define OBEX_HDR_DESTNAME   0x15
#define OBP_TYPE   "x-obex/object-profile"
#define SETPATH_CREATE   0x0001


typedef struct obex_connect_hdr obex_connect_hdr_t
typedef struct obex_setpath_hdr obex_setpath_hdr_t


gboolean gw_obex_action_op (GwObex *ctx, const gchar *src, const gchar *dst, uint8_t action)
gboolean gw_obex_cb (GIOChannel *chan, GIOCondition cond, gpointer data)
gboolean gw_obex_connect (GwObex *ctx, const char *target, size_t target_len)
gboolean gw_obex_disconnect (GwObex *ctx)
gboolean gw_obex_get (GwObex *ctx, const gchar *local, const gchar *remote, const gchar *type, const guint8 *apparam, gint apparam_size, gchar **buf, gint *buf_size, int stream_fd, gboolean async)
void gw_obex_get_error (GwObex *ctx, gint *error)
gboolean gw_obex_put (GwObex *ctx, const gchar *local, const gchar *remote, const gchar *type, const guint8 *apparam, gint apparam_size, const gchar *buf, gint buf_size, time_t object_time, int stream_fd, gboolean async)
gboolean gw_obex_set_error (GwObex *ctx)
gboolean gw_obex_setpath (GwObex *ctx, const gchar *path, int flags)
gboolean gw_obex_transport_setup (int fd, obex_t **handle)
GwObexmake_context (obex_t *handle)
void obex_link_error (GwObex *ctx)

Generated by  Doxygen 1.6.0   Back to index