diff options
author | Richard Hughes <richard@hughsie.com> | 2010-03-29 14:21:51 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-03-29 14:21:51 +0100 |
commit | 4b5dc883e60adcd41d005eb6f9e2feb012a1a7de (patch) | |
tree | f30883772346c6692fc1561d8da6c3c2f9bbf8cd /src/up-backend.h | |
parent | 0198498350363a79cf42707543b43b31cedbc731 (diff) | |
download | upower-4b5dc883e60adcd41d005eb6f9e2feb012a1a7de.tar.gz |
Get the swap size from the backend, rather than hardcoding Linux specifics
Diffstat (limited to 'src/up-backend.h')
-rw-r--r-- | src/up-backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/up-backend.h b/src/up-backend.h index 823ab95..2384388 100644 --- a/src/up-backend.h +++ b/src/up-backend.h @@ -70,6 +70,7 @@ gboolean up_backend_coldplug (UpBackend *backend, gboolean up_backend_kernel_can_suspend (UpBackend *backend); gboolean up_backend_kernel_can_hibernate (UpBackend *backend); gboolean up_backend_has_encrypted_swap (UpBackend *backend); +gfloat up_backend_get_used_swap (UpBackend *backend); G_END_DECLS |