summaryrefslogtreecommitdiff
path: root/src/shared/device-nodes.h
AgeCommit message (Collapse)Author
2013-09-24shared: device-nodes - add include guardKay Sievers
2013-09-19device-nodes: move device node specific code to own fileDave Reisner
In the process, rename udev_encode_string which is poorly named for what it does. It deals specifically with encoding names that udev creates and has its own rules: utf8 is valid but some ascii is not (e.g. path separators), and everything else is simply escaped. Rename it to encode_devnode_name.