Now all decode_* and encode_* functions now take a final size_t*

argument, that they return the size in. Return values are zero for
success, and anything else (such as some ASN1_* constant) for error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1951 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-07-01 23:52:30 +00:00
parent ae8c2b0909
commit 372881f5ef
14 changed files with 624 additions and 477 deletions

View File

@@ -276,12 +276,16 @@ generate_type (Symbol *s)
fprintf (codefile,
"/* Generated from %s */\n"
"/* Do not edit */\n\n"
"#include \"libasn1.h\"\n\n"
#if 0
"#include <stdio.h>\n"
"#include <stdlib.h>\n"
"#include <time.h>\n"
"#include <" STEM ".h>\n\n"
"#include <der.h>\n",
orig_filename);
"#include <asn1_err.h>\n"
"#include <der.h>\n"
#endif
,orig_filename);
generate_type_header (s);
generate_type_encode (s);
generate_type_decode (s);