chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge keymap building in the top-level Makefile.am.
[elogind.git]
/
libudev
/
libudev.c
diff --git
a/libudev/libudev.c
b/libudev/libudev.c
index d197ba7b1930ab9cac59e928ab82a56bc6537a28..05b62efd8686f09e6bfbb7eb9b7d47fd0e8b2b7b 100644
(file)
--- a/
libudev/libudev.c
+++ b/
libudev/libudev.c
@@
-1,7
+1,7
@@
/*
* libudev - interface to udev device information
*
/*
* libudev - interface to udev device information
*
- * Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2008
-2009
Kay Sievers <kay.sievers@vrfy.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-21,10
+21,18
@@
#include "libudev.h"
#include "libudev-private.h"
#include "libudev.h"
#include "libudev-private.h"
+/**
+ * SECTION:libudev
+ * @short_description: libudev context
+ *
+ * The context contains the default values read from the udev config file,
+ * and is passed to all library operations.
+ */
+
/**
* udev:
*
/**
* udev:
*
- *
Library context, passed to all operations
.
+ *
Opaque object representing the library context
.
*/
struct udev {
int refcount;
*/
struct udev {
int refcount;
@@
-115,7
+123,7
@@
struct udev *udev_new(void)
udev->log_priority = LOG_ERR;
udev_list_init(&udev->properties_list);
udev->run = 1;
udev->log_priority = LOG_ERR;
udev_list_init(&udev->properties_list);
udev->run = 1;
- udev->dev_path = strdup(
UDEV_PREFIX
"/dev");
+ udev->dev_path = strdup("/dev");
udev->sys_path = strdup("/sys");
config_file = strdup(SYSCONFDIR "/udev/udev.conf");
if (udev->dev_path == NULL ||
udev->sys_path = strdup("/sys");
config_file = strdup(SYSCONFDIR "/udev/udev.conf");
if (udev->dev_path == NULL ||