Commit 503e070c authored by Christian Kellner's avatar Christian Kellner
Browse files

device: getter for status

parent e21429ea
...@@ -760,6 +760,12 @@ bolt_device_get_security (BoltDevice *dev) ...@@ -760,6 +760,12 @@ bolt_device_get_security (BoltDevice *dev)
return dev->security; return dev->security;
} }
BoltStatus
bolt_device_get_status (BoltDevice *dev)
{
return dev->status;
}
guint guint
bolt_device_get_store (BoltDevice *dev) bolt_device_get_store (BoltDevice *dev)
{ {
......
...@@ -57,6 +57,8 @@ BoltSecurity bolt_device_get_security (BoltDevice *dev); ...@@ -57,6 +57,8 @@ BoltSecurity bolt_device_get_security (BoltDevice *dev);
guint bolt_device_get_store (BoltDevice *dev); guint bolt_device_get_store (BoltDevice *dev);
BoltStatus bolt_device_get_status (BoltDevice *dev);
const char * bolt_device_get_syspath (BoltDevice *dev); const char * bolt_device_get_syspath (BoltDevice *dev);
const char * bolt_device_get_vendor (BoltDevice *dev); const char * bolt_device_get_vendor (BoltDevice *dev);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment