|
Evan@653
|
1 |
/** |
|
zacw@2151
|
2 |
* @file si.h SI transfer functions |
|
Evan@653
|
3 |
* |
|
Evan@653
|
4 |
* purple |
|
Evan@653
|
5 |
* |
|
Evan@653
|
6 |
* Copyright (C) 2003 Nathan Walp <faceprint@faceprint.com> |
|
Evan@653
|
7 |
* |
|
Evan@653
|
8 |
* This program is free software; you can redistribute it and/or modify |
|
Evan@653
|
9 |
* it under the terms of the GNU General Public License as published by |
|
Evan@653
|
10 |
* the Free Software Foundation; either version 2 of the License, or |
|
Evan@653
|
11 |
* (at your option) any later version. |
|
Evan@653
|
12 |
* |
|
Evan@653
|
13 |
* This program is distributed in the hope that it will be useful, |
|
Evan@653
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
Evan@653
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
Evan@653
|
16 |
* GNU General Public License for more details. |
|
Evan@653
|
17 |
* |
|
Evan@653
|
18 |
* You should have received a copy of the GNU General Public License |
|
Evan@653
|
19 |
* along with this program; if not, write to the Free Software |
|
Evan@653
|
20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
Evan@653
|
21 |
*/ |
|
zacw@1759
|
22 |
#ifndef PURPLE_JABBER_SI_H_ |
|
zacw@1759
|
23 |
#define PURPLE_JABBER_SI_H_ |
|
Evan@653
|
24 |
|
|
Evan@653
|
25 |
#include "ft.h" |
|
Evan@653
|
26 |
|
|
Evan@653
|
27 |
#include "jabber.h" |
|
Evan@653
|
28 |
|
|
zacw@1759
|
29 |
void jabber_bytestreams_parse(JabberStream *js, const char *from, |
|
zacw@1759
|
30 |
JabberIqType type, const char *id, xmlnode *query); |
|
zacw@1759
|
31 |
void jabber_si_parse(JabberStream *js, const char *from, JabberIqType type, |
|
zacw@1759
|
32 |
const char *id, xmlnode *si); |
|
Evan@653
|
33 |
PurpleXfer *jabber_si_new_xfer(PurpleConnection *gc, const char *who); |
|
Evan@653
|
34 |
void jabber_si_xfer_send(PurpleConnection *gc, const char *who, const char *file); |
|
Evan@1427
|
35 |
void jabber_si_init(void); |
|
Evan@1427
|
36 |
void jabber_si_uninit(void); |
|
Evan@653
|
37 |
|
|
zacw@1759
|
38 |
#endif /* PURPLE_JABBER_SI_H_ */ |