aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/includes/devices.h
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2010-05-03 09:27:26 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2010-05-03 21:08:06 -0300
commit9273c075a2f993c5154614b70233d8f74515c851 (patch)
treeeb72a8c58e6bc8f4ca3b739d28fbecc269c0052d /hardinfo2/includes/devices.h
parent9a50155ec3e27aa6cedf3f118196f1947c769a29 (diff)
Move files from hardinfo2 to root.
Diffstat (limited to 'hardinfo2/includes/devices.h')
-rw-r--r--hardinfo2/includes/devices.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/hardinfo2/includes/devices.h b/hardinfo2/includes/devices.h
deleted file mode 100644
index adbffd8c..00000000
--- a/hardinfo2/includes/devices.h
+++ /dev/null
@@ -1,87 +0,0 @@
-#ifndef __DEVICES_H__
-#define __DEVICES_H__
-
-#include "hardinfo.h"
-#include "processor-platform.h"
-
-#define WALK_UNTIL(x) while((*buf != '\0') && (*buf != x)) buf++
-
-#define GET_STR(field_name,ptr) \
- if (!ptr && strstr(tmp[0], field_name)) { \
- ptr = g_markup_escape_text(g_strstrip(tmp[1]), strlen(tmp[1])); \
- g_strfreev(tmp); \
- continue; \
- }
-
-#define get_str(field_name,ptr) \
- if (g_str_has_prefix(tmp[0], field_name)) { \
- ptr = g_strdup(tmp[1]); \
- g_strfreev(tmp); \
- continue; \
- }
-#define get_int(field_name,ptr) \
- if (g_str_has_prefix(tmp[0], field_name)) { \
- ptr = atoi(tmp[1]); \
- g_strfreev(tmp); \
- continue; \
- }
-#define get_float(field_name,ptr) \
- if (g_str_has_prefix(tmp[0], field_name)) { \
- ptr = atof(tmp[1]); \
- g_strfreev(tmp); \
- continue; \
- }
-
-
-
-/* Processor */
-GSList *processor_scan(void);
-void get_processor_strfamily(Processor * processor);
-void cpu_flags_init(void);
-gchar *processor_get_capabilities_from_flags(gchar * strflags);
-gchar *processor_get_detailed_info(Processor * processor);
-gchar *processor_get_info(GSList * processors);
-
-/* Memory */
-void init_memory_labels(void);
-void scan_memory_do(void);
-
-/* Printers */
-void init_cups(void);
-
-/* Battery */
-void scan_battery_do(void);
-
-/* PCI */
-void scan_pci_do(void);
-
-/* Printers */
-void scan_printers_do(void);
-
-/* Sensors */
-void scan_sensors_do(void);
-
-extern gchar *battery_list;
-extern gchar *dmi_info;
-extern gchar *input_icons;
-extern gchar *input_list;
-extern gchar *lginterval;
-extern gchar *meminfo;
-extern gchar *pci_list;
-extern gchar *printer_icons;
-extern gchar *printer_list;
-extern gchar *_resources;
-extern gchar *sensors;
-extern gchar *storage_icons;
-extern gchar *storage_list;
-extern gchar *usb_list;
-extern GHashTable *memlabels;
-extern GHashTable *moreinfo;
-extern GHashTable *_pci_devices;
-extern GHashTable *sensor_compute;
-extern GHashTable *sensor_labels;
-extern GModule *cups;
-
-
-
-#endif /* __DEVICES_H__ */ \ No newline at end of file