jingle-ibb/ibb.h
author Nicolas Cornu <nicolas.cornu@ensi-bourges.fr>
Sat, 14 Aug 2010 06:11:41 +0200
changeset 117 bd54d1dba1ad
parent 104 060e69633902
child 122 8969dc3e2f14
permissions -rw-r--r--
JS5: Finish the check function

#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 */
  guint blocksize;

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

  gint64 seq;
  
} JingleIBB;

#endif