Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 74d8afe92b546211cd13e017cbff8c32 > files > 17

osso-gwobex-devel-0.64-3.bef6bc21.fc15.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GW OBEX Library: gw-obex.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GW OBEX Library&#160;<span id="projectnumber">0.64</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>gw-obex.h</h1>  </div>
</div>
<div class="contents">
<a href="gw-obex_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef _GW_OBEX_H_</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define _GW_OBEX_H_</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;glib.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;openobex/obex.h&gt;</span>
<a name="l00030"></a>00030 
<a name="l00040"></a><a class="code" href="gw-obex_8h.html#a707d93c67a2bac2a4515c6aa2598aa76">00040</a> <span class="preprocessor">#define GW_OBEX_ERROR_DISCONNECT        256</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00043"></a><a class="code" href="gw-obex_8h.html#a5e8401649667a7a8a0664f4aab1b7ab9">00043</a> <span class="preprocessor">#define GW_OBEX_ERROR_ABORT             257</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00046"></a><a class="code" href="gw-obex_8h.html#a3bbb077b834dbda5881422cdd3739960">00046</a> <span class="preprocessor">#define GW_OBEX_ERROR_INTERNAL          258</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00049"></a><a class="code" href="gw-obex_8h.html#a2e84429f34f38ba58234931e994c6bfa">00049</a> <span class="preprocessor">#define GW_OBEX_ERROR_NO_SERVICE        259</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00052"></a><a class="code" href="gw-obex_8h.html#adac6abc766b5d1c1bfd71af827906ac3">00052</a> <span class="preprocessor">#define GW_OBEX_ERROR_CONNECT_FAILED    260</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00055"></a><a class="code" href="gw-obex_8h.html#a11778311c2b6a1aa3d0904718641a1fe">00055</a> <span class="preprocessor">#define GW_OBEX_ERROR_TIMEOUT           261</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00058"></a><a class="code" href="gw-obex_8h.html#a56942856e01c4cd77916b741d884b13b">00058</a> <span class="preprocessor">#define GW_OBEX_ERROR_INVALID_DATA      262</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00061"></a><a class="code" href="gw-obex_8h.html#a09468af56b4cd865941fa03c30af81be">00061</a> <span class="preprocessor">#define GW_OBEX_ERROR_INVALID_PARAMS    263</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00064"></a><a class="code" href="gw-obex_8h.html#a298033353f9de2db4fb5deee19b0dba2">00064</a> <span class="preprocessor">#define GW_OBEX_ERROR_LOCAL_ACCESS      264</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
<a name="l00067"></a><a class="code" href="gw-obex_8h.html#ae3bf683a10a81ac7914244464505017b">00067</a> <span class="preprocessor">#define GW_OBEX_ERROR_BUSY              265</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00070"></a><a class="code" href="gw-obex_8h.html#a7257bef35cfb42530c041193f373d2cf">00070</a> <span class="preprocessor">#define GW_OBEX_ERROR_NO_DATA           266</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00072"></a>00072 
<a name="l00076"></a><a class="code" href="gw-obex_8h.html#ab559c6b321c835c233928db58fe88a81">00076</a> <span class="preprocessor">#define GW_OBEX_UNKNOWN_LENGTH -1</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span>
<a name="l00080"></a><a class="code" href="gw-obex_8h.html#a30cadc2cd08928ec9bd48298b85f77ba">00080</a> <span class="preprocessor">#define OBEX_FTP_UUID \</span>
<a name="l00081"></a>00081 <span class="preprocessor">    &quot;\xF9\xEC\x7B\xC4\x95\x3C\x11\xD2\x98\x4E\x52\x54\x00\xDC\x9E\x09&quot;</span>
<a name="l00082"></a>00082 <span class="preprocessor"></span>
<a name="l00083"></a><a class="code" href="gw-obex_8h.html#a429b27f223c1094c656c0d746ca9d291">00083</a> <span class="preprocessor">#define OBEX_FTP_UUID_LEN 16</span>
<a name="l00084"></a>00084 <span class="preprocessor"></span>
<a name="l00086"></a><a class="code" href="gw-obex_8h.html#ab57e69842e07f8a61090f8a3551911f9">00086</a> <span class="preprocessor">#define OBEX_PBAP_UUID \</span>
<a name="l00087"></a>00087 <span class="preprocessor">    &quot;\x79\x61\x35\xF0\xF0\xC5\x11\xD8\x09\x66\x08\x00\x20\x0C\x9A\x66&quot;</span>
<a name="l00088"></a>00088 <span class="preprocessor"></span>
<a name="l00089"></a><a class="code" href="gw-obex_8h.html#ab9668bfcb812872bc56482e2e1d1393c">00089</a> <span class="preprocessor">#define OBEX_PBAP_UUID_LEN 16</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span>
<a name="l00092"></a><a class="code" href="gw-obex_8h.html#a0497c7837858d71826fb774e60e396a6">00092</a> <span class="preprocessor">#define OBEX_SYNC_UUID \</span>
<a name="l00093"></a>00093 <span class="preprocessor">        &quot;IRMC-SYNC&quot;</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span>
<a name="l00095"></a><a class="code" href="gw-obex_8h.html#a0068079fba3cb5b7793c4925a4d0f7b2">00095</a> <span class="preprocessor">#define OBEX_SYNC_UUID_LEN 9</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span>
<a name="l00098"></a><a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">00098</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>gw_obex <a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a>;
<a name="l00099"></a>00099 
<a name="l00101"></a><a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">00101</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>gw_obex_xfer <a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a>;
<a name="l00102"></a>00102 
<a name="l00107"></a><a class="code" href="gw-obex_8h.html#a60b07b008feb17701611f08d046c11e5">00107</a> <span class="keyword">typedef</span> void (*<a class="code" href="gw-obex_8h.html#a60b07b008feb17701611f08d046c11e5">gw_obex_xfer_cb_t</a>) (<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer,
<a name="l00108"></a>00108                                    gpointer data);
<a name="l00109"></a>00109 
<a name="l00114"></a><a class="code" href="gw-obex_8h.html#a1018e15842ad8c78c1b91ba8644badfd">00114</a> <span class="keyword">typedef</span> void (*<a class="code" href="gw-obex_8h.html#a1018e15842ad8c78c1b91ba8644badfd">gw_obex_disconnect_cb_t</a>) (<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00115"></a>00115                                          gpointer data);
<a name="l00116"></a>00116 
<a name="l00125"></a><a class="code" href="gw-obex_8h.html#a38842d36e360a033e73af779f24a5653">00125</a> <span class="keyword">typedef</span> void (*<a class="code" href="gw-obex_8h.html#a38842d36e360a033e73af779f24a5653">gw_obex_progress_cb_t</a>) (<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, gint obex_cmd,
<a name="l00126"></a>00126                                        gint current, gint target,
<a name="l00127"></a>00127                                        gpointer data);
<a name="l00128"></a>00128 
<a name="l00136"></a><a class="code" href="gw-obex_8h.html#a6784de9a8c7a3391325cdcfaabce702d">00136</a> <span class="keyword">typedef</span> gboolean (*<a class="code" href="gw-obex_8h.html#a6784de9a8c7a3391325cdcfaabce702d">gw_obex_cancel_cb_t</a>) (gpointer data);
<a name="l00137"></a>00137 
<a name="l00138"></a>00138 
<a name="l00161"></a>00161 <a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *<a class="code" href="gw-obex_8h.html#a395d19981a56ce550099501371117ec6">gw_obex_setup_dev</a>(<span class="keyword">const</span> gchar *device,
<a name="l00162"></a>00162                           <span class="keyword">const</span> gchar *uuid,
<a name="l00163"></a>00163                           gint uuid_len,
<a name="l00164"></a>00164                           GMainContext *context,
<a name="l00165"></a>00165                           gint *error);
<a name="l00166"></a>00166 
<a name="l00167"></a>00167 
<a name="l00182"></a>00182 <a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *<a class="code" href="gw-obex_8h.html#abf55f0a3b90903ba2b1bb5b9fb66cef7">gw_obex_setup_fd</a>(<span class="keywordtype">int</span> fd,
<a name="l00183"></a>00183                          <span class="keyword">const</span> gchar *uuid,
<a name="l00184"></a>00184                          gint uuid_len,
<a name="l00185"></a>00185                          GMainContext *context,
<a name="l00186"></a>00186                          gint *error);
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 
<a name="l00194"></a>00194 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#a7391c2a95635616756164e4b54a74a70">gw_obex_close</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx);
<a name="l00195"></a>00195 
<a name="l00212"></a>00212 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#aae3ea459aaaf86105a0843189062490d">gw_obex_set_disconnect_callback</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00213"></a>00213                                      <a class="code" href="gw-obex_8h.html#a1018e15842ad8c78c1b91ba8644badfd">gw_obex_disconnect_cb_t</a> callback,
<a name="l00214"></a>00214                                      gpointer data);
<a name="l00215"></a>00215 
<a name="l00216"></a>00216 
<a name="l00224"></a>00224 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#a3532bb66676f23383640404064bf01d9">gw_obex_set_progress_callback</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00225"></a>00225                                    <a class="code" href="gw-obex_8h.html#a38842d36e360a033e73af779f24a5653">gw_obex_progress_cb_t</a> callback,
<a name="l00226"></a>00226                                    gpointer data);
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 
<a name="l00240"></a>00240 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#afa0dcd81a95954634e35c6c4be2aa253">gw_obex_set_cancel_callback</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00241"></a>00241                                  <a class="code" href="gw-obex_8h.html#a6784de9a8c7a3391325cdcfaabce702d">gw_obex_cancel_cb_t</a> callback,
<a name="l00242"></a>00242                                  gpointer data);
<a name="l00243"></a>00243 
<a name="l00264"></a>00264 gboolean <a class="code" href="gw-obex_8h.html#a8daca049a95000ea8721de95963b9e96">gw_obex_get_capability</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00265"></a>00265                                 gchar **cap,
<a name="l00266"></a>00266                                 gint *cap_len,
<a name="l00267"></a>00267                                 gint *error);
<a name="l00268"></a>00268 
<a name="l00269"></a>00269 
<a name="l00281"></a>00281 gboolean <a class="code" href="gw-obex_8h.html#a6c21b10168a4e31c11e5cd2bd000e97a">gw_obex_get_file</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00282"></a>00282                           <span class="keyword">const</span> gchar *local,
<a name="l00283"></a>00283                           <span class="keyword">const</span> gchar *remote,
<a name="l00284"></a>00284                           <span class="keyword">const</span> gchar *type,
<a name="l00285"></a>00285                           gint *error);
<a name="l00286"></a>00286 
<a name="l00287"></a>00287 
<a name="l00299"></a>00299 gboolean <a class="code" href="gw-obex_8h.html#a592341b43f949b163d6a339e0802fed9">gw_obex_put_file</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx,
<a name="l00300"></a>00300                           <span class="keyword">const</span> gchar *local,
<a name="l00301"></a>00301                           <span class="keyword">const</span> gchar *remote,
<a name="l00302"></a>00302                           <span class="keyword">const</span> gchar *type,
<a name="l00303"></a>00303                           gint *error);
<a name="l00304"></a>00304 
<a name="l00305"></a>00305 
<a name="l00317"></a>00317 gboolean <a class="code" href="gw-obex_8h.html#a56113ad940944160684ba3aff31c79ce">gw_obex_get_fd</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, gint fd,
<a name="l00318"></a>00318                         <span class="keyword">const</span> gchar *remote,
<a name="l00319"></a>00319                         <span class="keyword">const</span> gchar *type,
<a name="l00320"></a>00320                         gint *error);
<a name="l00321"></a>00321 
<a name="l00333"></a>00333 gboolean <a class="code" href="gw-obex_8h.html#a6568a2888ac0dad4889de9c1fea9e3ae">gw_obex_put_fd</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, gint fd,
<a name="l00334"></a>00334                         <span class="keyword">const</span> gchar *remote,
<a name="l00335"></a>00335                         <span class="keyword">const</span> gchar *type,
<a name="l00336"></a>00336                         gint *error);
<a name="l00337"></a>00337 
<a name="l00352"></a>00352 gboolean <a class="code" href="gw-obex_8h.html#aa7e04cc843521659f5c9970a36553157">gw_obex_get_buf</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *remote, <span class="keyword">const</span> gchar *type,
<a name="l00353"></a>00353                          gchar **buf, gint *buf_size, gint *error);
<a name="l00354"></a>00354 
<a name="l00355"></a>00355 
<a name="l00370"></a>00370 gboolean <a class="code" href="gw-obex_8h.html#aebbf193dc7fe878773f91f17f22be5bf">gw_obex_put_buf</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *remote, <span class="keyword">const</span> gchar *type,
<a name="l00371"></a>00371                          <span class="keyword">const</span> gchar *buf, gint buf_size, gint time, gint *error);
<a name="l00372"></a>00372 
<a name="l00373"></a>00373 
<a name="l00390"></a>00390 gboolean <a class="code" href="gw-obex_8h.html#a9f78aff94744e8420c798df000807c12">gw_obex_get_buf_with_apparam</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *remote, <span class="keyword">const</span> gchar *type,
<a name="l00391"></a>00391                                       <span class="keyword">const</span> guint8 *apparam, gint apparam_size,
<a name="l00392"></a>00392                                       gchar **buf, gint *buf_size, gint *error);
<a name="l00393"></a>00393 
<a name="l00394"></a>00394 
<a name="l00411"></a>00411 gboolean <a class="code" href="gw-obex_8h.html#aecbd57de0413b2b98e93e8d3f16a7eac">gw_obex_put_buf_with_apparam</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *remote, <span class="keyword">const</span> gchar *type,
<a name="l00412"></a>00412                                      <span class="keyword">const</span> guint8 *apparam, gint apparam_size,
<a name="l00413"></a>00413                                      <span class="keyword">const</span> gchar *buf, gint buf_size, gint time, gint *error);
<a name="l00414"></a>00414 
<a name="l00415"></a>00415 
<a name="l00425"></a>00425 gboolean <a class="code" href="gw-obex_8h.html#aac21f4df17bb472d2838375cad3526bc">gw_obex_chdir</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *dir, gint *error);
<a name="l00426"></a>00426 
<a name="l00427"></a>00427 
<a name="l00436"></a>00436 gboolean <a class="code" href="gw-obex_8h.html#af74deea7942bbf36aa1d503a38e07b31">gw_obex_mkdir</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *dir, gint *error);
<a name="l00437"></a>00437 
<a name="l00438"></a>00438 
<a name="l00450"></a>00450 gboolean <a class="code" href="gw-obex_8h.html#aadee5b1ccbd303a6019288de53dc79a8">gw_obex_read_dir</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *dir,
<a name="l00451"></a>00451                           gchar **buf, gint *buf_size, gint *error);
<a name="l00452"></a>00452 
<a name="l00453"></a>00453 
<a name="l00462"></a>00462 gboolean <a class="code" href="gw-obex_8h.html#a9f33e91b9e9ab042019251cc4935e341">gw_obex_delete</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *name, gint *error);
<a name="l00463"></a>00463 
<a name="l00464"></a>00464 
<a name="l00474"></a>00474 gboolean <a class="code" href="gw-obex_8h.html#aa33814db622ad0673cb8afffc0dc703a">gw_obex_move</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *src, <span class="keyword">const</span> gchar *dst,
<a name="l00475"></a>00475                       gint *error);
<a name="l00476"></a>00476 
<a name="l00477"></a>00477 
<a name="l00487"></a>00487 gboolean <a class="code" href="gw-obex_8h.html#a6d69f2be7fe08467def67d2330db7828">gw_obex_copy</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> gchar *src, <span class="keyword">const</span> gchar *dst,
<a name="l00488"></a>00488                       gint *error);
<a name="l00489"></a>00489 
<a name="l00510"></a>00510 <a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *<a class="code" href="gw-obex_8h.html#a77e407cb46aafd3c3fd8f4b2e83e9016">gw_obex_put_async</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *type,
<a name="l00511"></a>00511                               gint size, time_t time, gint *error);
<a name="l00512"></a>00512 
<a name="l00513"></a>00513 
<a name="l00523"></a>00523 <a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *<a class="code" href="gw-obex_8h.html#ae840ffc6b96b1ab970fdbf75a1dd1c7a">gw_obex_get_async</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *type, gint *error);
<a name="l00524"></a>00524 
<a name="l00537"></a>00537 <a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *<a class="code" href="gw-obex_8h.html#a55fe8a0f6a244f35251825a94f50805d">gw_obex_get_async_with_apparam</a>(<a class="code" href="gw-obex_8h.html#abe9f1605edaeb148ac859915494d8524">GwObex</a> *ctx, <span class="keyword">const</span> <span class="keywordtype">char</span> *name, <span class="keyword">const</span> <span class="keywordtype">char</span> *type,
<a name="l00538"></a>00538                 <span class="keyword">const</span> guint8  *apparam, gint apparam_size, gint *error);
<a name="l00539"></a>00539 
<a name="l00540"></a>00540 
<a name="l00556"></a>00556 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#a66c5bec4f1a2f928008e3836f4f11365">gw_obex_xfer_set_callback</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, <a class="code" href="gw-obex_8h.html#a60b07b008feb17701611f08d046c11e5">gw_obex_xfer_cb_t</a> cb, gpointer user_data);
<a name="l00557"></a>00557 
<a name="l00558"></a>00558 
<a name="l00565"></a>00565 time_t <a class="code" href="gw-obex_8h.html#a196f495556d9877aa9656df16603c5f4">gw_obex_xfer_object_time</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer);
<a name="l00566"></a>00566 
<a name="l00567"></a>00567 
<a name="l00574"></a>00574 gint <a class="code" href="gw-obex_8h.html#a483b3d5935ea4d57a78229fe37301327">gw_obex_xfer_object_size</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer);
<a name="l00575"></a>00575 
<a name="l00576"></a>00576 
<a name="l00584"></a>00584 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="gw-obex_8h.html#ad2aded72d1bbd1444f89f60ea4c66cc6">gw_obex_xfer_object_apparam</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, <span class="keywordtype">size_t</span> *apparam_size);
<a name="l00585"></a>00585 
<a name="l00586"></a>00586 
<a name="l00593"></a>00593 gboolean <a class="code" href="gw-obex_8h.html#a8b447cd6a1d8428cb3121c0309c5fa78">gw_obex_xfer_object_done</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer);
<a name="l00594"></a>00594 
<a name="l00595"></a>00595 
<a name="l00606"></a>00606 gboolean <a class="code" href="gw-obex_8h.html#ae6b46a275a9336d1ed6aeedd3a00989a">gw_obex_xfer_write</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, <span class="keyword">const</span> <span class="keywordtype">char</span> *buf, gint buf_size,
<a name="l00607"></a>00607                             gint *bytes_written, gint *error);
<a name="l00608"></a>00608 
<a name="l00621"></a>00621 gboolean <a class="code" href="gw-obex_8h.html#a48697b830e7bfdb595035f962ac42e3a">gw_obex_xfer_read</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, <span class="keywordtype">char</span> *buf, gint buf_size,
<a name="l00622"></a>00622                            gint *bytes_read, gint *error);
<a name="l00623"></a>00623 
<a name="l00624"></a>00624 
<a name="l00632"></a>00632 gboolean <a class="code" href="gw-obex_8h.html#a16ebe2554ade8ec47f67e73b03e07b4c">gw_obex_xfer_flush</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, gint *error);
<a name="l00633"></a>00633 
<a name="l00634"></a>00634 
<a name="l00645"></a>00645 gboolean <a class="code" href="gw-obex_8h.html#accd2fb67321771d312f911fe9a8e2a44">gw_obex_xfer_close</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, gint *error);
<a name="l00646"></a>00646 
<a name="l00647"></a>00647 
<a name="l00659"></a>00659 gboolean <a class="code" href="gw-obex_8h.html#a70a09d731cf39da7d9264e2eaffdd032">gw_obex_xfer_abort</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, gint *error);
<a name="l00660"></a>00660 
<a name="l00661"></a>00661 
<a name="l00666"></a>00666 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#a3bbc826952ab651b424710a4649f252b">gw_obex_xfer_free</a>(<span class="keyword">struct</span> gw_obex_xfer *xfer);
<a name="l00667"></a>00667 
<a name="l00668"></a>00668 
<a name="l00678"></a>00678 <span class="keywordtype">void</span> <a class="code" href="gw-obex_8h.html#aaba1db69c33e375794045bd7be4709a5">gw_obex_xfer_set_blocking</a>(<a class="code" href="gw-obex_8h.html#a06af483a737e4cd1943b4a789456b825">GwObexXfer</a> *xfer, gboolean block);
<a name="l00679"></a>00679 
<a name="l00682"></a>00682 <span class="preprocessor">#endif </span><span class="comment">/* _GW_OBEX_H_ */</span>
<a name="l00683"></a>00683 
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Feb 9 2011 for GW OBEX Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>