NAME
ASN1STRINGnew, ASN1STRINGtypenew, ASN1STRINGfree - ASN1STRING
allocation functionsSYNOPSIS
ASN1STRING * ASN1STRINGnew(void); ASN1STRING * ASN1STRINGtypenew(int type); void ASN1STRINGfree(ASN1STRING *a);DESCRIPTION
ASN1STRINGnew() returns an allocated AASSNN11SSTTRRIINNGG structure. Its type is undefined. ASN1STRINGtypenew() returns an allocated AASSNN11SSTTRRIINNGG structure of type ttyyppee. ASN1STRINGfree() frees up aa. NNOOTTEESS Other string types call the AASSNN11SSTTRRIINNGG functions. For example ASN1OCTETSTRINGnew() calls ASN1STRINGtype(VASN1OCTETSTRING).RETURN VALUES
ASN1STRINGnew() and ASN1STRINGtypenew() return a valid ASN1STRING structure or NNUULLLL if an error occurred. ASN1STRINGfree() does not return a value.SEE ALSO
ERRgeterror(3) HISTORY TBA0.9.7l 2002-10-20 ASN1STRINGnew(3)