~ubuntu-branches/ubuntu/trusty/irssi-plugin-xmpp/trusty

« back to all changes in this revision

Viewing changes to src/core/xmpp-tools.h

  • Committer: Bazaar Package Importer
  • Author(s): David Ammouial
  • Date: 2009-05-12 12:14:44 UTC
  • mfrom: (1.1.3 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090512121444-5jeho5h3zsy4oij7
Tags: 0.13+cvs20090406-1
* New CVS snapshot, built against irssi-dev 0.8.13:
  - New features and bugfixes.
  - Fix segfault when successfully identified (Closes: #521227).
  - Fix build error (Closes: #527697)
* Depend on irssi >=0.8.13, build-depend on irssi-dev >=0.8.13.
* Bump Standards-Version to 3.8.1 (no changes needed).
* Add INTERNAL to documentation files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: xmpp-tools.h,v 1.5 2008/04/05 20:50:45 errtu Exp $ */
2
 
 
3
 
#ifndef __XMPP_TOOLS_H
4
 
#define __XMPP_TOOLS_H
5
 
 
6
 
#define xmpp_extract_nick(jid)                                          \
7
 
        xmpp_extract_resource(jid)
8
 
 
9
 
#define xmpp_extract_channel(jid)                                       \
10
 
        xmpp_strip_resource(jid)
11
 
 
12
 
__BEGIN_DECLS
13
 
char    *xmpp_recode_out(const char *);
14
 
char    *xmpp_recode_in(const char *);
15
 
 
16
 
char    *xmpp_find_resource_sep(const char *);
17
 
char    *xmpp_extract_resource(const char *);
18
 
char    *xmpp_strip_resource(const char *);
19
 
char    *xmpp_extract_user(const char *);
20
 
char    *xmpp_extract_host(const char *);
21
 
gboolean xmpp_have_host(const char *);
22
 
gboolean xmpp_have_resource(const char *);
23
 
gboolean xmpp_priority_out_of_bound(const int);
24
 
gboolean xmpp_presence_changed(const int, const int, const char *,
25
 
             const char *, const int, const int);
26
 
__END_DECLS
27
 
 
28
 
#endif