mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
d5a81883e8
Implement url_nice() and make save boxes use it to choose the default filename. svn path=/import/netsurf/; revision=682
22 lines
548 B
C
22 lines
548 B
C
/*
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
* Licensed under the GNU General Public License,
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
* Copyright 2004 James Bursa <bursa@users.sourceforge.net>
|
|
*/
|
|
|
|
/** \file
|
|
* URL parsing and joining (interface).
|
|
*/
|
|
|
|
#ifndef _NETSURF_UTILS_URL_H_
|
|
#define _NETSURF_UTILS_URL_H_
|
|
|
|
void url_init(void);
|
|
char *url_normalize(const char *url);
|
|
char *url_join(const char *rel, const char *base);
|
|
char *url_host(const char *url);
|
|
char *url_nice(const char *url);
|
|
|
|
#endif
|