jingle-ibb/ibb.h
author Nicolas Cornu <nicolas.cornu@ensi-bourges.fr>
Mon, 26 Jul 2010 01:17:48 +0200
changeset 73 6f061c11acfb
parent 58 daafe5b8a48d
child 87 43e7d48f6d84
permissions -rw-r--r--
Add atrans to a new app

#ifndef __JINGLEIBB_H__
#define __JINGLEIBB_H__ 1

#define NS_JINGLE_TRANSPORT_IBB "urn:xmpp:jingle:transports:ibb:0"
#define NS_TRANSPORT_IBB "http://jabber.org/protocol/ibb"

#define IBB_BLOCK_SIZE_MAX 2048

typedef struct {
  /* Size of the blocks */
  int blocksize;

  /* The identifiant of the transfer */
  const gchar *sid;

  const gchar *seq;
  
} JingleIBB;

#endif