// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEVICE_UDEV_LINUX_UDEV_H_ #define DEVICE_UDEV_LINUX_UDEV_H_ #include <stdarg.h> #include <sys/types.h> #include <sys/stat.h> #include <string> #include "base/component_export.h" #if !defined(USE_UDEV) #error "USE_UDEV not defined" #endif // Adapted from libudev.h. #define udev_list_entry_foreach(list_entry, first_entry) … // Forward declarations of opaque structs. struct udev; struct udev_device; struct udev_enumerate; struct udev_list_entry; struct udev_monitor; device // namespace device #endif // DEVICE_UDEV_LINUX_UDEV_H_