Updated TODO.
[agg.git] / src / fs.h
blob37a93ed9b8f6d633a87a171df1a5833e584777a5
1 /* agg - the news aggregator
2 * Copyright (C) 2011 Andreas Waidler <arandes@programmers.at>
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 #ifndef AGG_FS_H
17 #define AGG_FS_H
19 #include <sys/types.h>
21 void fs_buffer(char* dest, const char* src, size_t size);
23 void set_item_title(const char*);
24 const char* get_item_title();
26 void set_item_desc(const char*);
27 void set_item_date(const char*);
28 void set_item_link(const char*);
30 void feed_open(const char*);
31 void feed_flush();
33 void item_flush();
35 #endif