/* @(#)url_extern.h 1.4 95/09/16 */

/*
 * Copyright (c) 1994, 1995 by Wayne C. Gramlich.  All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

#if !defined(URL_EXTERN_H)
#define URL_EXTERN_H

#include <stdio.h>

#include "config_typedef.h"
#include "str_typedef.h"
#include "url_typedef.h"

extern Str url_anchor(Url);
extern Url url_annote(Url, Config);
extern Url url_copy(Url);
extern Url url_copy_replace_document(Url, Str);
extern Str url_db_file_name(Url, Config);
extern Str url_document(Url);
extern int url_document_equal(Url, Url);
extern Str url_host_name(Url);
extern int url_is_http(Url);
extern int url_is_local(Url, Config);
extern Url url_make_absolute(Url, Url);
extern Url url_original(Url, Config);
extern Url url_parse(Str);
extern unsigned url_port(Url);
extern Url url_restore(FILE *);
extern void url_save(Url, FILE *);
extern Str url_str_full_path(Url);
extern Str url_str(Url);
extern Str url_str_local_path(Url, Config);
extern void url_write(Url, FILE *);

#endif /* URL_EXTERN_H */

