/***
This file is part of systemd.
Copyright 2008-2012 Kay Sievers <kay@vrfy.org>
Copyright 2014 Tom Gundersen <teg@jklm.no>
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#pragma once
#include "hashmap.h"
#include "set.h"
struct sd_device {
/* the subset of the properties that should be written to the db*/
int devlink_priority;
int watch_handle;
char *syspath;
const char *devpath;
const char *sysnum;
char *sysname;
char *devtype;
int ifindex;
char *devname;
char *subsystem;
char *driver;
char *id_filename;
bool is_initialized;
};
typedef enum DeviceAction {
} DeviceAction;