Dillo
v3.2.0-10-gc247d95a
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
f
g
i
k
m
n
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Enumerator
b
c
d
f
h
i
l
m
n
o
p
r
s
t
v
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
b
c
d
e
g
i
l
m
n
o
p
q
r
s
t
u
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
m
n
t
u
v
Enumerations
a
c
d
f
i
k
n
o
p
u
x
Enumerator
a
b
c
d
f
g
h
i
k
m
n
p
q
r
s
t
u
x
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
iowatch.cc
Go to the documentation of this file.
1
/*
2
* File: iowatch.cc
3
*
4
* Copyright (C) 2005-2007 Jorge Arellano Cid <jcid@dillo.org>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
10
*/
11
16
#include <FL/Fl.H>
17
#include "
iowatch.hh
"
18
22
void
a_IOwatch_add_fd
(
int
fd,
int
when, Fl_FD_Handler Callback,
23
void
*usr_data = 0)
24
{
25
if
(fd >= 0)
26
Fl::add_fd(fd, when, Callback, usr_data);
27
}
22
void
a_IOwatch_add_fd
(
int
fd,
int
when, Fl_FD_Handler Callback, {
…
}
28
32
void
a_IOwatch_remove_fd
(
int
fd,
int
when)
33
{
34
if
(fd >= 0)
35
Fl::remove_fd(fd, when);
36
}
32
void
a_IOwatch_remove_fd
(
int
fd,
int
when) {
…
}
37
a_IOwatch_add_fd
void a_IOwatch_add_fd(int fd, int when, Fl_FD_Handler Callback, void *usr_data=0)
Hook a Callback for a certain activities in a FD.
Definition
iowatch.cc:22
a_IOwatch_remove_fd
void a_IOwatch_remove_fd(int fd, int when)
Remove a Callback for a given FD (or just remove some events)
Definition
iowatch.cc:32
iowatch.hh
src
IO
iowatch.cc
Generated on Sun Mar 30 2025 01:42:34 for Dillo by
1.9.8