Netzhaut
Web Browser Engine
ver.0.3.5.0
rev.0.23.55.58
Loading...
Searching...
No Matches
Public.h
Go to the documentation of this file.
1#ifndef NH_CORE_PUBLIC_H
2#define NH_CORE_PUBLIC_H
3
4#ifndef DOXYGEN_SHOULD_SKIP_THIS
5
12#include "../Result.h"
13#include <stdint.h>
14
15#endif
16
19 typedef char NH_BYTE;
20 typedef unsigned char NH_UNSIGNED_BYTE;
21 typedef int NH_PIXEL;
22 typedef float NH_CLIP;
23
28 typedef struct nh_Workload nh_Workload;
29
33 typedef void (*nh_logCallback_f)(
34 NH_BYTE *node_p, NH_BYTE *options_p, NH_BYTE *message_p
35 );
36
38 nh_logCallback_f logCallback_f
39 );
40
47 typedef enum NH_BOOL {
49 NH_TRUE = 1,
50 } NH_BOOL;
51
55 typedef enum NH_SWITCH {
56 NH_OFF = 0,
57 NH_ON = 1,
58 } NH_SWITCH;
59
60 typedef enum NH_LOADER_SCOPE {
65
66 typedef enum NH_SIGNAL {
82 } NH_SIGNAL;
83
90 typedef struct nh_Array {
94 unsigned long length;
96 } nh_Array;
97
101 typedef struct nh_List {
102 unsigned long chunkSize;
103 unsigned long chunkCount;
104 unsigned long size;
105 void **pp;
106 } nh_List;
107
108 typedef struct nh_ArrayList {
112 } nh_ArrayList;
113
117 typedef struct nh_LinkedList {
118 int count;
121
122 typedef struct nh_RingBufferMarker {
123 int index;
126
127 typedef struct nh_RingBuffer {
130 int index;
132 void *data_p;
134
135 typedef struct nh_BigInt {
136 int TODO;
137 } nh_BigInt;
138
139 typedef struct nh_PixelPosition {
143
144 typedef struct nh_PixelSize {
147 } nh_PixelSize;
148
149 typedef struct nh_ClipPosition {
153
154 typedef struct nh_ClipSize {
157 } nh_ClipSize;
158
159 typedef struct nh_Color {
160 float r, g, b, a;
161 } nh_Color;
162
169 typedef struct nh_Loader nh_Loader;
170
175
180
183#endif
NH_RESULT
Definition: Result.h:20
nh_Array nh_String
Definition: Public.h:174
nh_String nh_ASCIIString
Definition: Public.h:179
NH_LOADER_SCOPE
Definition: Public.h:60
@ NH_LOADER_SCOPE_LOCAL
Definition: Public.h:61
@ NH_LOADER_SCOPE_LOCAL_SYSTEM
Definition: Public.h:62
@ NH_LOADER_SCOPE_SYSTEM
Definition: Public.h:63
NH_SIGNAL
Definition: Public.h:66
@ NH_SIGNAL_RESTART
Definition: Public.h:79
@ NH_SIGNAL_FREE
Definition: Public.h:70
@ NH_SIGNAL_CLOSE
Definition: Public.h:74
@ NH_SIGNAL_RESIZE
Definition: Public.h:78
@ NH_SIGNAL_SET_BACKGROUND_COLOR
Definition: Public.h:80
@ NH_SIGNAL_INACTIVE
Definition: Public.h:76
@ NH_SIGNAL_INIT
Definition: Public.h:77
@ NH_SIGNAL_SET_TITLE
Definition: Public.h:81
@ NH_SIGNAL_OK
Definition: Public.h:67
@ NH_SIGNAL_FINISH
Definition: Public.h:69
@ NH_SIGNAL_UPDATE
Definition: Public.h:75
@ NH_SIGNAL_DONE
Definition: Public.h:68
@ NH_SIGNAL_IDLE
Definition: Public.h:72
@ NH_SIGNAL_ERROR
Definition: Public.h:71
@ NH_SIGNAL_OPEN
Definition: Public.h:73
int NH_PIXEL
Definition: Public.h:21
NH_SWITCH
Definition: Public.h:55
@ NH_OFF
Definition: Public.h:56
@ NH_ON
Definition: Public.h:57
struct nh_LinkedListItem nh_LinkedListItem
Definition: Public.h:27
char NH_BYTE
Definition: Public.h:19
struct nh_Workload nh_Workload
Definition: Public.h:28
NH_BOOL
Definition: Public.h:47
@ NH_FALSE
Definition: Public.h:48
@ NH_TRUE
Definition: Public.h:49
unsigned char NH_UNSIGNED_BYTE
Definition: Public.h:20
struct nh_Loader nh_Loader
Definition: Public.h:169
float NH_CLIP
Definition: Public.h:22
void(* nh_logCallback_f)(NH_BYTE *node_p, NH_BYTE *options_p, NH_BYTE *message_p)
Definition: Public.h:33
NH_RESULT(* nh_addLogCallback_f)(nh_logCallback_f logCallback_f)
Definition: Public.h:37
Definition: Public.h:108
int allocatedLengthPerChunk
Definition: Public.h:111
int elementSize
Definition: Public.h:110
nh_List Arrays
Definition: Public.h:109
Definition: Public.h:90
unsigned long length
Definition: Public.h:94
int allocatedLength
Definition: Public.h:93
int elementSize
Definition: Public.h:91
NH_BYTE * p
Definition: Public.h:95
int allocatedLengthPerChunk
Definition: Public.h:92
Definition: Public.h:135
int TODO
Definition: Public.h:136
Definition: Public.h:149
NH_CLIP y
Definition: Public.h:151
NH_CLIP x
Definition: Public.h:150
Definition: Public.h:154
NH_CLIP height
Definition: Public.h:156
NH_CLIP width
Definition: Public.h:155
Definition: Public.h:159
float r
Definition: Public.h:160
float b
Definition: Public.h:160
float a
Definition: Public.h:160
float g
Definition: Public.h:160
Definition: Public.h:117
nh_LinkedListItem * Head_p
Definition: Public.h:119
int count
Definition: Public.h:118
Definition: Public.h:101
void ** pp
Definition: Public.h:105
unsigned long size
Definition: Public.h:104
unsigned long chunkSize
Definition: Public.h:102
unsigned long chunkCount
Definition: Public.h:103
Definition: Public.h:139
NH_PIXEL y
Definition: Public.h:141
NH_PIXEL x
Definition: Public.h:140
Definition: Public.h:144
NH_PIXEL width
Definition: Public.h:145
NH_PIXEL height
Definition: Public.h:146
Definition: Public.h:122
int overflow
Definition: Public.h:124
int index
Definition: Public.h:123
Definition: Public.h:127
int itemByteSize
Definition: Public.h:129
nh_RingBufferMarker Marker
Definition: Public.h:128
int index
Definition: Public.h:130
void * data_p
Definition: Public.h:132
int itemCount
Definition: Public.h:129
int overflow
Definition: Public.h:131