add boolan support

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12944 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-10-03 00:28:29 +00:00
parent 67522cdee3
commit 8b8bcb8c9b
11 changed files with 112 additions and 0 deletions

View File

@@ -270,6 +270,10 @@ define_asn1 (int level, Type *t)
fprintf (headerfile, "[APPLICATION %d] ", t->application);
define_asn1 (level, t->subtype);
break;
case TBoolean:
space(level);
fprintf (headerfile, "BOOLEAN");
break;
case TUTF8String:
space(level);
fprintf (headerfile, "UTF8String");
@@ -407,6 +411,10 @@ define_type (int level, char *name, Type *t, int typedefp)
space(level);
fprintf (headerfile, "heim_utf8_string %s;\n", name);
break;
case TBoolean:
space(level);
fprintf (headerfile, "int %s;\n", name);
break;
case TNull:
space(level);
fprintf (headerfile, "NULL %s;\n", name);