aboutsummaryrefslogtreecommitdiff
path: root/include/opml.h
blob: 818e4093c4d2b66da065281bc7f7eb39e5582578 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef NEWSBOAT_OPML_H_
#define NEWSBOAT_OPML_H_

#include <libxml/tree.h>

#include "feedcontainer.h"
#include "fileurlreader.h"

namespace newsboat {

namespace opml {
xmlDocPtr generate(const FeedContainer& feedcontainer, bool version2);
nonstd::optional<std::string> import(
	const std::string& filename,
	FileUrlReader& urlcfg);
}

} // namespace newsboat

#endif /* NEWSBOAT_OPML_H_ */