1N/A/***************************************************************************
1N/A * CVSID: $Id$
1N/A *
1N/A * utils.h - Some utils for the hald runner
1N/A *
1N/A * Copyright (C) 2006 Sjoerd Simons, <sjoerd@luon.net>
1N/A *
1N/A * Licensed under the Academic Free License version 2.1
1N/A *
1N/A * This program is free software; you can redistribute it and/or modify
1N/A * it under the terms of the GNU General Public License as published by
1N/A * the Free Software Foundation; either version 2 of the License, or
1N/A * (at your option) any later version.
1N/A *
1N/A * This program is distributed in the hope that it will be useful,
1N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of
1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A * GNU General Public License for more details.
1N/A *
1N/A * You should have received a copy of the GNU General Public License
1N/A * along with this program; if not, write to the Free Software
1N/A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1N/A *
1N/A **************************************************************************/
1N/A#ifndef UTILS_H
1N/A#define UTILS_H
1N/A
1N/A#define DBUS_API_SUBJECT_TO_CHANGE
1N/A#include <dbus/dbus-glib-lowlevel.h>
1N/A
1N/Achar **get_string_array(DBusMessageIter *iter, gchar *extra);
1N/Achar **get_string_array_from_fd(int fd);
1N/Avoid free_string_array(char **array);
1N/A
1N/A#endif /* UTILS_H */