aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/includes
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/includes')
-rw-r--r--hardinfo2/includes/benchmark.h21
-rw-r--r--hardinfo2/includes/binreloc.h68
-rw-r--r--hardinfo2/includes/blowfish.h33
-rw-r--r--hardinfo2/includes/callbacks.h45
-rw-r--r--hardinfo2/includes/computer.h186
-rw-r--r--hardinfo2/includes/devices.h87
-rw-r--r--hardinfo2/includes/egg-markdown.h84
-rw-r--r--hardinfo2/includes/expr.h48
-rw-r--r--hardinfo2/includes/fftbench.h19
-rw-r--r--hardinfo2/includes/guibench.h24
-rw-r--r--hardinfo2/includes/hardinfo.h151
-rw-r--r--hardinfo2/includes/help-viewer.h43
-rw-r--r--hardinfo2/includes/iconcache.h30
-rw-r--r--hardinfo2/includes/loadgraph.h69
-rw-r--r--hardinfo2/includes/markdown-text-view.h70
-rw-r--r--hardinfo2/includes/md5.h26
-rw-r--r--hardinfo2/includes/menu.h25
-rw-r--r--hardinfo2/includes/network.h14
-rw-r--r--hardinfo2/includes/nqueens.h13
-rw-r--r--hardinfo2/includes/remote.h29
-rw-r--r--hardinfo2/includes/report.h93
-rw-r--r--hardinfo2/includes/sha1.h30
-rw-r--r--hardinfo2/includes/shell.h225
-rw-r--r--hardinfo2/includes/socket.h36
-rw-r--r--hardinfo2/includes/ssh-conn.h66
-rw-r--r--hardinfo2/includes/stock.h34
-rw-r--r--hardinfo2/includes/syncmanager.h42
-rw-r--r--hardinfo2/includes/test-utils.h24
-rw-r--r--hardinfo2/includes/uidefs.h79
-rw-r--r--hardinfo2/includes/vendor.h33
-rw-r--r--hardinfo2/includes/x86/processor-platform.h36
-rw-r--r--hardinfo2/includes/xmlrpc-client.h43
-rw-r--r--hardinfo2/includes/xmlrpc-server.h25
33 files changed, 0 insertions, 1851 deletions
diff --git a/hardinfo2/includes/benchmark.h b/hardinfo2/includes/benchmark.h
deleted file mode 100644
index 27bcbf4c..00000000
--- a/hardinfo2/includes/benchmark.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef __BENCHMARK_H__
-#define __BENCHMARK_H__
-
-#include "hardinfo.h"
-
-extern ProgramParameters params;
-
-enum {
- BENCHMARK_BLOWFISH,
- BENCHMARK_CRYPTOHASH,
- BENCHMARK_FIB,
- BENCHMARK_NQUEENS,
- BENCHMARK_FFT,
- BENCHMARK_RAYTRACE,
- BENCHMARK_GUI,
- BENCHMARK_N_ENTRIES
-} BenchmarkEntries;
-
-extern gdouble bench_results[BENCHMARK_N_ENTRIES];
-
-#endif /* __BENCHMARK_H__ */ \ No newline at end of file
diff --git a/hardinfo2/includes/binreloc.h b/hardinfo2/includes/binreloc.h
deleted file mode 100644
index 3bf48bc6..00000000
--- a/hardinfo2/includes/binreloc.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * BinReloc - a library for creating relocatable executables
- * Written by: Hongli Lai <h.lai@chello.nl>
- * http://autopackage.org/
- *
- * This source code is public domain. You can relicense this code
- * under whatever license you want.
- *
- * See http://autopackage.org/docs/binreloc/ for
- * more information and how to use this.
- */
-
-#ifndef __BINRELOC_H__
-#define __BINRELOC_H__
-
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-
-/** These error codes can be returned by br_init(), br_init_lib(), gbr_init() or gbr_init_lib(). */
-typedef enum {
- /** Cannot allocate memory. */
- GBR_INIT_ERROR_NOMEM,
- /** Unable to open /proc/self/maps; see errno for details. */
- GBR_INIT_ERROR_OPEN_MAPS,
- /** Unable to read from /proc/self/maps; see errno for details. */
- GBR_INIT_ERROR_READ_MAPS,
- /** The file format of /proc/self/maps is invalid; kernel bug? */
- GBR_INIT_ERROR_INVALID_MAPS,
- /** BinReloc is disabled (the ENABLE_BINRELOC macro is not defined). */
- GBR_INIT_ERROR_DISABLED
-} GbrInitError;
-
-
-#ifndef BINRELOC_RUNNING_DOXYGEN
-/* Mangle symbol names to avoid symbol collisions with other ELF objects. */
- #define gbr_find_exe UfUy21856259474323_gbr_find_exe
- #define gbr_find_exe_dir UfUy21856259474323_gbr_find_exe_dir
- #define gbr_find_prefix UfUy21856259474323_gbr_find_prefix
- #define gbr_find_bin_dir UfUy21856259474323_gbr_find_bin_dir
- #define gbr_find_sbin_dir UfUy21856259474323_gbr_find_sbin_dir
- #define gbr_find_data_dir UfUy21856259474323_gbr_find_data_dir
- #define gbr_find_locale_dir UfUy21856259474323_gbr_find_locale_dir
- #define gbr_find_lib_dir UfUy21856259474323_gbr_find_lib_dir
- #define gbr_find_libexec_dir UfUy21856259474323_gbr_find_libexec_dir
- #define gbr_find_etc_dir UfUy21856259474323_gbr_find_etc_dir
-
-
-#endif
-gboolean gbr_init (GError **error);
-gboolean gbr_init_lib (GError **error);
-
-gchar *gbr_find_exe (const gchar *default_exe);
-gchar *gbr_find_exe_dir (const gchar *default_dir);
-gchar *gbr_find_prefix (const gchar *default_prefix);
-gchar *gbr_find_bin_dir (const gchar *default_bin_dir);
-gchar *gbr_find_sbin_dir (const gchar *default_sbin_dir);
-gchar *gbr_find_data_dir (const gchar *default_data_dir);
-gchar *gbr_find_locale_dir (const gchar *default_locale_dir);
-gchar *gbr_find_lib_dir (const gchar *default_lib_dir);
-gchar *gbr_find_libexec_dir (const gchar *default_libexec_dir);
-gchar *gbr_find_etc_dir (const gchar *default_etc_dir);
-
-
-G_END_DECLS
-
-#endif /* __BINRELOC_H__ */
diff --git a/hardinfo2/includes/blowfish.h b/hardinfo2/includes/blowfish.h
deleted file mode 100644
index 3f33e945..00000000
--- a/hardinfo2/includes/blowfish.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-blowfish.h: Header file for blowfish.c
-
-Copyright (C) 1997 by Paul Kocher
-
-This library is free software; you can redistribute it and/or
-modify it 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.
-This library 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 this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-
-See blowfish.c for more information about this file.
-*/
-
-
-typedef struct {
- unsigned long P[16 + 2];
- unsigned long S[4][256];
-} BLOWFISH_CTX;
-
-void Blowfish_Init(BLOWFISH_CTX *ctx, unsigned char *key, int keyLen);
-void Blowfish_Encrypt(BLOWFISH_CTX *ctx, unsigned long *xl, unsigned long *xr);
-void Blowfish_Decrypt(BLOWFISH_CTX *ctx, unsigned long *xl, unsigned long *xr);
-
-
-
diff --git a/hardinfo2/includes/callbacks.h b/hardinfo2/includes/callbacks.h
deleted file mode 100644
index d53e1861..00000000
--- a/hardinfo2/includes/callbacks.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __CALLBACKS_H__
-#define __CALLBACKS_H__
-
-#include <gtk/gtk.h>
-
-void cb_about();
-void cb_about_module(GtkAction *action);
-void cb_generate_report();
-void cb_save_graphic();
-void cb_quit();
-void cb_refresh();
-void cb_copy_to_clipboard();
-void cb_side_pane();
-void cb_toolbar();
-void cb_open_web_page();
-void cb_open_online_docs();
-void cb_open_online_docs_context();
-void cb_sync_manager();
-void cb_report_bug();
-void cb_donate();
-void cb_connect_to();
-void cb_manage_hosts();
-void cb_connect_host(GtkAction * action);
-void cb_local_computer();
-void cb_act_as_server();
-
-#endif /* __CALLBACKS_H__ */
diff --git a/hardinfo2/includes/computer.h b/hardinfo2/includes/computer.h
deleted file mode 100644
index 05f7c4be..00000000
--- a/hardinfo2/includes/computer.h
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef __COMPUTER_H__
-#define __COMPUTER_H__
-
-#include "hardinfo.h"
-
-#define DB_PREFIX "/etc/"
-
-static struct {
- gchar *file, *codename;
-} distro_db[] = {
- { DB_PREFIX "debian_version", "deb" },
- { DB_PREFIX "slackware-version", "slk" },
- { DB_PREFIX "mandrake-release", "mdk" },
- { DB_PREFIX "mandriva-release", "mdv" },
- { DB_PREFIX "fedora-release", "fdra" },
- { DB_PREFIX "coas", "coas" },
- { DB_PREFIX "environment.corel", "corel"},
- { DB_PREFIX "gentoo-release", "gnt" },
- { DB_PREFIX "conectiva-release", "cnc" },
- { DB_PREFIX "versão-conectiva", "cnc" },
- { DB_PREFIX "turbolinux-release", "tl" },
- { DB_PREFIX "yellowdog-release", "yd" },
- { DB_PREFIX "sabayon-release", "sbn" },
- { DB_PREFIX "arch-release", "arch" },
- { DB_PREFIX "enlisy-release", "enlsy"},
- { DB_PREFIX "SuSE-release", "suse" },
- { DB_PREFIX "sun-release", "sun" },
- { DB_PREFIX "zenwalk-version", "zen" },
- { DB_PREFIX "puppyversion", "ppy" },
- { DB_PREFIX "distro-release", "fl" },
- { DB_PREFIX "vine-release", "vine" },
- { DB_PREFIX "PartedMagic-version", "pmag" },
- /*
- * RedHat must be the *last* one to be checked, since
- * some distros (like Mandrake) includes a redhat-relase
- * file too.
- */
- { DB_PREFIX "redhat-release", "rh" },
- { NULL, NULL }
-};
-
-typedef struct _Computer Computer;
-typedef struct _OperatingSystem OperatingSystem;
-typedef struct _MemoryInfo MemoryInfo;
-typedef struct _UptimeInfo UptimeInfo;
-typedef struct _LoadInfo LoadInfo;
-typedef struct _DisplayInfo DisplayInfo;
-
-typedef struct _AlsaInfo AlsaInfo;
-typedef struct _AlsaCard AlsaCard;
-
-typedef struct _FileSystem FileSystem;
-typedef struct _FileSystemEntry FileSystemEntry;
-
-struct _AlsaCard {
- gchar *alsa_name;
- gchar *friendly_name;
-/*
- gchar *board;
- gchar revision, compat_class;
- gint subsys_vendorid, subsys_id;
-
- gint cap_dac_res, cap_adc_res;
- gboolean cap_3d_enh;
-
- gint curr_mic_gain;
- gboolean curr_3d_enh,
- curr_loudness,
- curr_simstereo;
- gchar *curr_mic_select;
-*/
-};
-
-struct _AlsaInfo {
- GSList *cards;
-};
-
-struct _DisplayInfo {
- gchar *ogl_vendor, *ogl_renderer, *ogl_version;
- gboolean dri;
-
- gchar *display_name, *vendor, *version;
- gchar *extensions;
- gchar *monitors;
-
- gint width, height;
-};
-
-struct _LoadInfo {
- float load1, load5, load15;
-};
-
-struct _UptimeInfo {
- int days, hours, minutes;
-};
-
-struct _Computer {
- MemoryInfo *memory;
- OperatingSystem *os;
- DisplayInfo *display;
- AlsaInfo *alsa;
-
- gchar *date_time;
-};
-
-struct _OperatingSystem {
- gchar *kernel;
- gchar *libc;
- gchar *distrocode, *distro;
- gchar *hostname;
- gchar *language;
- gchar *homedir;
- gchar *kernel_version;
-
- gchar *languages;
-
- gchar *desktop;
- gchar *username;
-
- gchar *boots;
-};
-
-struct _MemoryInfo {
- gint total, used, free, cached;
- gfloat ratio;
-};
-
-#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; \
- }
-
-extern gchar *users;
-extern gchar *fs_list;
-extern GHashTable *_module_hash_table;
-extern Computer *computer;
-extern GHashTable *moreinfo;
-extern gchar *module_list;
-
-gchar *computer_get_formatted_loadavg();
-gchar *computer_get_formatted_uptime();
-gchar *computer_get_alsacards(Computer * computer);
-
-OperatingSystem *computer_get_os(void);
-AlsaInfo *computer_get_alsainfo(void);
-LoadInfo *computer_get_loadinfo(void);
-MemoryInfo *computer_get_memory(void);
-UptimeInfo *computer_get_uptime(void);
-DisplayInfo *computer_get_display(void);
-
-void scan_modules_do(void);
-void scan_filesystems(void);
-void scan_users_do(void);
-
-#endif /* __COMPUTER_H__ */
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
diff --git a/hardinfo2/includes/egg-markdown.h b/hardinfo2/includes/egg-markdown.h
deleted file mode 100644
index 4475b9f0..00000000
--- a/hardinfo2/includes/egg-markdown.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
- *
- * Copyright (C) 2008 Richard Hughes <richard@hughsie.com>
- * Copyright (C) 2009 Leandro Pereira <leandro@hardinfo.org>
- *
- * Licensed under the GNU General Public License Version 2
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifndef __EGG_MARKDOWN_H
-#define __EGG_MARKDOWN_H
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-#define EGG_TYPE_MARKDOWN (egg_markdown_get_type ())
-#define EGG_MARKDOWN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EGG_TYPE_MARKDOWN, EggMarkdown))
-#define EGG_MARKDOWN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EGG_TYPE_MARKDOWN, EggMarkdownClass))
-#define EGG_IS_MARKDOWN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EGG_TYPE_MARKDOWN))
-#define EGG_IS_MARKDOWN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EGG_TYPE_MARKDOWN))
-#define EGG_MARKDOWN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EGG_TYPE_MARKDOWN, EggMarkdownClass))
-#define EGG_MARKDOWN_ERROR (egg_markdown_error_quark ())
-#define EGG_MARKDOWN_TYPE_ERROR (egg_markdown_error_get_type ())
-
-#define EGG_MARKDOWN_MAX_LINE_LENGTH 2048
-
-typedef struct EggMarkdownPrivate EggMarkdownPrivate;
-
-typedef struct
-{
- GObject parent;
- EggMarkdownPrivate *priv;
-} EggMarkdown;
-
-typedef struct
-{
- GObjectClass parent_class;
- void (* active_changed) (EggMarkdown *self,
- gboolean active);
-} EggMarkdownClass;
-
-typedef enum {
- EGG_MARKDOWN_OUTPUT_TEXT,
- EGG_MARKDOWN_OUTPUT_PANGO,
- EGG_MARKDOWN_OUTPUT_HTML,
- EGG_MARKDOWN_OUTPUT_UNKNOWN
-} EggMarkdownOutput;
-
-GType egg_markdown_get_type (void);
-EggMarkdown *egg_markdown_new (void);
-gboolean egg_markdown_set_output (EggMarkdown *self,
- EggMarkdownOutput output);
-gboolean egg_markdown_set_max_lines (EggMarkdown *self,
- gint max_lines);
-gboolean egg_markdown_set_smart_quoting (EggMarkdown *self,
- gboolean smart_quoting);
-gboolean egg_markdown_set_escape (EggMarkdown *self,
- gboolean escape);
-gboolean egg_markdown_set_autocode (EggMarkdown *self,
- gboolean autocode);
-gchar *egg_markdown_parse (EggMarkdown *self,
- const gchar *text);
-void egg_markdown_clear (EggMarkdown *self);
-gchar *egg_markdown_get_link_uri (EggMarkdown *self,
- const gint link_id);
-
-G_END_DECLS
-
-#endif /* __EGG_MARKDOWN_H */
-
diff --git a/hardinfo2/includes/expr.h b/hardinfo2/includes/expr.h
deleted file mode 100644
index 4bda6b72..00000000
--- a/hardinfo2/includes/expr.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef __EXPR_H__
-#define __EXPR_H__
-
-typedef struct _MathToken MathToken;
-
-typedef enum {
- TOKEN_OPERATOR,
- TOKEN_VARIABLE,
- TOKEN_VALUE
-} MathTokenType;
-
-struct _MathToken {
- union {
- gfloat value;
- gchar op;
- } val;
- MathTokenType type;
-};
-
-#define math_postfix_free math_infix_free
-
-GSList *math_infix_to_postfix(GSList *infix);
-void math_infix_free(GSList *infix, gboolean free_tokens);
-
-GSList *math_string_to_infix(gchar *string);
-GSList *math_string_to_postfix(gchar *string);
-
-gfloat math_postfix_eval(GSList *postfix, gfloat at_value);
-gfloat math_string_eval(gchar *string, gfloat at_value);
-
-#endif /* __EXPR_H__ */
diff --git a/hardinfo2/includes/fftbench.h b/hardinfo2/includes/fftbench.h
deleted file mode 100644
index 7c0afc3d..00000000
--- a/hardinfo2/includes/fftbench.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef __FFTBENCH_H__
-#define __FFTBENCH_H__
-
-#include <glib.h>
-
-typedef struct _FFTBench FFTBench;
-
-struct _FFTBench {
- double **a, *b, *r;
- int *p;
-};
-
-FFTBench *fft_bench_new(void);
-void fft_bench_run(FFTBench *fftbench);
-void fft_bench_free(FFTBench *fftbench);
-
-#endif /* __FFTBENCH_H__ */
-
-
diff --git a/hardinfo2/includes/guibench.h b/hardinfo2/includes/guibench.h
deleted file mode 100644
index d24403bc..00000000
--- a/hardinfo2/includes/guibench.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2009 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GUIBENCH_H__
-#define __GUIBENCH_H__
-
-double guibench(void);
-
-#endif /* __GUIBENCH_H__ */ \ No newline at end of file
diff --git a/hardinfo2/includes/hardinfo.h b/hardinfo2/includes/hardinfo.h
deleted file mode 100644
index 42a92a30..00000000
--- a/hardinfo2/includes/hardinfo.h
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __HARDINFO_H__
-#define __HARDINFO_H__
-
-#include <gtk/gtk.h>
-#include "config.h"
-#include "shell.h"
-#include "vendor.h"
-
-typedef enum {
- MODULE_FLAG_NONE = 0,
- MODULE_FLAG_NO_REMOTE = 1<<0,
- MODULE_FLAG_HAS_HELP = 1<<1,
-} ModuleEntryFlags;
-
-typedef struct _ModuleEntry ModuleEntry;
-typedef struct _ModuleAbout ModuleAbout;
-typedef struct _FileTypes FileTypes;
-typedef struct _ProgramParameters ProgramParameters;
-
-struct _ProgramParameters {
- gboolean create_report;
- gboolean show_version;
- gboolean gui_running;
- gboolean list_modules;
- gboolean autoload_deps;
- gboolean run_xmlrpc_server;
-
- gint report_format;
-
- gchar **use_modules;
- gchar *run_benchmark;
- gchar *path_lib;
- gchar *path_data;
- gchar *argv0;
-};
-
-struct _FileTypes {
- gchar *name;
- gchar *mime_type;
- gchar *extension;
- gpointer data;
-};
-
-struct _ModuleEntry {
- gchar *name;
- gchar *icon;
- gpointer callback;
- gpointer scan_callback;
- guint32 flags;
-};
-
-struct _ModuleAbout {
- const gchar *description;
- const gchar *author;
- const gchar *version;
- const gchar *license;
-};
-
-/* String utility functions */
-inline void remove_quotes(gchar *str);
-inline char *strend(gchar *str, gchar chr);
-inline void remove_linefeed(gchar *str);
-gchar *strreplacechr(gchar *string, gchar *replace, gchar new_char);
-gchar *strreplace(gchar *string, gchar *replace, gchar *replacement);
-
-/* Widget utility functions */
-void widget_set_cursor(GtkWidget *widget, GdkCursorType cursor_type);
-gint tree_view_get_visible_height(GtkTreeView *tv);
-void tree_view_save_image(gchar *filename);
-
-/* File Chooser utility functions */
-void file_chooser_open_expander(GtkWidget *chooser);
-void file_chooser_add_filters(GtkWidget *chooser, FileTypes *filters);
-gchar *file_chooser_get_extension(GtkWidget *chooser, FileTypes *filters);
-gchar *file_chooser_build_filename(GtkWidget *chooser, gchar *extension);
-gpointer file_types_get_data_by_name(FileTypes *file_types, gchar *name);
-
-/* Misc utility functions */
-#if RELEASE == 1
-gpointer idle_free(gpointer ptr);
-#else
-gpointer __idle_free(gpointer ptr, gchar *f, gint l);
-#define idle_free(p) __idle_free(p, __FILE__, __LINE__)
-#endif /* RELEASE == 1 */
-
-gchar *find_program(gchar *program_name);
-inline gchar *size_human_readable(gfloat size);
-void nonblock_sleep(guint msec);
-void open_url(gchar *url);
-GSList *modules_get_list(void);
-GSList *modules_load_selected(void);
-GSList *modules_load_all(void);
-void module_unload_all(void);
-ModuleAbout *module_get_about(ShellModule *module);
-gchar *seconds_to_string(unsigned int seconds);
-
-gchar *h_strdup_cprintf(const gchar *format, gchar *source, ...);
-gchar *h_strconcat(gchar *string1, ...);
-void h_hash_table_remove_all (GHashTable *hash_table);
-
-void module_entry_scan_all_except(ModuleEntry *entries, gint except_entry);
-void module_entry_scan_all(ModuleEntry *entries);
-void module_entry_reload(ShellModuleEntry *module_entry);
-void module_entry_scan(ShellModuleEntry *module_entry);
-gchar *module_entry_function(ShellModuleEntry *module_entry);
-const gchar *module_entry_get_note(ShellModuleEntry *module_entry);
-gchar *module_entry_get_field(ShellModuleEntry * module_entry, gchar * field);
-gchar *module_entry_get_moreinfo(ShellModuleEntry * module_entry, gchar * field);
-
-/* BinReloc stuff */
-gboolean binreloc_init(gboolean try_hardcoded);
-
-/* GTK UI stuff */
-gboolean ui_init(int *argc, char ***argv);
-void parameters_init(int *argc, char ***argv, ProgramParameters *params);
-extern ProgramParameters params;
-
-/* Module stuff */
-gchar *module_call_method(gchar *method);
-gchar *module_call_method_param(gchar * method, gchar * parameter);
-
-/* Sysfs stuff */
-gfloat h_sysfs_read_float(gchar *endpoint, gchar *entry);
-gint h_sysfs_read_int(gchar *endpoint, gchar *entry);
-gchar *h_sysfs_read_string(gchar *endpoint, gchar *entry);
-
-#define SCAN_START() static gboolean scanned = FALSE; if (reload) scanned = FALSE; if (scanned) return;
-#define SCAN_END() scanned = TRUE;
-
-#define _CONCAT(a,b) a ## b
-#define CONCAT(a,b) _CONCAT(a,b)
-
-#endif /* __HARDINFO_H__ */
diff --git a/hardinfo2/includes/help-viewer.h b/hardinfo2/includes/help-viewer.h
deleted file mode 100644
index 688ff325..00000000
--- a/hardinfo2/includes/help-viewer.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * HelpViewer - Simple Help file browser
- * Copyright (C) 2009 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __HELP_VIEWER_H__
-#define __HELP_VIEWER_H__
-
-typedef struct _HelpViewer HelpViewer;
-
-struct _HelpViewer {
- GtkWidget *window;
- GtkWidget *status_bar;
-
- GtkWidget *btn_back, *btn_forward;
- GtkWidget *text_view;
- GtkWidget *text_search;
-
- gchar *current_file;
- gchar *help_directory;
-
- GSList *back_stack, *forward_stack;
-};
-
-HelpViewer *help_viewer_new(const gchar *help_dir, const gchar *help_file);
-void help_viewer_open_page(HelpViewer *help_viewer, const gchar *page);
-void help_viewer_destroy(HelpViewer *help_viewer);
-
-#endif /* __HELP_VIEWER_H__ */
-
diff --git a/hardinfo2/includes/iconcache.h b/hardinfo2/includes/iconcache.h
deleted file mode 100644
index 97f59a82..00000000
--- a/hardinfo2/includes/iconcache.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __ICONCACHE_H__
-#define __ICONCACHE_H__
-
-#include <gtk/gtk.h>
-
-void icon_cache_init(void);
-GdkPixbuf *icon_cache_get_pixbuf(const gchar *file);
-GtkWidget *icon_cache_get_image(const gchar *file);
-GdkPixbuf *icon_cache_get_pixbuf_at_size(const gchar *file, gint wid, gint hei);
-GtkWidget *icon_cache_get_image_at_size(const gchar *file, gint wid, gint hei);
-
-#endif /* __ICONCACHE_H__ */
diff --git a/hardinfo2/includes/loadgraph.h b/hardinfo2/includes/loadgraph.h
deleted file mode 100644
index 3a53f793..00000000
--- a/hardinfo2/includes/loadgraph.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Simple Load Graph
- * Copyright (C) 2006 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * The Simple Load Graph is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License, version 2.1, as published by the Free Software Foundation.
- *
- * The Simple Load Graph 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 the Simple Load Graph; if not, write to the Free
- * Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- * 02111-1307 USA.
- */
-
-
-#ifndef __LOADGRAPH_H__
-#define __LOADGRAPH_H__
-
-#include <stdlib.h>
-#include <gtk/gtk.h>
-#include <math.h>
-
-typedef struct _LoadGraph LoadGraph;
-
-typedef enum {
- LG_COLOR_GREEN = 0x4FB05A,
- LG_COLOR_BLUE = 0x4F58B0,
- LG_COLOR_RED = 0xB04F4F
-} LoadGraphColor;
-
-struct _LoadGraph {
- GdkPixmap *buf;
- GtkWidget *area;
-
- GdkGC *grid;
- GdkGC *trace;
- GdkGC *fill;
-
- gint *data;
- gfloat scale;
-
- gint size;
- gint width, height;
- LoadGraphColor color;
-
- gint max_value, remax_count;
-
- PangoLayout *layout;
- gchar *suffix;
-};
-
-LoadGraph *load_graph_new(gint size);
-void load_graph_destroy(LoadGraph *lg);
-void load_graph_configure_expose(LoadGraph *lg);
-GtkWidget *load_graph_get_framed(LoadGraph *lg);
-
-void load_graph_update(LoadGraph *lg, gint value);
-void load_graph_set_color(LoadGraph *lg, LoadGraphColor color);
-void load_graph_clear(LoadGraph *lg);
-
-void load_graph_set_data_suffix(LoadGraph *lg, gchar *suffix);
-gchar *load_graph_get_data_suffix(LoadGraph *lg);
-
-#endif /* __LOADGRAPH_H__ */
diff --git a/hardinfo2/includes/markdown-text-view.h b/hardinfo2/includes/markdown-text-view.h
deleted file mode 100644
index 648ea39c..00000000
--- a/hardinfo2/includes/markdown-text-view.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Markdown Text View
- * GtkTextView subclass that supports Markdown syntax
- *
- * Copyright (C) 2009 Leandro Pereira <leandro@hardinfo.org>
- * Portions Copyright (C) 2007-2008 Richard Hughes <richard@hughsie.com>
- * Portions Copyright (C) GTK+ Team (based on hypertext textview demo)
- *
- * Licensed under the GNU General Public License Version 2
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-#ifndef __MARKDOWN_TEXTVIEW_H__
-#define __MARKDOWN_TEXTVIEW_H__
-
-#include <gtk/gtk.h>
-#include "egg-markdown.h"
-
-G_BEGIN_DECLS
-#define TYPE_MARKDOWN_TEXTVIEW (markdown_textview_get_type())
-#define MARKDOWN_TEXTVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), TYPE_MARKDOWN_TEXTVIEW, MarkdownTextView))
-#define MARKDOWN_TEXTVIEW_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST((obj), MARKDOWN_TEXTVIEW, MarkdownTextViewClass))
-#define IS_MARKDOWN_TEXTVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), TYPE_MARKDOWN_TEXTVIEW))
-#define IS_MARKDOWN_TEXTVIEW_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((obj), TYPE_MARKDOWN_TEXTVIEW))
-#define MARKDOWN_TEXTVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), TYPE_MARKDOWN_TEXTVIEW, MarkdownTextViewClass))
-
-typedef struct _MarkdownTextView MarkdownTextView;
-typedef struct _MarkdownTextViewClass MarkdownTextViewClass;
-
-struct _MarkdownTextView {
- GtkTextView parent;
-
- EggMarkdown *markdown;
- gboolean hovering_over_link;
- gchar *image_directory;
-};
-
-struct _MarkdownTextViewClass {
- GtkTextViewClass parent_class;
-
- void (*link_clicked) (MarkdownTextView *text_view, gchar *uri);
- void (*hovering_over_link) (MarkdownTextView *text_view, gchar *uri);
- void (*hovering_over_text) (MarkdownTextView *text_view);
- void (*file_load_complete) (MarkdownTextView *text_view, gchar *file);
-};
-
-GtkWidget *markdown_textview_new();
-gboolean markdown_textview_load_file(MarkdownTextView * textview,
- const gchar * file_name);
-gboolean markdown_textview_set_text(MarkdownTextView * textview,
- const gchar * text);
-void markdown_textview_clear(MarkdownTextView * textview);
-void markdown_textview_set_image_directory(MarkdownTextView * self,
- const gchar * directory);
-GType markdown_textview_get_type();
-G_END_DECLS
-
-#endif /* __MARKDOWN_TEXTVIEW_H__ */
diff --git a/hardinfo2/includes/md5.h b/hardinfo2/includes/md5.h
deleted file mode 100644
index 1522170c..00000000
--- a/hardinfo2/includes/md5.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* See md5.c for explanation and copyright information. */
-
-#ifndef MD5_H
-#define MD5_H
-
-/* Unlike previous versions of this code, uint32 need not be exactly
- 32 bits, merely 32 bits or more. Choosing a data type which is 32
- bits instead of 64 is not important; speed is considerably more
- important. ANSI guarantees that "unsigned long" will be big enough,
- and always using it seems to have few disadvantages. */
-typedef unsigned long uint32;
-
-struct MD5Context {
- uint32 buf[4];
- uint32 bits[2];
- unsigned char in[64];
-};
-
-void MD5Init (struct MD5Context *context);
-void MD5Update (struct MD5Context *context,
- unsigned char const *buf, unsigned len);
-void MD5Final (unsigned char digest[16],
- struct MD5Context *context);
-void MD5Transform (uint32 buf[4], const unsigned char in[64]);
-
-#endif /* !MD5_H */
diff --git a/hardinfo2/includes/menu.h b/hardinfo2/includes/menu.h
deleted file mode 100644
index 361b2323..00000000
--- a/hardinfo2/includes/menu.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef __MENU_H__
-#define __MENU_H__
-
-#include <shell.h>
-
-void menu_init(Shell *shell);
-
-#endif /* __MENU_H__ */
diff --git a/hardinfo2/includes/network.h b/hardinfo2/includes/network.h
deleted file mode 100644
index e8113089..00000000
--- a/hardinfo2/includes/network.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef __NETWORK_H__
-#define __NETWORK_H__
-
-#include "hardinfo.h"
-
-extern gchar *smb_shares_list;
-extern gchar *nfs_shares_list;
-extern gchar *network_interfaces;
-extern gchar *network_icons;
-extern GHashTable *moreinfo;
-
-void scan_net_interfaces(void);
-
-#endif /* __NETWORK_H__ */ \ No newline at end of file
diff --git a/hardinfo2/includes/nqueens.h b/hardinfo2/includes/nqueens.h
deleted file mode 100644
index a4be93f0..00000000
--- a/hardinfo2/includes/nqueens.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * N-Queens Problem Solver
- * Found somewhere on the Internet; can't remember where. Possibly Wikipedia.
- */
-#ifndef __NQUEENS_H__
-#define __NQUEENS_H__
-
-int nqueens(int y);
-
-
-#endif /* __NQUEENS_H__ */
-
-
diff --git a/hardinfo2/includes/remote.h b/hardinfo2/includes/remote.h
deleted file mode 100644
index 6a988a3b..00000000
--- a/hardinfo2/includes/remote.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Remote Client
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2009 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __REMOTE_H__
-#define __REMOTE_H__
-
-void remote_disconnect_all(gboolean ssh);
-gboolean remote_connect_host(gchar * hostname);
-void connect_dialog_show(GtkWidget * parent);
-void host_manager_show(GtkWidget * parent);
-
-#endif /* __REMOTE_H__ */
-
diff --git a/hardinfo2/includes/report.h b/hardinfo2/includes/report.h
deleted file mode 100644
index 782621cb..00000000
--- a/hardinfo2/includes/report.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __REPORT_H__
-#define __REPORT_H__
-#include <gtk/gtk.h>
-#include <shell.h>
-
-typedef enum {
- REPORT_FORMAT_HTML,
- REPORT_FORMAT_TEXT,
- N_REPORT_FORMAT
-} ReportFormat;
-
-typedef enum {
- REPORT_COL_PROGRESS = 1<<0,
- REPORT_COL_VALUE = 1<<1,
- REPORT_COL_EXTRA1 = 1<<2,
- REPORT_COL_EXTRA2 = 1<<3,
- REPORT_COL_TEXTVALUE= 1<<4
-} ReportColumn;
-
-typedef struct _ReportDialog ReportDialog;
-typedef struct _ReportContext ReportContext;
-
-struct _ReportContext {
- ShellModuleEntry *entry;
- gchar *output;
-
- void (*header) (ReportContext *ctx);
- void (*footer) (ReportContext *ctx);
- void (*title) (ReportContext *ctx, gchar *text);
- void (*subtitle) (ReportContext *ctx, gchar *text);
- void (*subsubtitle) (ReportContext *ctx, gchar *text);
- void (*keyvalue) (ReportContext *ctx, gchar *key, gchar *value);
-
- ReportFormat format;
-
- gboolean is_image_enabled;
- gboolean first_table;
-
- gboolean show_column_headers;
- guint columns;
- GHashTable *column_titles;
-};
-
-struct _ReportDialog {
- GtkWidget *dialog;
- GtkWidget *filechooser;
- GtkWidget *btn_cancel;
- GtkWidget *btn_generate;
- GtkWidget *btn_sel_all;
- GtkWidget *btn_sel_none;
- GtkWidget *treeview;
-
- GtkTreeModel *model;
-};
-
-void report_dialog_show();
-
-ReportContext *report_context_html_new();
-ReportContext *report_context_text_new();
-
-void report_header (ReportContext *ctx);
-void report_footer (ReportContext *ctx);
-void report_title (ReportContext *ctx, gchar *text);
-void report_subtitle (ReportContext *ctx, gchar *text);
-void report_subsubtitle (ReportContext *ctx, gchar *text);
-void report_key_value (ReportContext *ctx, gchar *key, gchar *value);
-void report_table (ReportContext *ctx, gchar *text);
-
-void report_create_from_module_list(ReportContext *ctx, GSList *modules);
-gchar *report_create_from_module_list_format(GSList *modules, ReportFormat format);
-
-void report_context_free(ReportContext *ctx);
-void report_module_list_free(GSList *modules);
-
-#endif /* __REPORT_H__ */
diff --git a/hardinfo2/includes/sha1.h b/hardinfo2/includes/sha1.h
deleted file mode 100644
index 573ff8ac..00000000
--- a/hardinfo2/includes/sha1.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * SHA-1 in C
- * By Steve Reid <steve@edmweb.com>
- * 100% Public Domain
- */
-
-#ifndef __SHA1_H__
-#define __SHA1_H__
-
-#include <glib.h>
-
-#ifndef LITTLE_ENDIAN
-#if G_BYTE_ORDER == G_LITTLE_ENDIAN
-#define LITTLE_ENDIAN /* This should be #define'd if true. */
-#endif /* G_BYTE_ORDER */
-#endif /* LITTLE_ENDIAN */
-
-
-typedef struct {
- guint32 state[5];
- guint32 count[2];
- guchar buffer[64];
-} SHA1_CTX;
-
-void SHA1Transform(guint32 state[5], guchar buffer[64]);
-void SHA1Init(SHA1_CTX* context);
-void SHA1Update(SHA1_CTX* context, guchar* data, unsigned int len);
-void SHA1Final(guchar digest[20], SHA1_CTX* context);
-
-#endif /* __SHA1_H__ */
diff --git a/hardinfo2/includes/shell.h b/hardinfo2/includes/shell.h
deleted file mode 100644
index 2eb9e6d2..00000000
--- a/hardinfo2/includes/shell.h
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef __SHELL_H__
-#define __SHELL_H__
-
-#include <gtk/gtk.h>
-
-#include "loadgraph.h"
-#include "help-viewer.h"
-
-typedef struct _Shell Shell;
-typedef struct _ShellTree ShellTree;
-typedef struct _ShellInfoTree ShellInfoTree;
-typedef struct _ShellNote ShellNote;
-typedef struct _ShellSummary ShellSummary;
-
-typedef struct _ShellModule ShellModule;
-typedef struct _ShellModuleMethod ShellModuleMethod;
-typedef struct _ShellModuleEntry ShellModuleEntry;
-
-typedef struct _ShellFieldUpdate ShellFieldUpdate;
-typedef struct _ShellFieldUpdateSource ShellFieldUpdateSource;
-
-typedef enum {
- SHELL_ORDER_DESCENDING,
- SHELL_ORDER_ASCENDING,
-} ShellOrderType;
-
-typedef enum {
- SHELL_PACK_RESIZE = 1 << 0,
- SHELL_PACK_SHRINK = 1 << 1
-} ShellPackOptions;
-
-typedef enum {
- SHELL_VIEW_NORMAL,
- SHELL_VIEW_DUAL,
- SHELL_VIEW_LOAD_GRAPH,
- SHELL_VIEW_PROGRESS,
- SHELL_VIEW_PROGRESS_DUAL,
- SHELL_VIEW_SUMMARY,
- SHELL_VIEW_N_VIEWS
-} ShellViewType;
-
-typedef enum {
- TREE_COL_PBUF,
- TREE_COL_NAME,
- TREE_COL_MODULE_ENTRY,
- TREE_COL_MODULE,
- TREE_COL_SEL,
- TREE_NCOL
-} ShellTreeColumns;
-
-typedef enum {
- INFO_TREE_COL_NAME,
- INFO_TREE_COL_VALUE,
- INFO_TREE_COL_DATA,
- INFO_TREE_COL_PBUF,
- INFO_TREE_COL_PROGRESS,
- INFO_TREE_COL_EXTRA1,
- INFO_TREE_COL_EXTRA2,
- INFO_TREE_NCOL
-} ShellInfoTreeColumns;
-
-struct _Shell {
- GtkWidget *window, *vbox;
- GtkWidget *status, *progress;
- GtkWidget *remote_label;
- GtkWidget *notebook;
- GtkWidget *hpaned, *vpaned;
-
- ShellTree *tree;
- ShellInfoTree *info, *moreinfo;
- ShellModule *selected_module;
- ShellModuleEntry *selected;
- ShellNote *note;
- ShellSummary *summary;
- LoadGraph *loadgraph;
-
- GtkActionGroup *action_group;
- GtkUIManager *ui_manager;
- GSList *merge_ids;
-
- ShellViewType view_type;
- gboolean normalize_percentage;
-
- gint _pulses;
- ShellOrderType _order_type;
-
- GKeyFile *hosts;
- HelpViewer *help_viewer;
-};
-
-struct _ShellSummary {
- GtkWidget *header;
- GtkWidget *scroll;
- GtkWidget *view;
-
- GSList *items;
-};
-
-struct _ShellTree {
- GtkWidget *scroll;
- GtkWidget *view;
- GtkTreeModel *model;
- GtkTreeSelection *selection;
-
- GSList *modules;
-};
-
-struct _ShellInfoTree {
- GtkWidget *scroll;
- GtkWidget *view;
- GtkTreeModel *model;
- GtkTreeSelection *selection;
-
- GtkTreeViewColumn *col_progress, *col_value, *col_extra1, *col_extra2, *col_textvalue;
-};
-
-struct _ShellNote {
- GtkWidget *event_box;
- GtkWidget *label;
-};
-
-struct _ShellModule {
- gchar *name;
- GdkPixbuf *icon;
- GModule *dll;
-
- gpointer (*aboutfunc) ();
- gchar *(*summaryfunc) ();
- void (*deinit) ();
-
- guchar weight;
-
- GSList *entries;
-};
-
-struct _ShellModuleMethod {
- gchar *name;
- gpointer function;
-};
-
-struct _ShellModuleEntry {
- gchar *name;
- GdkPixbuf *icon;
- gchar *icon_file;
- gboolean selected;
- gint number;
- guint32 flags;
-
- gchar *(*func) ();
- void (*scan_func) ();
-
- gchar *(*fieldfunc) (gchar * entry);
- gchar *(*morefunc) (gchar * entry);
- gchar *(*notefunc) (gint entry);
-};
-
-struct _ShellFieldUpdate {
- ShellModuleEntry *entry;
- gchar *field_name;
-};
-
-struct _ShellFieldUpdateSource {
- guint source_id;
- ShellFieldUpdate *sfu;
-};
-
-void shell_init(GSList *modules);
-void shell_do_reload(void);
-
-Shell *shell_get_main_shell();
-
-void shell_action_set_enabled(const gchar *action_name,
- gboolean setting);
-gboolean shell_action_get_enabled(const gchar *action_name);
-gboolean shell_action_get_active(const gchar *action_name);
-void shell_action_set_active(const gchar *action_name,
- gboolean setting);
-void shell_action_set_property(const gchar *action_name,
- const gchar *property,
- gboolean setting);
-
-void shell_set_side_pane_visible(gboolean setting);
-void shell_set_note_from_entry(ShellModuleEntry *entry);
-void shell_ui_manager_set_visible(const gchar *path,
- gboolean setting);
-
-void shell_status_update(const gchar *message);
-void shell_status_pulse(void);
-void shell_status_set_percentage(gint percentage);
-void shell_status_set_enabled(gboolean setting);
-
-void shell_view_set_enabled(gboolean setting);
-
-void shell_clear_timeouts(Shell *shell);
-void shell_clear_tree_models(Shell *shell);
-void shell_clear_field_updates(void);
-void shell_set_title(Shell *shell, char *subtitle);
-
-void shell_add_modules_to_gui(gpointer _shell_module, gpointer _shell_tree);
-
-void shell_save_hosts_file(void);
-void shell_update_remote_menu(void);
-
-void shell_set_remote_label(Shell *shell, gchar *label);
-
-#endif /* __SHELL_H__ */
-
-
diff --git a/hardinfo2/includes/socket.h b/hardinfo2/includes/socket.h
deleted file mode 100644
index 7c44837e..00000000
--- a/hardinfo2/includes/socket.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __HI_SOCKET_H__
-#define __HI_SOCKET_H__
-
-typedef struct _Socket Socket;
-
-struct _Socket {
- gint sock;
-};
-
-Socket *sock_connect(gchar * host, gint port);
-int sock_write(Socket * s, gchar * str);
-int sock_read(Socket * s, gchar * buffer, gint size);
-void sock_close(Socket * s);
-
-int sock_ready_to_read(Socket *s);
-int sock_ready_to_write(Socket *s);
-
-#endif /* __HI_SOCKET_H__ */
diff --git a/hardinfo2/includes/ssh-conn.h b/hardinfo2/includes/ssh-conn.h
deleted file mode 100644
index b1b0a9ca..00000000
--- a/hardinfo2/includes/ssh-conn.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- Remote Client
- HardInfo - Displays System Information
- Copyright (C) 2003-2009 Leandro A. F. Pereira <leandro@hardinfo.org>
-
- Based on ssh-method.c from GnomeVFS
- Copyright (C) 1999 Free Software Foundation
- Original author: Ian McKellar <yakk@yakk.net>
-
- The Gnome Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
-
- The Gnome Library 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
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with the Gnome Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-*/
-#ifndef __SSH_CONN_H__
-#define __SSH_CONN_H__
-
-#include "config.h"
-#ifdef HAS_LIBSOUP
-#include <libsoup/soup.h>
-
-typedef struct _SSHConn SSHConn;
-
-typedef enum {
- SSH_CONN_OK,
- SSH_CONN_NO_URI,
- SSH_CONN_UNKNOWN_PROTOCOL,
- SSH_CONN_UNKNOWN_ERROR,
- SSH_CONN_CANNOT_SPAWN_SSH,
- SSH_CONN_BAD_PARAMS,
- SSH_CONN_PERMISSION_DENIED,
- SSH_CONN_HOST_KEY_CHECK_FAIL,
- SSH_CONN_REFUSED,
- SSH_CONN_INVALID_USER_PASS,
-} SSHConnResponse;
-
-struct _SSHConn {
- SoupURI *uri;
- int fd_read, fd_write, fd_error;
- GPid pid;
- gchar *askpass_path;
-
- gint exit_status;
-};
-
-SSHConnResponse ssh_new(SoupURI * uri,
- SSHConn ** conn_return, gchar * command);
-void ssh_close(SSHConn * conn);
-
-int ssh_write(SSHConn * conn,
- gconstpointer buffer, gint num_bytes, gint * bytes_written);
-int ssh_read(gint fd, gpointer buffer, gint num_bytes, gint * bytes_read);
-
-const char *ssh_conn_errors[10];
-#endif /* HAS_LIBSOUP */
-#endif /* __SSH_CONN_H__ */
diff --git a/hardinfo2/includes/stock.h b/hardinfo2/includes/stock.h
deleted file mode 100644
index 706e5c51..00000000
--- a/hardinfo2/includes/stock.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __STOCK_H__
-#define __STOCK_H__
-
-#define HI_STOCK_REPORT "hi-stock-report"
-#define HI_STOCK_INTERNET "hi-stock-internet"
-#define HI_STOCK_MODULE "hi-stock-module"
-#define HI_STOCK_ABOUT_MODULES "hi-stock-about-modules"
-#define HI_STOCK_SYNC_MENU "hi-stock-sync-menu"
-#define HI_STOCK_DONATE "hi-stock-donate"
-#define HI_STOCK_SERVER "hi-stock-server"
-
-void stock_icons_init(void);
-void stock_icon_register(gchar *filename, gchar *stock_id);
-void stock_icon_register_pixbuf(GdkPixbuf *pixbuf, gchar *stock_id);
-
-#endif /* __STOCK_H__ */
diff --git a/hardinfo2/includes/syncmanager.h b/hardinfo2/includes/syncmanager.h
deleted file mode 100644
index ae0ed267..00000000
--- a/hardinfo2/includes/syncmanager.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __SYNCMANAGER_H__
-#define __SYNCMANAGER_H__
-
-#include <gtk/gtk.h>
-
-typedef struct _SyncEntry SyncEntry;
-
-struct _SyncEntry {
- gchar *name;
- gchar *fancy_name;
- gchar *save_to;
-
- gchar *(*get_data)(void);
- void (*callback)(SyncEntry *entry, const gchar *response);
-
- gboolean selected;
-};
-
-void sync_manager_add_entry(SyncEntry *entry);
-void sync_manager_clear_entries(void);
-void sync_manager_show(GtkWidget *parent);
-gint sync_manager_count_entries(void);
-
-#endif /* __SYNCMANAGER_H__ */
diff --git a/hardinfo2/includes/test-utils.h b/hardinfo2/includes/test-utils.h
deleted file mode 100644
index 21cac6b5..00000000
--- a/hardinfo2/includes/test-utils.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "libsoup/soup-types.h"
-
-void test_init (int argc, char **argv, GOptionEntry *entries);
-void test_cleanup (void);
-
-extern int debug_level, errors;
-extern gboolean expect_warning;
-void debug_printf (int level, const char *format, ...) G_GNUC_PRINTF (2, 3);
-
-#ifdef HAVE_APACHE
-void apache_init (void);
-void apache_cleanup (void);
-#endif
-
-SoupSession *soup_test_session_new (GType type, ...);
-void soup_test_session_abort_unref (SoupSession *session);
-
-SoupServer *soup_test_server_new (gboolean in_own_thread);
-SoupServer *soup_test_server_new_ssl (gboolean in_own_thread);
-
diff --git a/hardinfo2/includes/uidefs.h b/hardinfo2/includes/uidefs.h
deleted file mode 100644
index a54823ad..00000000
--- a/hardinfo2/includes/uidefs.h
+++ /dev/null
@@ -1,79 +0,0 @@
-#ifndef __UIDEFS_H__
-#define __UIDEFS_H__
-
-#include "config.h"
-
-#if RELEASE
-#define DEBUG_TOOLBAR_ITEMS
-#else /* !RELEASE */
-#define DEBUG_TOOLBAR_ITEMS "<separator/>" \
- "<toolitem name=\"ReportBug\" action=\"ReportBugAction\" />"
-#endif /* !RELEASE */
-
-#ifdef HAS_LIBSOUP
-#define REMOTE_MENU_ITEMS " <menu name=\"RemoteMenu\" action=\"RemoteMenuAction\">" \
-" <menuitem name=\"ConnectTo\" action=\"ConnectToAction\" />" \
-" <menuitem name=\"Manage\" action=\"ManageAction\" />" \
-" <separator/>" \
-" <menuitem name=\"ActAsServer\" action=\"ActAsServerAction\" />" \
-" <separator/>" \
-" <menuitem name=\"LocalComputer\" action=\"LocalComputerAction\" />" \
-" </menu>"
-
-#define SYNC_MANAGER_ITEMS " <separator/>" \
-" <menuitem name=\"SyncManager\" action=\"SyncManagerAction\" />"
-
-#else /* !HAS_LIBSOUP */
-#define REMOTE_MENU_ITEMS
-#define SYNC_MANAGER_ITEMS
-#endif /* !HAS_LIBSOUP */
-
-char *uidefs_str = "<ui>" \
-" <menubar>" \
-" <menu name=\"InformationMenu\" action=\"InformationMenuAction\">" \
-" <menuitem name=\"Report\" action=\"ReportAction\" />" \
-" <menuitem name=\"Copy\" action=\"CopyAction\" />" \
-SYNC_MANAGER_ITEMS
-/*
- * Save Image is not ready for prime time. Yet.
- * "<menuitem name=\"SaveGraph\" action=\"SaveGraphAction\" />" \
- */
-" <separator/>" \
-" <menuitem name=\"Quit\" action=\"QuitAction\" />" \
-" </menu>" \
-" <menu name=\"ViewMenu\" action=\"ViewMenuAction\">" \
-" <menuitem name=\"SidePane\" action=\"SidePaneAction\"/>" \
-" <menuitem name=\"Toolbar\" action=\"ToolbarAction\"/>" \
-" <separator/>"\
-" <separator name=\"LastSep\"/>" \
-" <menuitem name=\"Refresh\" action=\"RefreshAction\"/>" \
-" </menu>" \
-REMOTE_MENU_ITEMS \
-" <menu name=\"HelpMenu\" action=\"HelpMenuAction\">" \
-" <menuitem name=\"OnlineDocs\" action=\"OnlineDocsAction\"/>" \
-" <menuitem name=\"ContextHelp\" action=\"ContextHelpAction\"/>" \
-" <separator/>" \
-" <menuitem name=\"WebPage\" action=\"HomePageAction\"/>" \
-" <menuitem name=\"ReportBug\" action=\"ReportBugAction\"/>" \
-" <separator/>" \
-" <menuitem name=\"Donate\" action=\"DonateAction\"/>" \
-" <separator/>" \
-" <menu name=\"HelpMenuModules\" action=\"HelpMenuModulesAction\">" \
-" <separator name=\"LastSep\"/>" \
-" </menu>" \
-" <menuitem name=\"About\" action=\"AboutAction\"/>" \
-" </menu>" \
-" </menubar>" \
-" <toolbar action=\"MainMenuBar\" action=\"MainMenuBarAction\">" \
-" <placeholder name=\"ToolItems\">" \
-" <toolitem name=\"Refresh\" action=\"RefreshAction\"/>" \
-" <separator/>" \
-" <toolitem name=\"Report\" action=\"ReportAction\"/>" \
-" <toolitem name=\"Copy\" action=\"CopyAction\"/>" \
-" <separator/>" \
-DEBUG_TOOLBAR_ITEMS \
-" </placeholder>" \
-" </toolbar>" \
-"</ui>";
-
-#endif /* __UIDEFS_H__ */
diff --git a/hardinfo2/includes/vendor.h b/hardinfo2/includes/vendor.h
deleted file mode 100644
index 778e2ea3..00000000
--- a/hardinfo2/includes/vendor.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __VENDOR_H__
-#define __VENDOR_H__
-
-typedef struct _Vendor Vendor;
-struct _Vendor {
- char *id;
- char *name;
- char *url;
-};
-
-void vendor_init(void);
-const gchar *vendor_get_name(const gchar *id);
-const gchar *vendor_get_url(const gchar *id);
-
-#endif /* __VENDOR_H__ */
diff --git a/hardinfo2/includes/x86/processor-platform.h b/hardinfo2/includes/x86/processor-platform.h
deleted file mode 100644
index dd9ae9d9..00000000
--- a/hardinfo2/includes/x86/processor-platform.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef __PROCESSOR_PLATFORM_H__
-#define __PROCESSOR_PLATFORM_H__
-
-#include "hardinfo.h"
-
-typedef struct _Processor Processor;
-typedef struct _ProcessorCache ProcessorCache;
-
-struct _ProcessorCache {
- gint level;
- gint number_of_sets;
- gint physical_line_partition;
- gint size;
- gchar *type;
- gint ways_of_associativity;
-};
-
-struct _Processor {
- gchar *model_name;
- gchar *vendor_id;
- gchar *flags;
- gint cache_size;
- gfloat bogomips, cpu_mhz;
-
- gchar *has_fpu;
- gchar *bug_fdiv, *bug_hlt, *bug_f00f, *bug_coma;
-
- gint model, family, stepping;
- gchar *strmodel;
-
- gint id;
-
- GSList *cache;
-};
-
-#endif /* __PROCESSOR_PLATFORM_H__ */
diff --git a/hardinfo2/includes/xmlrpc-client.h b/hardinfo2/includes/xmlrpc-client.h
deleted file mode 100644
index 32fad08c..00000000
--- a/hardinfo2/includes/xmlrpc-client.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * XMLRPC Client
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2009 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __XMLRPC_CLIENT_H__
-#define __XMLRPC_CLIENT_H__
-
-#include "config.h"
-
-#ifdef HAS_LIBSOUP
-#include <libsoup/soup.h>
-
-void xmlrpc_init(void);
-gint xmlrpc_get_integer(gchar *addr,
- gchar *method,
- const gchar *param_types,
- ...);
-gchar *xmlrpc_get_string(gchar *addr,
- gchar *method,
- const gchar *param_types,
- ...);
-GValueArray *xmlrpc_get_array(gchar *addr,
- gchar *method,
- const gchar *param_types,
- ...);
-#endif /* HAS_LIBSOUP */
-
-#endif /* __XMLRPC_CLIENT_H__ */
diff --git a/hardinfo2/includes/xmlrpc-server.h b/hardinfo2/includes/xmlrpc-server.h
deleted file mode 100644
index e608b711..00000000
--- a/hardinfo2/includes/xmlrpc-server.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * HardInfo - Displays System Information
- * Copyright (C) 2003-2009 Leandro A. F. Pereira <leandro@hardinfo.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, version 2.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef __XMLRPC_SERVER_H__
-#define __XMLRPC_SERVER_H__
-
-void xmlrpc_server_start(GMainLoop *main_loop);
-void xmlrpc_server_init(void);
-
-#endif /* __XMLRPC_SERVER_H__ */
-