Commit 68a10552 authored by Niels Möller's avatar Niels Möller
Browse files

Markes as "soon obsolete". Just have to replace the functions in

spki_commands.c that use this first.

Rev: src/sexp_commands.c:1.22
Rev: src/sexp_commands.h:1.9
parent e5ec6bee
......@@ -33,6 +33,7 @@
#include <assert.h>
/* Forward declarations */
static struct catch_command catch_sexp_exceptions;
#define CATCH_SEXP (&catch_sexp_exceptions.super.super)
......@@ -40,12 +41,14 @@ static struct catch_command catch_sexp_exceptions;
static struct read_sexp_command read_sexp;
#define READ_SEXP (&read_sexp.super.super)
#define GABA_DEFINE
#include "sexp_commands.h.x"
#undef GABA_DEFINE
#include "sexp_commands.c.x"
/* (write out sexp)
*
* Prints the sexp to tha abstract_write OUT. Returns the sexp. */
......@@ -119,6 +122,7 @@ make_sexp_print_raw_hash(struct hash_algorithm *algorithm)
return make_command_3_invoke(&sexp_print_raw_hash,
&algorithm->super);
}
/* FIXME: Should be obsoleted; used by spki_commands.c */
/* GABA:
(class
......
......@@ -26,6 +26,8 @@
#ifndef SEXP_COMMANDS_H_INCLUDED
#define SEXP_COMMANDS_H_INCLUDED
#warning sexp_commands.h is soon to be obsolete
#include "abstract_crypto.h"
#include "abstract_io.h"
#include "command.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment