ekg2
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
perl
common
module.h
Idź do dokumentacji tego pliku.
1
#define NEED_PERL_H
2
#define HAVE_CONFIG_H
3
4
#undef VERSION
5
6
#ifndef __FreeBSD__
7
#define __EXTENSIONS__
8
#endif
9
10
#include <
ekg/scripts.h
>
11
12
#include <
ekg/debug.h
>
13
#include <
ekg/dynstuff.h
>
14
#include <
ekg/plugins.h
>
15
#include <
ekg/sessions.h
>
16
#include <
ekg/stuff.h
>
17
#include <
ekg/userlist.h
>
18
#include <
ekg/windows.h
>
19
#include <
ekg/xmalloc.h
>
20
#include <
ekg/vars.h
>
21
22
#undef _
23
#include "../perl_ekg.h"
24
25
#ifdef bool
26
#define HAS_BOOL
27
#endif
28
29
#include <EXTERN.h>
30
#include <perl.h>
31
#include <XSUB.h>
32
33
#include "../perl_bless.h"
34
35
#define ekg2_boot(x) { \
36
extern void boot_Ekg2__##x(pTHX_ CV *cv); \
37
ekg2_callXS(boot_Ekg2__##x, cv, mark); \
38
}
39
40
typedef
session_t
*
Ekg2__Session
;
41
typedef
variable_t
*
Ekg2__Variable
;
42
typedef
command_t
*
Ekg2__Command
;
43
typedef
window_t
*
Ekg2__Window
;
44
typedef
plugin_t
*
Ekg2__Plugin
;
45
typedef
watch_t
*
Ekg2__Watch
;
46
47
typedef
struct
timer
*
Ekg2__Timer
;
48
49
typedef
userlist_t
*
Ekg2__User
;
50
51
typedef
userlist_t
*
Ekg2__Userlist
;
52
53
typedef
session_param_t
*
Ekg2__Session__Param
;
54
typedef
script_t
*
Ekg2__Script
;
55
56
script_var_t
*
perl_variable_add
(
char
*var,
char
*value,
char
*handler);
57
void
*
perl_watch_add
(
int
fd,
int
type
,
void
*handler,
void
*
data
);
58
void
*
perl_handler_bind
(
char
*
query_name
,
char
*handler);
59
void
*
perl_command_bind
(
char
*
command
,
char
*
params
,
char
*poss,
char
*handler);
60
void
*
perl_plugin_register
(
char
*
name
,
int
type
,
void
*formatinit);
61
script_timer_t
*
perl_timer_bind
(
int
freq,
char
*handler);
62
int
perl_timer_unbind
(
script_timer_t
*stimer);
63
void
ekg2_callXS
(
void
(*subaddr)(pTHX_ CV* cv), CV *cv, SV **mark);
64
65
void
*
Ekg2_ref_object
(SV *o);
Wygenerowano N, 10 lut 2013 05:08:19 dla ekg2 programem
1.8.3.1