hal/hald/solaris Makefile.am,NONE,1.1 osspec.c,NONE,1.1

David Zeuthen david at freedesktop.org
Thu Jun 23 07:50:08 PDT 2005


Update of /cvs/hal/hal/hald/solaris
In directory gabe:/tmp/cvs-serv4965/hald/solaris

Added Files:
	Makefile.am osspec.c 
Log Message:
2005-06-23  David Zeuthen  <davidz at redhat.com>

        Patch from Alvaro Lopez Ortega <alvaro at sun.com> to add an empty
        Solaris backend to HAL.

        * hald/solaris/osspec.c: New file

        * hald/solaris/Makefile.am: New file

        * configure.in: Add checks for Solaris



--- NEW FILE: Makefile.am ---
INCLUDES = \
	-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
	-DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
	-I$(top_srcdir) -I.. \
	@PACKAGE_CFLAGS@

if HALD_COMPILE_SOLARIS
noinst_LTLIBRARIES = libhald_solaris.la
endif

libhald_solaris_la_SOURCES = \
osspec.c 


--- NEW FILE: osspec.c ---
/***************************************************************************
 * CVSID: $Id: osspec.c,v 1.1 2005/06/23 14:50:05 david Exp $
 *
 * osspec.c : HAL backend for Solaris
 *
 * Copyright (C) 2005 Sun Microsystems
 * Author: Alvaro Lopez Ortega <alvaro at sun.com>
 *
 * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 **************************************************************************/

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include "../osspec.h"
#include "../logger.h"
#include "../hald.h"
#include "../hald_dbus.h"
#include "../device_info.h"
#include "../util.h"


void
osspec_init (void)
{
}

void 
osspec_probe (void)
{
}

gboolean
osspec_device_rescan (HalDevice *d)
{
	   return FALSE;
}

gboolean
osspec_device_reprobe (HalDevice *d)
{
	   return FALSE;
}

DBusHandlerResult
osspec_filter_function (DBusConnection *connection, DBusMessage *message, void *user_data)
{
	return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}





More information about the hal-commit mailing list