diff options
Diffstat (limited to 'src/atom-writer.h')
| -rw-r--r-- | src/atom-writer.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/atom-writer.h b/src/atom-writer.h index cf90001..2daa031 100644 --- a/src/atom-writer.h +++ b/src/atom-writer.h @@ -15,12 +15,15 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef __ATOM_WRITER_H__ -#define __ATOM_WRITER_H__ +#ifndef __CGG__ATOM_WRITER_H__ +#define __CGG__ATOM_WRITER_H__ #include <glib.h> #include "setup.h" +G_BEGIN_DECLS + + /* * Resources: * http://tools.ietf.org/html/rfc4287 @@ -59,7 +62,7 @@ void atom_writer_set_base_url (TAtomFeed *feed, const gchar *base_u void atom_writer_set_feed_url (TAtomFeed *feed, const gchar *feed_url); void atom_writer_free (TAtomFeed *feed); /* will free data of all items */ -TAtomFeedItem * atom_writer_add_item (TAtomFeed *feed); +TAtomFeedItem * atom_writer_add_item (TAtomFeed *feed); void atom_feed_item_set_title (TAtomFeedItem *item, const gchar *title); void atom_feed_item_set_path (TAtomFeedItem *item, const gchar *path); void atom_feed_item_set_date (TAtomFeedItem *item, const gchar *date); @@ -67,4 +70,6 @@ void atom_feed_item_set_summary (TAtomFeedItem *item, const gch void atom_feed_item_set_summary_type (TAtomFeedItem *item, const gchar *summary_type); -#endif /* __ATOM_WRITER_H__ */ +G_END_DECLS + +#endif /* __CGG__ATOM_WRITER_H__ */ |
