1. 22 Nov, 2004 5 commits
    • Niels Möller's avatar
      (do_lsh_lookup): Use a single A_WRITE to write the · 06b40f7e
      Niels Möller authored
      acl-entry to a file.
      (make_lsh_connect): New argument resource. Deleted kexinit
      argument (it's now part of handshake_info). Use the new protect
      command, to pass the resource to handshake, and destroy it on
      exceptions.
      (main_argp_parser): Updated for changes io_write_file.
      (main): Updated for changes to make_lsh_connect and
      make_handshake_info.
      
      Rev: src/lsh.c:1.200
      06b40f7e
    • Niels Möller's avatar
      * src/io.c (WITH_LIBOOP_SIGNAL_ADAPTER): Compile time choice of · 0b94ded0
      Niels Möller authored
      whether or not to use the liboop signal adapter.
      (io_init) [WITH_LIBOOP_SIGNAL_ADAPTER]: Create signal adapter.
      (io_final) [WITH_LIBOOP_SIGNAL_ADAPTER]: Destroy signal adapter.
      (make_lsh_fd): Files of both types IO_STDIO and IO_STDERR are
      shared. Bugfix: Don't reset type to zero.
      (write_only_file): New class.
      (do_write_only_file, make_io_write_file): New function.
      (io_write_file): Don't create a lsh_fd. Instead, use the simpler
      write_only_file, and return a struct abstract_write *. These files
      are never closed.
      (close_fd): Don't close files of type IO_STDERR. For files of type
      IO_STDIO, close them, and map the fd to /dev/null.
      
      * src/io.h (io_type): New enum constant IO_STDERR.
      
      Rev: src/io.c:1.214
      Rev: src/io.h:1.110
      0b94ded0
    • Niels Möller's avatar
      * src/handshake.c (make_handshake_info): New argument kexinit. · edd48b49
      Niels Möller authored
      (handshake_command): New first argument, a resource to be adopted
      by the connection. Deleted the kexinit argument, kexinit is now
      passed as an attribute of handshake_info.
      
      * src/handshake.h (handshake_info): New attribute kexinit.
      
      Rev: src/handshake.c:1.28
      Rev: src/handshake.h:1.9
      edd48b49
    • Niels Möller's avatar
      (gc_iterate_objects): New function (#if:ed out), for · fd48276a
      Niels Möller authored
      debugging purposes.
      
      Rev: src/gc.c:1.33
      Rev: src/gc.h:1.13
      fd48276a
    • Niels Möller's avatar
      * src/command.c (catch_collect_body): Deleted unused class. · b8af38e3
      Niels Möller authored
      (do_catch_collect_body, make_catch_collect_body, do_catch_simple):
      Deleted functions.
      (protect_handler): New class.
      (protect_command)): New command.
      
      * src/command.h (catch_command): Deleted unused class.
      
      Rev: src/command.c:1.50
      Rev: src/command.h:1.63
      b8af38e3
  2. 20 Nov, 2004 4 commits
  3. 19 Nov, 2004 11 commits
  4. 18 Nov, 2004 17 commits
  5. 17 Nov, 2004 3 commits