added type2any and any2type conversion routines


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@310 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/ANY.h b/skeletons/ANY.h
index 0f10e10..719b3a9 100644
--- a/skeletons/ANY.h
+++ b/skeletons/ANY.h
@@ -26,6 +26,13 @@
  * Handy conversion routines. *
  ******************************/
 
+/* Convert another ASN.1 type into the ANY. This implies DER encoding. */
+int ANY_fromType(ANY_t *, asn1_TYPE_descriptor_t *td, void *struct_ptr);
+ANY_t *ANY_new_fromType(asn1_TYPE_descriptor_t *td, void *struct_ptr);
+
+/* Convert the contents of the ANY type into the specified type. */
+int ANY_to_type(ANY_t *, asn1_TYPE_descriptor_t *td, void **struct_ptr);
+
 #define	ANY_fromBuf(s, buf, size)	OCTET_STRING_fromBuf((s), (buf), (size))
 #define	ANY_new_fromBuf(buf, size)	OCTET_STRING_new_fromBuf((buf), (size))