1. 28 Oct, 2002 1 commit
  2. 26 Oct, 2002 1 commit
  3. 25 Oct, 2002 3 commits
    • Niels Möller's avatar
      (struct sexp_output): Added coding attribute. · 1c8a7192
      Niels Möller authored
      (sexp_put_char): Use output->coding.
      (sexp_put_base64_start): Likewise.
      (sexp_put_base64_end): Likewise.
      Rev: src/nettle/examples/sexp-conv.c:1.7
    • Niels Möller's avatar
      (struct sexp_input): Deleted the mode from · 3a69f832
      Niels Möller authored
      the state, that should be passed as argument to relevant
      functions. Instead, introduces enum sexp_coding, to say if base64
      coding is in effect.
      Rev: src/nettle/examples/sexp-conv.c:1.6
    • Niels Möller's avatar
      (sexp_put_newline): Return void, die on · 6ef2256c
      Niels Möller authored
      (sexp_put_char, sexp_put_data, sexp_puts, sexp_put_length,
      sexp_put_base64_start, sexp_put_base64_end, sexp_put_string,
      sexp_put_list_start, sexp_put_list_end, sexp_put_display_start,
      sexp_put_display_end, sexp_convert_string, sexp_convert_list,
      sexp_skip_token): Likewise.
      (sexp_convert_item): Die on error.
      Rev: src/nettle/examples/sexp-conv.c:1.5
  4. 24 Oct, 2002 1 commit
    • Niels Möller's avatar
      (die): New function. · 4da2bc6a
      Niels Möller authored
      (struct sexp_input): Deleted field ITEM.
      (sexp_get_char): Die on failure, never return -1.
      (sexp_get_quoted_char): Likewise.
      (sexp_get_quoted_string): Die on failure, no returned value.
      (sexp_get_base64_string): Likewise.
      (sexp_get_token_string): Likewise.
      (sexp_get_string): Likewise.
      (sexp_get_string_length): Likewise.
      (sexp_get_token): Likewise.
      (sexp_convert_string): Adapted to sexp_get_token.
      (sexp_convert_list): Likewise.
      (sexp_convert_file): New function.
      (main): Use sexp_convert_file.
      Rev: src/nettle/examples/sexp-conv.c:1.4
  5. 23 Oct, 2002 1 commit
    • Niels Möller's avatar
      (sexp_input_init): Initialize input->string · 30dca9e6
      Niels Möller authored
      (sexp_get_char): Fixed non-transport case.
      (sexp_get_quoted_char): Fixed default case.
      (sexp_get_token): Loop over sexp_get_char (needed for handling of
      white space). Don't modify input->level. Fixed the code that skips
      (sexp_put_char): Fixed off-by-one bug in assertion.
      (sexp_put_string): Fixed escape handling for output of quoted
      (sexp_convert_list): Prettier output, hanging indent after the
      first list element.
      (sexp_skip_token): New function.
      (sexp_convert_item): Use sexp_skip_token to skip the end of a
      Rev: src/nettle/examples/sexp-conv.c:1.3
  6. 22 Oct, 2002 1 commit
  7. 21 Oct, 2002 1 commit