diff options
author | kremlin <ian@kremlin.cc> | 2014-08-07 12:02:22 +0800 |
---|---|---|
committer | kremlin <ian@kremlin.cc> | 2014-08-07 12:02:22 +0800 |
commit | 041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601 (patch) | |
tree | f900db0d1ff23809c255cbaeb8a91ed2848bc8df /src/interfaces/hostnamed/hostnamed.h | |
parent | 7a9b162aea802a8870d8ded900556f827453e76f (diff) | |
download | systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.tar systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.tar.gz systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.tar.bz2 systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.tar.lz systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.tar.xz systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.tar.zst systembsd-041ce20bf5fb0d651e89b14ee1fd2fd8d10a6601.zip |
embellish chassis/icon detection for laptops/servers/VMs/desktops
import landry's upower function to detect laptop-ness
check arch if sparc*/hppa to detect server-ness
connect functionality to DBus side of things
Diffstat (limited to 'src/interfaces/hostnamed/hostnamed.h')
-rw-r--r-- | src/interfaces/hostnamed/hostnamed.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/hostnamed/hostnamed.h b/src/interfaces/hostnamed/hostnamed.h index ef2ed8f..ccdbc26 100644 --- a/src/interfaces/hostnamed/hostnamed.h +++ b/src/interfaces/hostnamed/hostnamed.h @@ -18,6 +18,9 @@ void hostnamed_mem_clean(); const gchar *our_get_pretty_hostname(); -static gboolean build_chassis_table(); +int up_apm_get_fd(); gboolean determine_chassis_and_icon(); +gboolean up_native_get_sensordev(const char * id, struct sensordev * snsrdev); +gboolean up_native_is_laptop(); +gboolean is_server(gchar *arch); |