*
*/
-/* define this to enable parsing debugging */
-/* #define DEBUG_PARSER */
-
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "udev_utils.h"
#include "udev_version.h"
#include "logging.h"
-#include "namedev.h"
+#include "udev_rules.h"
/* global variables */
char sysfs_path[PATH_SIZE];
strlcpy(line, bufline, count);
temp = line;
- dbg_parse("read '%s'", temp);
+ dbg("read '%s'", temp);
retval = parse_get_pair(&temp, &variable, &value);
if (retval != 0)
info("%s:%d:%Zd: error parsing '%s'",
udev_config_filename, lineno, temp-line, temp);
- dbg_parse("variable='%s', value='%s'", variable, value);
+ dbg("variable='%s', value='%s'", variable, value);
if (strcasecmp(variable, "udev_root") == 0) {
strlcpy(udev_root, value, sizeof(udev_root));