Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
82e3e297
Commit
82e3e297
authored
Sep 03, 1998
by
Niels Möller
Browse files
*** empty log message ***
Rev: src/abstract_io.h:1.6 Rev: src/crypto.h:1.2 Rev: src/io.h:1.6
parent
130a4154
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/abstract_io.h
View file @
82e3e297
...
...
@@ -42,7 +42,7 @@ typedef struct read_handler * (*read_handler_f)(struct read_handler *closure,
struct
read_handler
{
int
(
*
handler
)(
struct
read_handler
**
h
,
struct
abstract_read
*
read
);
struct
abstract_read
*
read
);
};
#define READ_HANDLER(h, read) ((h)->handler(&(h), (read)))
...
...
src/crypto.h
View file @
82e3e297
...
...
@@ -7,6 +7,6 @@
#include "abstract_crypto.h"
struct
crypto_instance
crypto_none_instance
;
extern
struct
crypto_instance
crypto_none_instance
;
#endif
src/io.h
View file @
82e3e297
...
...
@@ -28,14 +28,17 @@ struct io_fd
};
/* A closed function with a file descriptor as argument */
#if 0
struct fd_callback;
typedef int (*fd_callback_f)(struct fd_callback *closure, int fd);
#endif
struct
fd_callback
{
fd_callback_f
f
;
int
(
*
f
)(
struct
fd_callback
**
closure
,
int
fd
)
;
};
#define FD_CALLBACK(c, fd) ((c)->f(
c
, (fd)))
#define FD_CALLBACK(c, fd) ((c)->f(
&(c)
, (fd)))
struct
listen_fd
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment