diff -r 000000000000 -r 64ded911540b branches/gmyth-0.1b/src/gmyth_common.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/branches/gmyth-0.1b/src/gmyth_common.h Thu Feb 08 22:03:26 2007 +0000
@@ -0,0 +1,61 @@
+/**
+ * GMyth Library
+ *
+ * @file gmyth/gmyth_common.h
+ *
+ * @brief
This file contains basic common functions for the gmyth library.
+ *
+ * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
+ * @author Leonardo Sobral Cunha
+ *
+ *//*
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef GMYTH_COMMON_H_
+#define GMYTH_COMMON_H_
+
+#include
+#include
+
+#include "gmyth_programinfo.h"
+
+G_BEGIN_DECLS
+
+/**
+ * The GMythChannelInfo structure represents the channel information
+ * stored in the backend database.
+ */
+typedef struct {
+ /** The channel ID in backend database */
+ gint channel_ID;
+
+ GString* channel_num;
+
+ /** The channel name in backend database */
+ GString *channel_name;
+
+} GMythChannelInfo;
+
+void gmyth_free_channel_list(GList *list);
+void gmyth_free_program_list(GList *list);
+
+void gmyth_channel_info_print(GMythChannelInfo *channel_info);
+void gmyth_program_info_print(GMythProgramInfo *program_info);
+
+G_END_DECLS
+
+#endif /* GMYTH_COMMON_H_ */