Heraia
0.1.8
|
This file contains all the definitions and includes all other .h files. More...
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <getopt.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <glib/gi18n-lib.h>
#include <gmodule.h>
#include <gtkhex/gtkhex.h>
#include "data_interpretor.h"
#include "decode.h"
#include "ghex_heraia_interface.h"
#include "heraia_errors.h"
#include "heraia_io.h"
#include "heraia_ui.h"
#include "log.h"
#include "main_pref_window.h"
#include "plugin.h"
#include "plugin_list.h"
#include "user_prefs.h"
#include "tests.h"
#include "goto_dialog.h"
#include "result_window.h"
#include "find_replace_window.h"
Go to the source code of this file.
Data Structures | |
struct | date_and_time_t |
A human struct to store a date with a time. More... | |
struct | decode_parameters_t |
Used to pass decoding options to the functions. More... | |
struct | decode_t |
Basic way to associate a decode function and an entry that will receive the result. More... | |
struct | decode_generic_t |
Basic way to have as many as we want decoding functions corresponding to one label. More... | |
struct | tab_t |
Tabulation structure to be used in the GtkNoteBook of data_interpretor's window. More... | |
struct | data_window_t |
Data interpretor window structure. More... | |
struct | xml_t |
Structure that contains all the xml definitions loaded at running time using GtkBuilder. More... | |
struct | window_prop_t |
Window properties. More... | |
struct | all_window_prop_t |
Structure to keep window properties for each window. More... | |
struct | prefs_t |
Data type related to preferences. More... | |
struct | doc_t |
Proposal for a structure that will group all informations about a single document. More... | |
struct | selection_t |
A structure to manage a single selection. More... | |
struct | fdft_t |
struct | heraia_struct_t |
This is the main structure. More... | |
Macros | |
#define | HERAIA_REFRESH_NOTHING 0 |
When nothing is refreshed. More... | |
#define | HERAIA_REFRESH_NEW_FILE 1 |
When a new file has been loaded. More... | |
#define | HERAIA_REFRESH_CURSOR_MOVE 2 |
When the cursor is moving. More... | |
#define | HERAIA_REFRESH_TAB_CHANGED 3 |
When user selects another tab in main notebook. More... | |
#define | HERAIA_FIND_FORWARD 32 |
When one wants to do a search in the forward direction. More... | |
#define | HERAIA_FIND_BACKWARD 64 |
When one wants to do a search in the backward direction. More... | |
#define | HERAIA_FIND_ALL 128 |
When one wants to do a global search in th whole document. More... | |
#define | WPT_DEFAULT_HEIGHT 200 |
Defines the default height for a window (set in window_prop_t) More... | |
#define | WPT_DEFAULT_WIDTH 200 |
Defines the default width for a window (set in window_prop_t) More... | |
Typedefs | |
typedef HexDocument | Heraia_Document |
Abstract layer this may be usefull if we decide to leave Heraia_Hex and use something else ! More... | |
typedef GtkHex | Heraia_Hex |
Abstract layer this may be usefull if we decide to leave Heraia_Hex and use something else ! More... | |
typedef gint | HERAIA_ERROR |
Defines heraia error type (this should be used !) More... | |
typedef gint | RefreshType |
Refresh type (may be used to decide what to do in a particular case) More... | |
typedef gchar *(* | DecodeFunc )(guchar *, gpointer) |
Templates for the decoding functions. More... | |
Functions | |
int | libheraia_test (void) |
A simple test function. More... | |
void | libheraia_initialize (void) |
Python specific. More... | |
void | libheraia_finalize (void) |
This file contains all the definitions and includes all other .h files.
This is not very friendly, but ease compilation on exotic systems.
Definition in file libheraia.h.
#define HERAIA_FIND_ALL 128 |
When one wants to do a global search in th whole document.
Definition at line 118 of file libheraia.h.
Referenced by fdft_prev_next_bt_clicked(), fdft_search_direction(), ghex_find_decode(), and hex_document_find_decode().
#define HERAIA_FIND_BACKWARD 64 |
When one wants to do a search in the backward direction.
Definition at line 117 of file libheraia.h.
Referenced by fdft_prev_next_bt_clicked(), fdft_search_direction(), ghex_find_decode(), and hex_document_find_decode().
#define HERAIA_FIND_FORWARD 32 |
When one wants to do a search in the forward direction.
Definition at line 116 of file libheraia.h.
Referenced by fdft_prev_next_bt_clicked(), fdft_search_direction(), ghex_find_decode(), and hex_document_find_decode().
#define HERAIA_REFRESH_CURSOR_MOVE 2 |
When the cursor is moving.
Definition at line 102 of file libheraia.h.
Referenced by refresh_event_handler().
#define HERAIA_REFRESH_NEW_FILE 1 |
When a new file has been loaded.
Definition at line 101 of file libheraia.h.
Referenced by on_new_activate(), on_open_activate(), and refresh().
#define HERAIA_REFRESH_NOTHING 0 |
When nothing is refreshed.
Definition at line 100 of file libheraia.h.
Referenced by file_notebook_tab_changed(), and refresh_event_handler().
#define HERAIA_REFRESH_TAB_CHANGED 3 |
When user selects another tab in main notebook.
Definition at line 103 of file libheraia.h.
Referenced by file_notebook_tab_changed(), and refresh().
#define WPT_DEFAULT_HEIGHT 200 |
Defines the default height for a window (set in window_prop_t)
Definition at line 233 of file libheraia.h.
Referenced by init_window_property_struct(), and record_dialog_box_position().
#define WPT_DEFAULT_WIDTH 200 |
Defines the default width for a window (set in window_prop_t)
Definition at line 234 of file libheraia.h.
Referenced by init_window_property_struct(), and record_dialog_box_position().
typedef gchar*(* DecodeFunc)(guchar *, gpointer) |
Templates for the decoding functions.
Decode function template
Definition at line 139 of file libheraia.h.
HexDocument Heraia_Document |
Abstract layer this may be usefull if we decide to leave Heraia_Hex and use something else !
Definition at line 76 of file libheraia.h.
gint HERAIA_ERROR |
Defines heraia error type (this should be used !)
Definition at line 78 of file libheraia.h.
GtkHex Heraia_Hex |
Abstract layer this may be usefull if we decide to leave Heraia_Hex and use something else !
Definition at line 77 of file libheraia.h.
gint RefreshType |
Refresh type (may be used to decide what to do in a particular case)
Definition at line 99 of file libheraia.h.
void libheraia_finalize | ( | void | ) |
Definition at line 67 of file libheraia.c.
Referenced by main().
void libheraia_initialize | ( | void | ) |
Python specific.
Definition at line 62 of file libheraia.c.
Referenced by main().
int libheraia_test | ( | void | ) |
A simple test function.
Definition at line 56 of file libheraia.c.
Referenced by main().