- 28 Oct, 2002 1 commit
-
-
Niels Möller authored
functions. (sexp_get_raw_char): New function. (sexp_get_char): Use sexp_get_raw_char. Rev: src/nettle/examples/sexp-conv.c:1.9
-
- 26 Oct, 2002 1 commit
-
-
Niels Möller authored
leading zero. (main): Implemented -s option. Rev: src/nettle/examples/sexp-conv.c:1.8
-
- 25 Oct, 2002 3 commits
-
-
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 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 authored
error. (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
-
- 24 Oct, 2002 1 commit
-
-
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
-
- 23 Oct, 2002 1 commit
-
-
Niels Möller authored
properly. (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 comments. (sexp_put_char): Fixed off-by-one bug in assertion. (sexp_put_string): Fixed escape handling for output of quoted strings. (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 "[display-type]". Rev: src/nettle/examples/sexp-conv.c:1.3
-
- 22 Oct, 2002 1 commit
-
-
Niels Möller authored
(sexp_convert_item): New function. (main): New function. Compiles and runs now, but doesn't work. * examples/sexp-conv.c: Added output functions. Rev: src/nettle/examples/sexp-conv.c:1.2
-
- 21 Oct, 2002 1 commit
-
-
Niels Möller authored
Rev: src/nettle/examples/sexp-conv.c:1.1
-