/* @(#)remote_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(REMOTE_EXTERN_H)
#define REMOTE_EXTERN_H

#include "config_typedef.h"
#include "error_typedef.h"
#include "html_typedef.h"
#include "link_typedef.h"
#include "remote_typedef.h"
#include "str_typedef.h"
#include "url_typedef.h"

#define REMOTES_LOOP(variable, remotes) \
    VECTOR_LOOP(Remote, variable, remotes)

extern Remote remote_create_dummy(void);
extern Links remote_links(Remote);
extern Remote remote_scan(Str, Config, Errors);
extern Str remote_title(Remote);
extern Url remote_url(Remote);
extern void remote_write(Remote, FILE *, Config);

extern Matches remotes_inline_search(Remotes, Html);
extern void remotes_merge(Remotes, Remote);
extern void remotes_save(Remotes, Str, Errors);
extern unsigned remotes_size(Remotes);
extern Remotes remotes_restore(Str, Errors);
extern void remotes_write(Remotes, FILE *, int, Config);

#endif /* !defined(REMOTE_EXTERN_H) */

