Commit be34c83d authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: src/idea.c:1.3
Rev: src/io.h:1.62
Rev: src/list.h:1.9
Rev: src/md5.c:1.5
Rev: src/randomness.c:1.18
Rev: src/read_line.c:1.30
Rev: src/read_packet.c:1.48
Rev: src/server_pty.h:1.11
parent b5a0f795
......@@ -39,7 +39,7 @@
(name idea_instance)
(super crypto_instance)
(vars
(ctx array (simple UINT16) IDEA_KEYLEN)))
(ctx array UINT16 IDEA_KEYLEN)))
*/
static void do_idea_crypt(struct crypto_instance *s,
......
......@@ -87,7 +87,7 @@
(super resource)
(vars
(next object lsh_fd)
(fd simple int)
(fd . int)
;; (backend object io_backend)
;; (next_closed object lsh_fd)
......@@ -99,17 +99,17 @@
;; FIXME: Can the close handlers be replaced by exceptions?
; User's close callback
(close_reason simple int)
(close_reason . int)
(close_callback object close_callback)
; Called before poll
(prepare method void)
(want_read simple int)
(want_read . int)
; Called if poll indicates that data can be read.
(read object io_callback)
(want_write simple int)
(want_write . int)
; Called if poll indicates that data can be written.
(write object io_callback)
......
......@@ -38,7 +38,7 @@
(class
(name list_header)
(vars
(length simple unsigned)))
(length . unsigned)))
*/
/* FIXME: Should this be a list of unsigned ints? */
......@@ -63,12 +63,10 @@
#define LIST(x) ((x)->elements)
#define LIST_LENGTH(x) ((x)->super.length)
#if 0
#define LIST_LENGTH(x) (((struct list_header *) (x))->length)
#endif
struct list_header *lsh_list_alloc(struct lsh_class *class,
unsigned length, size_t element_size);
struct list_header *
lsh_list_alloc(struct lsh_class *class,
unsigned length, size_t element_size);
#define alloc_int_list(n) \
((struct int_list *) lsh_list_alloc(&CLASS(int_list), (n), sizeof(int)))
......
......@@ -35,7 +35,7 @@
(name md5_instance)
(super hash_instance)
(vars
(ctx simple "struct md5_ctx")))
(ctx . "struct md5_ctx")))
*/
static void
......
......@@ -55,7 +55,7 @@
(super randomness)
(vars
(hash object hash_instance)
(pos simple UINT32)
(pos . UINT32)
(buffer space UINT8)))
*/
......
......@@ -46,7 +46,7 @@
(e object exception_handler)
; Line buffer
(pos simple UINT32)
(pos . UINT32)
(buffer array UINT8 MAX_LINE)))
*/
......
......@@ -49,17 +49,17 @@
(name read_packet)
(super read_handler)
(vars
(state simple int)
(state . int)
; This is usually initialized from the command
; that created the fd.
;; (e object exception_handler)
; Attached to read packets
(sequence_number simple UINT32)
(sequence_number . UINT32)
; Buffer index, used for all the buffers
(pos simple UINT32)
(pos . UINT32)
; NOTE: This buffer should hold one block, and must be
; reallocated when the crypto algorithms is changed.
......@@ -73,7 +73,7 @@
; Position in the buffer after the first,
; already decrypted, block.
(crypt_pos simple "UINT8 *")
(crypt_pos . "UINT8 *")
(handler object abstract_write)
(connection object ssh_connection)))
......
......@@ -43,8 +43,8 @@
(name pty_info)
(super resource)
(vars
(master simple int)
(slave simple int)
(master . int)
(slave . int)
; Name of slave tty.
; Needed for SysV pty-handling (where opening the tty
; makes it the controlling terminal). Perhaps handy also for
......@@ -52,7 +52,7 @@
; This string should be NUL-terminated
(tty_name string)
; (tty_name array (simple char) MAX_TTY_NAME)
;; (saved_ios simple "struct termios")
;; (saved_ios . "struct termios")
));
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment