1. 12 Jan, 2003 7 commits
    • Niels Möller's avatar
      * tools/input.c, tools/input.h, tools/output.c, tools/output.h, · e563d808
      Niels Möller authored
      tools/parse.c, tools/parse.h, tools/misc.c, tools/misc.h: Moved
      parts ov sexp-conv.c to separate files
      
      Rev: src/nettle/tools/Makefile.am:1.3
      Rev: src/nettle/tools/input.c:1.1
      Rev: src/nettle/tools/input.h:1.1
      Rev: src/nettle/tools/misc.c:1.1
      Rev: src/nettle/tools/misc.h:1.1
      Rev: src/nettle/tools/output.c:1.1
      Rev: src/nettle/tools/output.h:1.1
      Rev: src/nettle/tools/parse.c:1.1
      Rev: src/nettle/tools/parse.h:1.1
      Rev: src/nettle/tools/sexp-conv.c:1.13
      e563d808
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_parse): Take a struct sexp_compound_token * · bd7386a1
      Niels Möller authored
      as argument. Updated all callers. Simplified handling of display types
      and transport encoding.
      
      Rev: src/nettle/tools/sexp-conv.c:1.12
      bd7386a1
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_input): Deleted string attribute. · a9495490
      Niels Möller authored
      Changed all related functions to take a struct nettle_buffer *
      argument instead.
      (struct sexp_compound_token): New struct.
      (sexp_compound_token_init, sexp_compound_token_clear): New
      functions.
      (struct sexp_parser): Added a struct sexp_compound_token
      attribute, as a temporary measure.
      
      Rev: src/nettle/tools/sexp-conv.c:1.11
      a9495490
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_parser): Renamed struct (was · b4476c72
      Niels Möller authored
      struct sexp_parse_state). Added input pointer. Updated users to
      not pass around both parser and input.
      (sexp_check_token): handle token == 0.
      (sexp_parse): Simplified a little by calling sexp_check_token
      unconditionally.
      
      * tools/sexp-conv.c (sexp_convert_string): Deleted function.
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.10
      b4476c72
    • Niels Möller's avatar
      (struct sexp_parser): Renamed struct (was struct · 0dcdec81
      Niels Möller authored
      sexp_parse_state). Added input pointer. Updated users to not pass
      around both parser and input.
      
      Rev: src/nettle/tools/sexp-conv.c:1.9
      0dcdec81
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_convert_string): Deleted function. · aed9c008
      Niels Möller authored
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.8
      aed9c008
    • Niels Möller's avatar
      (enum sexp_token): New constant SEXP_DISPLAY. · 4689295c
      Niels Möller authored
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.7
      4689295c
  2. 08 Jan, 2003 4 commits
  3. 07 Jan, 2003 1 commit
  4. 01 Jan, 2003 3 commits
  5. 30 Dec, 2002 5 commits
  6. 04 Dec, 2002 8 commits
  7. 22 Nov, 2002 1 commit
  8. 21 Nov, 2002 9 commits
  9. 15 Nov, 2002 2 commits