/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* $Id: content_dir_p.h 216 2006-07-09 17:32:37Z r3mi $
 *
 * UPnP Content Directory Service implementation (private / protected).
 * This file is part of djmount.
 *
 * (C) Copyright 2005 Rémi Turboult <r3mi@users.sourceforge.net>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU 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 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
 */

#ifndef CONTENT_DIR_P_INCLUDED
#define CONTENT_DIR_P_INCLUDED 1

#include "content_dir.h"
#include "service_p.h"
#include <upnp/ithread.h>


/******************************************************************************
 *
 *	private / protected implementation ; do not include directly.
 *
 *****************************************************************************/

OBJECT_DEFINE_METHODS(ContentDir,
		      // No additional methods
		      );


OBJECT_DEFINE_STRUCT(ContentDir,
		     // Additional fields
		     
		     const char*	search_caps;
		     
		     struct _Cache*	cache;
		     ithread_mutex_t  	cache_mutex;
		     );


#endif /* CONTENT_DIR_P_INCLUDED */


