aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/asn.1/asn1_get.h
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2009-11-05 04:39:48 +0000
committerTom Yu <tlyu@mit.edu>2009-11-05 04:39:48 +0000
commitad66ebe05dba6709a090e70f4482b0fb499aad0a (patch)
tree5ed5ba7503c95e08c5b1ac5ecd1423bf703a85d1 /src/lib/krb5/asn.1/asn1_get.h
parent3a3b891e31384fe818c089b91412fda0226f023c (diff)
downloadkrb5-ad66ebe05dba6709a090e70f4482b0fb499aad0a.zip
krb5-ad66ebe05dba6709a090e70f4482b0fb499aad0a.tar.gz
krb5-ad66ebe05dba6709a090e70f4482b0fb499aad0a.tar.bz2
Reformat some block comments. Refine lib/krb5/asn.1 reindent
exclusion into individual file exclusions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23132 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_get.h')
-rw-r--r--src/lib/krb5/asn.1/asn1_get.h43
1 files changed, 26 insertions, 17 deletions
diff --git a/src/lib/krb5/asn.1/asn1_get.h b/src/lib/krb5/asn.1/asn1_get.h
index 2867649..056ee5a 100644
--- a/src/lib/krb5/asn.1/asn1_get.h
+++ b/src/lib/krb5/asn.1/asn1_get.h
@@ -35,10 +35,13 @@
#include "asn1buf.h"
typedef struct {
-#if 1 /* Smaller run-time storage, and on x86 the compiler can use
- byte loads, stores, and compares, but on other platforms the
- compiler may need to load and widen before comparing... see
- how this works out. */
+#if 1
+ /*
+ * Smaller run-time storage, and on x86 the compiler can use byte
+ * loads, stores, and compares, but on other platforms the compiler
+ * may need to load and widen before comparing... see how this works
+ * out.
+ */
unsigned int asn1class : 8, construction : 8;
#else
asn1_class asn1class;
@@ -63,21 +66,27 @@ asn1_error_code asn1_get_tag(asn1buf *buf,
asn1_construction *construction,
asn1_tagnum *tagnum,
unsigned int *retlen);
-/* requires *buf is allocated
- effects Decodes the tag in *buf. If class != NULL, returns
- the class in *Class. Similarly, the construction,
- tag number, and length are returned in *construction,
- *tagnum, and *retlen, respectively.
- If *buf is empty to begin with,
- *tagnum is set to ASN1_TAGNUM_CEILING.
- Returns ASN1_OVERRUN if *buf is exhausted during the parse. */
+/*
+ * requires *buf is allocated
+ * effects Decodes the tag in *buf. If class != NULL, returns
+ * the class in *Class. Similarly, the construction,
+ * tag number, and length are returned in *construction,
+ * *tagnum, and *retlen, respectively.
+ *
+ * If *buf is empty to begin with, *tagnum is set to
+ * ASN1_TAGNUM_CEILING.
+ *
+ * Returns ASN1_OVERRUN if *buf is exhausted during the
+ * parse.
+ */
#endif
asn1_error_code asn1_get_sequence(asn1buf *buf, unsigned int *retlen,
int *indef);
-/* requires *buf is allocated
- effects Decodes a tag from *buf and returns ASN1_BAD_ID if it
- doesn't have a sequence ID. If retlen != NULL, the
- associated length is returned in *retlen. */
-
+/*
+ * requires *buf is allocated
+ * effects Decodes a tag from *buf and returns ASN1_BAD_ID if it
+ * doesn't have a sequence ID. If retlen != NULL, the
+ * associated length is returned in *retlen.
+ */
#endif