/* $Id: strip_url.h,v 1.1 2001/10/31 00:01:47 kordless Exp $ */
/**************************************************************************
* *
* Copyright (C) 2000 Grub, Inc. *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 1, or (at your option) *
* any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* *
* Author: Ledio Ago - lajesus (email: lajesus@grub.org) *
* *
**************************************************************************/
/*
* File: strip_url.h
* Author: Ledio Ago
* Date: Agust 3, 2001
*/
#ifndef _STRIP_URL_H_
#define _STRIP_URL_H_ 1
#ifdef __cplusplus
extern "C" {
#endif
/*
* Function: strip_url
* Description: Function strip_url will strip down a given url by
* separating the protocol, the host and whatever is left
* which will call it the content of the url.
*/
void strip_url( const char *the_url, char *content, char *host, char *prot );
#ifdef __cplusplus
}
#endif
#endif