diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:37:09 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:37:09 +0000 |
commit | 0244a08b81acd7019986108975ff2b02507a773e (patch) | |
tree | 0c0b142f6873ee423eb544776b06beab33b02408 /src | |
parent | 592ecae1d9e6bdcdd1dd3c09ae3c5c6699524c5b (diff) | |
download | krb5-0244a08b81acd7019986108975ff2b02507a773e.zip krb5-0244a08b81acd7019986108975ff2b02507a773e.tar.gz krb5-0244a08b81acd7019986108975ff2b02507a773e.tar.bz2 |
Reformat asn1_make.h prototypes to avoid the problematic parens at
beginnings of lines.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23104 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/krb5/asn.1/asn1_make.h | 48 |
1 files changed, 18 insertions, 30 deletions
diff --git a/src/lib/krb5/asn.1/asn1_make.h b/src/lib/krb5/asn.1/asn1_make.h index c866572..4279fa7 100644 --- a/src/lib/krb5/asn.1/asn1_make.h +++ b/src/lib/krb5/asn.1/asn1_make.h @@ -47,12 +47,9 @@ asn1_make_string */ -asn1_error_code asn1_make_etag - (asn1buf *buf, - asn1_class asn1class, - asn1_tagnum tagnum, - unsigned int in_len, - unsigned int *retlen); +asn1_error_code asn1_make_etag(asn1buf *buf, asn1_class asn1class, + asn1_tagnum tagnum, unsigned int in_len, + unsigned int *retlen); /* requires *buf is allocated, in_len is the length of an ASN.1 encoding which has just been inserted in *buf modifies *buf, *retlen @@ -61,12 +58,10 @@ asn1_error_code asn1_make_etag Returns the length of this encoding in *retlen. Returns ENOMEM if memory runs out. */ -asn1_error_code asn1_make_tag - (asn1buf *buf, asn1_class asn1class, - asn1_construction construction, - asn1_tagnum tagnum, - unsigned int in_len, - unsigned int *retlen); +asn1_error_code asn1_make_tag(asn1buf *buf, asn1_class asn1class, + asn1_construction construction, + asn1_tagnum tagnum, unsigned int in_len, + unsigned int *retlen); /* requires *buf is allocated, in_len is the length of an ASN.1 encoding which has just been inserted in *buf modifies *buf, *retlen @@ -78,8 +73,8 @@ asn1_error_code asn1_make_tag Returns ASN1_OVERFLOW if tagnum exceeds the limits of the implementation. */ -asn1_error_code asn1_make_sequence - (asn1buf *buf, const unsigned int seq_len, unsigned int *len); +asn1_error_code asn1_make_sequence(asn1buf *buf, const unsigned int seq_len, + unsigned int *len); /* requires *buf is allocated, seq_len is the length of a series of sequence components which have just been inserted in *buf modifies *buf, *retlen @@ -87,9 +82,8 @@ asn1_error_code asn1_make_sequence in *buf. Returns the length of this encoding in *retlen. Returns ENOMEM if memory runs out. */ -asn1_error_code asn1_make_set - (asn1buf *buf, const unsigned int set_len, - unsigned int *retlen); +asn1_error_code asn1_make_set(asn1buf *buf, const unsigned int set_len, + unsigned int *retlen); /* requires *buf is allocated, seq_len is the length of a series of sequence components which have just been inserted in *buf modifies *buf, *retlen @@ -97,10 +91,8 @@ asn1_error_code asn1_make_set Returns the length of this encoding in *retlen. Returns ENOMEM if memory runs out. */ -asn1_error_code asn1_make_string - (asn1buf *buf, - const unsigned int len, const char *string, - int *retlen); +asn1_error_code asn1_make_string(asn1buf *buf, const unsigned int len, + const char *string, int *retlen); /* requires *buf is allocated, len is the length of *string effects Inserts the encoding of *string (a series of octets) in *buf. Returns the length of this encoding in *retlen. @@ -111,21 +103,17 @@ asn1_error_code asn1_make_string /* Private procedures */ /* "helper" procedure for asn1_make_tag */ -asn1_error_code asn1_make_length - (asn1buf *buf, const unsigned int in_len, - unsigned int *retlen); +asn1_error_code asn1_make_length(asn1buf *buf, const unsigned int in_len, + unsigned int *retlen); /* requires *buf is allocated, in_len is the length of an ASN.1 encoding which has just been inserted in *buf modifies *buf, *retlen effects inserts length octet(s) for in_len into *buf */ /* "helper" procedure for asn1_make_tag */ -asn1_error_code asn1_make_id - (asn1buf *buf, - asn1_class asn1class, - asn1_construction construction, - asn1_tagnum tagnum, - unsigned int *retlen); +asn1_error_code asn1_make_id(asn1buf *buf, asn1_class asn1class, + asn1_construction construction, + asn1_tagnum tagnum, unsigned int *retlen); /* requires *buf is allocated, asn1class and tagnum are appropriate for the ASN.1 encoding which has just been inserted in *buf modifies *buf, *retlen |