~ctrlproxy/ctrlproxy/trunk

« back to all changes in this revision

Viewing changes to lib/url.h

  • Committer: Jelmer Vernooij
  • Date: 2007-12-14 22:38:33 UTC
  • Revision ID: jelmer@samba.org-20071214223833-wzneo6demu3ukzhg
Add URL parsing functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
        ctrlproxy: A modular IRC proxy
 
3
        (c) 2007 Jelmer Vernooij <jelmer@nl.linux.org>
 
4
 
 
5
        This program is free software; you can redistribute it and/or modify
 
6
        it under the terms of the GNU General Public License as published by
 
7
        the Free Software Foundation; either version 3 of the License, or
 
8
        (at your option) any later version.
 
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 __LIBIRC_URL_H__
 
21
#define __LIBIRC_URL_H__
 
22
 
 
23
char *irc_create_url(const char *server, const char *port, gboolean ssl);
 
24
gboolean irc_parse_url(const char *url, char **server, char **port, gboolean *ssl);
 
25
 
 
26
#endif /* __LIBIRC_URL_H__ */