diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:50:54 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:50:54 +0000 |
commit | 4a47f566daa9e1e6a1946a027edc2d9d44b9bb7d (patch) | |
tree | d1fc32b00d0c8107039ae6ed612ac9d90a6a5dfb /src/lib/krb5/asn.1/asn1_decode.h | |
parent | 0244a08b81acd7019986108975ff2b02507a773e (diff) | |
download | krb5-4a47f566daa9e1e6a1946a027edc2d9d44b9bb7d.zip krb5-4a47f566daa9e1e6a1946a027edc2d9d44b9bb7d.tar.gz krb5-4a47f566daa9e1e6a1946a027edc2d9d44b9bb7d.tar.bz2 |
Reformat lib/krb5/asn.1 internal prototypes to avoid problematic parens
at beginnings of lines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23105 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_decode.h')
-rw-r--r-- | src/lib/krb5/asn.1/asn1_decode.h | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/src/lib/krb5/asn.1/asn1_decode.h b/src/lib/krb5/asn.1/asn1_decode.h index b90a369..016ba2d 100644 --- a/src/lib/krb5/asn.1/asn1_decode.h +++ b/src/lib/krb5/asn.1/asn1_decode.h @@ -60,37 +60,30 @@ Returns asn1 errors. */ -asn1_error_code asn1_decode_boolean - (asn1buf *buf, unsigned int *val); -asn1_error_code asn1_decode_integer - (asn1buf *buf, long *val); -asn1_error_code asn1_decode_unsigned_integer - (asn1buf *buf, unsigned long *val); -asn1_error_code asn1_decode_maybe_unsigned - (asn1buf *buf, unsigned long *val); -asn1_error_code asn1_decode_null - (asn1buf *buf); +asn1_error_code asn1_decode_boolean(asn1buf *buf, unsigned int *val); +asn1_error_code asn1_decode_integer(asn1buf *buf, long *val); +asn1_error_code asn1_decode_unsigned_integer(asn1buf *buf, unsigned long *val); +asn1_error_code asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val); +asn1_error_code asn1_decode_null(asn1buf *buf); -asn1_error_code asn1_decode_oid - (asn1buf *buf, unsigned int *retlen, asn1_octet **val); -asn1_error_code asn1_decode_octetstring - (asn1buf *buf, unsigned int *retlen, asn1_octet **val); -asn1_error_code asn1_decode_generalstring - (asn1buf *buf, unsigned int *retlen, char **val); -asn1_error_code asn1_decode_charstring - (asn1buf *buf, unsigned int *retlen, char **val); +asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen, + asn1_octet **val); +asn1_error_code asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, + asn1_octet **val); +asn1_error_code asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, + char **val); +asn1_error_code asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, + char **val); /* Note: A charstring is a special hack to account for the fact that krb5 structures store some OCTET STRING values in krb5_octet arrays and others in krb5_data structures (which use char arrays). From the ASN.1 point of view, the two string types are the same, only the receptacles differ. */ -asn1_error_code asn1_decode_printablestring - (asn1buf *buf, int *retlen, char **val); -asn1_error_code asn1_decode_ia5string - (asn1buf *buf, int *retlen, char **val); +asn1_error_code asn1_decode_printablestring(asn1buf *buf, int *retlen, + char **val); +asn1_error_code asn1_decode_ia5string(asn1buf *buf, int *retlen, char **val); -asn1_error_code asn1_decode_generaltime - (asn1buf *buf, time_t *val); +asn1_error_code asn1_decode_generaltime(asn1buf *buf, time_t *val); #endif |