/*
 *  This program is free software; you can redistribute it and/or modify
 *  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 General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 *  Please refer to the LICENSE.txt file that comes along with this source file
 *  or to http://www.gnu.org/licenses/gpl.txt for a full version of the license.
 *
 *  Program written by Paul Honig 2009
 */

/*
 * Defines The basic places of RSS-Torrent files.
 */
#define RSS_BASEDIR 	"~/.swarmtv"
#define RSS_LOGFILE 	"~/.swarmtv/swarmtv.log"
//#define RSS_LOCKFILE	"~/.swarmtv/lockfile.pid"

#if 0
/*
 * Call this function to test if rsstorrent needs setting up to do.
 * When it does the function initializes the files that need to be in place in order to run rsstorrent.
 * @Arguments none
 * @returns 	0 when succes otherwise -1
 */
int rsstinitrsstorrent(); 
#endif

/*
 * Initialize RSS-torrent handle
 * @Return
 * Pointer to handle on success, NULL on failure
 */
rsstor_handle *initrsstor();

/*
 * Free RSS-torrent handle
 * @Arguments
 * handle pointer to RSS-torrent structure
 */
void freersstor(rsstor_handle *handle);
