root/trunk/src/jabber.h
| Revision 680, 1.3 kB (checked in by jajcus, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | /* $Id: jabber.h,v 1.11 2003/01/15 08:04:56 jajcus Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * (C) Copyright 2002-2006 Jacek Konieczny [jajcus(a)jajcus,net] |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License Version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 | */ |
| 19 | |
| 20 | #ifndef jabber_h |
| 21 | #define jabber_h |
| 22 | |
| 23 | #include "stream.h" |
| 24 | |
| 25 | int jabber_init(); |
| 26 | int jabber_connect(); |
| 27 | int jabber_done(); |
| 28 | int jabber_iter(); |
| 29 | |
| 30 | struct stream_s * jabber_stream(); |
| 31 | |
| 32 | enum jabber_state_e{ |
| 33 | JS_NONE, |
| 34 | JS_HANDSHAKE, |
| 35 | JS_CONNECTED |
| 36 | }; |
| 37 | extern enum jabber_state_e jabber_state; |
| 38 | |
| 39 | |
| 40 | extern const char *my_name; /* transport domain name */ |
| 41 | extern char *register_instructions; |
| 42 | extern char *search_instructions; |
| 43 | extern char *gateway_desc; |
| 44 | extern char *gateway_prompt; |
| 45 | extern int bare_domain; /* when not "0" no "/registered" will be used in transport JID */ |
| 46 | |
| 47 | #endif |
Note: See TracBrowser for help on using the browser.
