1. 07 Nov, 2002 22 commits
  2. 03 Nov, 2002 2 commits
  3. 02 Nov, 2002 4 commits
  4. 01 Nov, 2002 5 commits
  5. 31 Oct, 2002 7 commits
    • Niels Möller's avatar
      *** empty log message *** · 46e6c7cc
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.139
      46e6c7cc
    • Niels Möller's avatar
      * examples/sexp-conv.c(sexp_put_list_start): Deleted function. · 869cd834
      Niels Möller authored
      (sexp_put_list_end): Likewise.
      (sexp_put_display_start): Likewise.
      (sexp_put_display_end): Likewise.
      (sexp_puts): Likewise.
      
      Rev: src/nettle/examples/sexp-conv.c:1.15
      869cd834
    • Niels Möller's avatar
      Some reorder of the functions. · 4b11c57a
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv.c:1.14
      4b11c57a
    • Niels Möller's avatar
      * examples/sexp-conv.c (sexp_get_quoted_string): Deleted function. · f1c70f33
      Niels Möller authored
      Merged with sexp_get_String.
      (sexp_get_hex_string): Likewise.
      (sexp_get_base64_string): Likewise.
      (sexp_get_string): Do hex and base64 decoding.
      
      Rev: src/nettle/examples/sexp-conv.c:1.13
      f1c70f33
    • Niels Möller's avatar
      Added test for transport mode input. · bfb06a36
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv-test:1.6
      bfb06a36
    • Niels Möller's avatar
      * examples/sexp-conv.c (enum sexp_char_type): New enum, for end · 21703d22
      Niels Möller authored
      markers in the input strem.
      (struct sexp_input): Deleted LEVEL attribute. Deleted all usage of
      it.
      (sexp_get_raw_char): Use INPUT->c and INPUT->ctype to store
      results. Deleted OUT argument.
      (sexp_get_char): Likewise. Also removed the
      INPUT->coding->decode_final call, for symmetry.
      (sexp_input_end_coding): Call INPUT->coding->decode_final.
      (sexp_next_char): New function.
      (sexp_push_char): New function.
      (sexp_get_token_char): Deleted function.
      (sexp_get_quoted_char): Simplified. Deleted output argument.
      (sexp_get_quoted_string): Simplified.
      (sexp_get_base64_string): Likewise.
      (sexp_get_token_string): Likewise.
      (sexp_get_string_length): Skip the character that terminates the
      string.
      (sexp_get_token): Cleared upp calling conventions. Always consume
      the final character of the token.
      (sexp_convert_list): Take responsibility for converting the start
      and end of the list.
      (sexp_convert_file): Call sexp_get_char first, to get the token
      reading started.
      (sexp_convert_item): Cleared up calling conventions. Should be
      called with INPUT->token being the first token of the expression,
      and returns with INPUT->token being the final token of the
      expression. Return value changed to void..
      
      Rev: src/nettle/examples/sexp-conv.c:1.12
      21703d22
    • Niels Möller's avatar
      (sexp_get_char): Use the nettle_armor · 648e5a29
      Niels Möller authored
      interface for decoding.
      (sexp_input_start_coding): New function.
      (sexp_input_end_coding): New function.
      (sexp_get_base64_string): Rewrote to use sexp_input_start_coding
      and sexp_input_end_coding.
      (sexp_get_token): Generate SEXP_TRANSPORT_START tokens.
      (sexp_convert_list): Lists are ended only by SEXP_LIST_END.
      (sexp_convert_item): Implemented transport mode, using
      sexp_input_start_coding and sexp_input_end_coding.
      
      Rev: src/nettle/examples/sexp-conv.c:1.11
      648e5a29