libudev-private.h revision e345e2670a8c17f5e1145cc554b7a7646e271032
/*
* libudev - interface to udev device information
*
* Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
*
* 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef _LIBUDEV_PRIVATE_H_
#define _LIBUDEV_PRIVATE_H_
#include <syslog.h>
#include "libudev.h"
#ifdef USE_LOG
#ifdef USE_DEBUG
#else
#endif /* USE_DEBUG */
#else
#endif
/* libudev */
const char *format, ...)
/* libudev-device */
extern int device_add_property(struct udev_device *udev_device, const char *key, const char *value);
/* libudev-ctrl - daemon runtime setup */
struct udev_ctrl;
struct udev_ctrl_msg;
/* libudev-list */
struct list_node {
};
/* libudev-utils */
#define UTIL_PATH_SIZE 1024
#define UTIL_LINE_SIZE 2048
#define UTIL_NAME_SIZE 512
extern ssize_t util_get_sys_subsystem(struct udev *udev, const char *syspath, char *subsystem, size_t size);
extern ssize_t util_get_sys_driver(struct udev *udev, const char *syspath, char *driver, size_t size);
extern int util_log_priority(const char *priority);
extern size_t util_path_decode(char *s);
extern void util_remove_trailing_chars(char *path, char c);
#endif