[Redbutton-devel] SF.net SVN: redbutton: [455] redbutton-author/trunk
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-10-29 16:44:53
|
Revision: 455
http://redbutton.svn.sourceforge.net/redbutton/?rev=455&view=rev
Author: skilvington
Date: 2007-10-29 09:44:42 -0700 (Mon, 29 Oct 2007)
Log Message:
-----------
add the prototype
Modified Paths:
--------------
redbutton-author/trunk/asn1tag.h
redbutton-author/trunk/asn1type.c
redbutton-author/trunk/asn1type.h
Modified: redbutton-author/trunk/asn1tag.h
===================================================================
--- redbutton-author/trunk/asn1tag.h 2007-10-29 16:42:31 UTC (rev 454)
+++ redbutton-author/trunk/asn1tag.h 2007-10-29 16:44:42 UTC (rev 455)
@@ -34,6 +34,7 @@
char *asn1class_name(unsigned int);
bool is_synthetic(unsigned int);
bool needs_tagging(unsigned int, unsigned int);
+unsigned int asn1tagclass(const char *);
/*
* a synthetic object created as a result of the grammar definition
Modified: redbutton-author/trunk/asn1type.c
===================================================================
--- redbutton-author/trunk/asn1type.c 2007-10-29 16:42:31 UTC (rev 454)
+++ redbutton-author/trunk/asn1type.c 2007-10-29 16:44:42 UTC (rev 455)
@@ -29,7 +29,7 @@
#define MATCH(NAME, TYPE) if(strcmp(name, #NAME) == 0) return ASN1TYPE_ ## TYPE;
enum asn1type
-asn1type(char *name)
+asn1type(const char *name)
{
MATCH(InterchangedObject, CHOICE)
MATCH(Group, SET) // MATCH(GroupClass, SET)
Modified: redbutton-author/trunk/asn1type.h
===================================================================
--- redbutton-author/trunk/asn1type.h 2007-10-29 16:42:31 UTC (rev 454)
+++ redbutton-author/trunk/asn1type.h 2007-10-29 16:44:42 UTC (rev 455)
@@ -32,6 +32,6 @@
ASN1TYPE_SEQUENCE
};
-enum asn1type asn1type(char *);
+enum asn1type asn1type(const char *);
#endif /* __ASN1TYPE_H__ */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|