[Redbutton-devel] SF.net SVN: redbutton: [376] redbutton-author/trunk
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-09-12 13:17:23
|
Revision: 376
http://redbutton.svn.sourceforge.net/redbutton/?rev=376&view=rev
Author: skilvington
Date: 2007-09-12 06:17:20 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
start to use the ASN1 tags
Modified Paths:
--------------
redbutton-author/trunk/asn1tag.h
redbutton-author/trunk/mhegc.c
redbutton-author/trunk/parser.h.header
Modified: redbutton-author/trunk/asn1tag.h
===================================================================
--- redbutton-author/trunk/asn1tag.h 2007-09-12 13:11:33 UTC (rev 375)
+++ redbutton-author/trunk/asn1tag.h 2007-09-12 13:17:20 UTC (rev 376)
@@ -25,7 +25,7 @@
#define ASN1TAG_RemoteProgram 10
#define ASN1TAG_InterchangedProgram 11
#define ASN1TAG_Palette 12
-#define ASN1TAG_Font 13
+#define ASN1TAG_FontClass 13
#define ASN1TAG_CursorShape 14
#define ASN1TAG_BooleanVariable 15
#define ASN1TAG_IntegerVariable 16
@@ -53,7 +53,7 @@
#define ASN1TAG_BackgroundColour 39
#define ASN1TAG_TextContentHook 40
#define ASN1TAG_TextColour 41
-#define ASN1TAG_Font 42
+#define ASN1TAG_FontBody 42
#define ASN1TAG_FontAttributes 43
#define ASN1TAG_InterchangedProgramContentHook 44
#define ASN1TAG_StreamContentHook 45
Modified: redbutton-author/trunk/mhegc.c
===================================================================
--- redbutton-author/trunk/mhegc.c 2007-09-12 13:11:33 UTC (rev 375)
+++ redbutton-author/trunk/mhegc.c 2007-09-12 13:17:20 UTC (rev 376)
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <strings.h>
#include "parser.h"
@@ -61,6 +62,8 @@
else if(optind != argc)
usage(prog_name);
+ bzero(&asn1obj, sizeof(struct node));
+ asn1obj.asn1tag = ASN1TAG_SYNTHETIC;
parse_InterchangedObject(&asn1obj);
if(next_token())
Modified: redbutton-author/trunk/parser.h.header
===================================================================
--- redbutton-author/trunk/parser.h.header 2007-09-12 13:11:33 UTC (rev 375)
+++ redbutton-author/trunk/parser.h.header 2007-09-12 13:17:20 UTC (rev 376)
@@ -4,6 +4,8 @@
#include <stdio.h>
#include <stdbool.h>
+#include "asn1tag.h"
+
/* the parser builds a tree of ASN1 types */
struct node
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|