summaryrefslogtreecommitdiff
path: root/lib/ASN1.y
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-02-17 12:55:57 +0100
committerSimon Josefsson <simon@josefsson.org>2010-02-17 12:55:57 +0100
commit6de4d57f97dca0114ff0b57df031a7fa4ccb2842 (patch)
treecf1c6c2f13d2591f1bf0dc6b4587eeec0322a1f2 /lib/ASN1.y
parentf3e00e801f8066d61a42b6d9d5c981e8ec4bfd9e (diff)
downloadlibtasn1-6de4d57f97dca0114ff0b57df031a7fa4ccb2842.tar.gz
libtasn1-6de4d57f97dca0114ff0b57df031a7fa4ccb2842.tar.bz2
libtasn1-6de4d57f97dca0114ff0b57df031a7fa4ccb2842.zip
Improve GTK-DOC comments.
Diffstat (limited to 'lib/ASN1.y')
-rw-r--r--lib/ASN1.y116
1 files changed, 58 insertions, 58 deletions
diff --git a/lib/ASN1.y b/lib/ASN1.y
index 76afbb4..69339d4 100644
--- a/lib/ASN1.y
+++ b/lib/ASN1.y
@@ -559,34 +559,34 @@ _asn1_create_errorDescription(int error,char *errorDescription)
/**
- * asn1_parser2tree - function used to start the parse algorithm.
- * @file_name: specify the path and the name of file that contains
- * ASN.1 declarations.
- * @definitions: return the pointer to the structure created from
- * "file_name" ASN.1 declarations.
- * @errorDescription: return the error description or an empty
- * string if success.
- *
- * Creates the structures needed to manage the definitions included
- * in *FILE_NAME file.
- *
- * Returns:
- *
- * ASN1_SUCCESS: The file has a correct syntax and every identifier
- * is known.
- *
- * ASN1_ELEMENT_NOT_EMPTY: *POINTER not ASN1_TYPE_EMPTY.
- *
- * ASN1_FILE_NOT_FOUND: An error occured while opening FILE_NAME.
- *
- * ASN1_SYNTAX_ERROR: The syntax is not correct.
- *
- * ASN1_IDENTIFIER_NOT_FOUND: In the file there is an identifier that
- * is not defined.
- *
- * ASN1_NAME_TOO_LONG: In the file there is an identifier whith more
- * than ASN1_MAX_NAME_SIZE characters.
- **/
+ * asn1_parser2tree - function used to start the parse algorithm.
+ * @file_name: specify the path and the name of file that contains
+ * ASN.1 declarations.
+ * @definitions: return the pointer to the structure created from
+ * "file_name" ASN.1 declarations.
+ * @errorDescription: return the error description or an empty
+ * string if success.
+ *
+ * Creates the structures needed to manage the definitions included
+ * in *FILE_NAME file.
+ *
+ * Returns:
+ *
+ * %ASN1_SUCCESS: The file has a correct syntax and every identifier
+ * is known.
+ *
+ * %ASN1_ELEMENT_NOT_EMPTY: *POINTER not ASN1_TYPE_EMPTY.
+ *
+ * %ASN1_FILE_NOT_FOUND: An error occured while opening FILE_NAME.
+ *
+ * %ASN1_SYNTAX_ERROR: The syntax is not correct.
+ *
+ * %ASN1_IDENTIFIER_NOT_FOUND: In the file there is an identifier that
+ * is not defined.
+ *
+ * %ASN1_NAME_TOO_LONG: In the file there is an identifier whith more
+ * than ASN1_MAX_NAME_SIZE characters.
+ **/
asn1_retCode
asn1_parser2tree(const char *file_name, ASN1_TYPE *definitions,
char *errorDescription){
@@ -648,36 +648,36 @@ asn1_parser2tree(const char *file_name, ASN1_TYPE *definitions,
/**
- * asn1_parser2array - function that generates a C structure from an ASN1 file
- * @inputFileName: specify the path and the name of file that
- * contains ASN.1 declarations.
- * @outputFileName: specify the path and the name of file that will
- * contain the C vector definition.
- * @vectorName: specify the name of the C vector.
- * @errorDescription : return the error description or an empty
- * string if success.
- *
- * Creates a file containing a C vector to use to manage the
- * definitions included in *INPUTFILENAME file. If *INPUTFILENAME is
- * "/aa/bb/xx.yy" and OUTPUTFILENAME is NULL, the file created is
- * "/aa/bb/xx_asn1_tab.c". If VECTORNAME is NULL the vector name
- * will be "xx_asn1_tab".
- *
- * Returns:
- *
- * ASN1_SUCCESS: The file has a correct syntax and every identifier
- * is known.
- *
- * ASN1_FILE_NOT_FOUND: An error occured while opening FILE_NAME.
- *
- * ASN1_SYNTAX_ERROR: The syntax is not correct.
- *
- * ASN1_IDENTIFIER_NOT_FOUND: In the file there is an identifier that
- * is not defined.
- *
- * ASN1_NAME_TOO_LONG: In the file there is an identifier whith more
- * than ASN1_MAX_NAME_SIZE characters.
- **/
+ * asn1_parser2array - function that generates a C structure from an ASN1 file
+ * @inputFileName: specify the path and the name of file that
+ * contains ASN.1 declarations.
+ * @outputFileName: specify the path and the name of file that will
+ * contain the C vector definition.
+ * @vectorName: specify the name of the C vector.
+ * @errorDescription : return the error description or an empty
+ * string if success.
+ *
+ * Creates a file containing a C vector to use to manage the
+ * definitions included in *INPUTFILENAME file. If *INPUTFILENAME is
+ * "/aa/bb/xx.yy" and OUTPUTFILENAME is NULL, the file created is
+ * "/aa/bb/xx_asn1_tab.c". If VECTORNAME is NULL the vector name will
+ * be "xx_asn1_tab".
+ *
+ * Returns:
+ *
+ * %ASN1_SUCCESS: The file has a correct syntax and every identifier
+ * is known.
+ *
+ * %ASN1_FILE_NOT_FOUND: An error occured while opening FILE_NAME.
+ *
+ * %ASN1_SYNTAX_ERROR: The syntax is not correct.
+ *
+ * %ASN1_IDENTIFIER_NOT_FOUND: In the file there is an identifier that
+ * is not defined.
+ *
+ * %ASN1_NAME_TOO_LONG: In the file there is an identifier whith more
+ * than ASN1_MAX_NAME_SIZE characters.
+ **/
int asn1_parser2array(const char *inputFileName,const char *outputFileName,
const char *vectorName,char *errorDescription){
char *file_out_name=NULL;