]> git.ipfire.org Git - thirdparty/systemd.git/blame - udevdb.h
[PATCH] Make dev.d/ handling a separate processing stage
[thirdparty/systemd.git] / udevdb.h
CommitLineData
8e41d35d 1/*
2b41e68a
KS
2 * udevdb.h
3 *
4 * Userspace devfs
5 *
6 * Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
7 * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation version 2 of the License.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 675 Mass Ave, Cambridge, MA 02139, USA.
21 *
8e41d35d 22 */
2b41e68a 23
8e41d35d
DS
24#ifndef _UDEVDB_H_
25#define _UDEVDB_H_
26
5840bc63 27
7a947ce5 28extern int udevdb_add_dev(struct udevice *dev);
2b41e68a
KS
29extern int udevdb_get_dev(struct udevice *dev);
30extern int udevdb_delete_dev(struct udevice *dev);
31
32extern int udevdb_get_dev_byname(struct udevice *udev, const char *name);
8e41d35d
DS
33
34#endif /* _UDEVDB_H_ */