diff options
author | Ken Raeburn <raeburn@mit.edu> | 2008-09-09 21:23:35 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2008-09-09 21:23:35 +0000 |
commit | 85e5934bf52e96e6dad8bacd1bb70f3bd68ff890 (patch) | |
tree | cffc1bb619ff7c80cd952a6b0406b84af068ee0b /src/lib/krb5/asn.1/asn1_make.h | |
parent | 0a17118f906570bdd2366aad3a7346df42f3221d (diff) | |
download | krb5-85e5934bf52e96e6dad8bacd1bb70f3bd68ff890.zip krb5-85e5934bf52e96e6dad8bacd1bb70f3bd68ff890.tar.gz krb5-85e5934bf52e96e6dad8bacd1bb70f3bd68ff890.tar.bz2 |
Untabify; trim trailing whitespace; add emacs local variables to avoid tabs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20711 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_make.h')
-rw-r--r-- | src/lib/krb5/asn.1/asn1_make.h | 65 |
1 files changed, 33 insertions, 32 deletions
diff --git a/src/lib/krb5/asn.1/asn1_make.h b/src/lib/krb5/asn.1/asn1_make.h index de13d7b..c866572 100644 --- a/src/lib/krb5/asn.1/asn1_make.h +++ b/src/lib/krb5/asn.1/asn1_make.h @@ -1,6 +1,7 @@ +/* -*- mode: c; indent-tabs-mode: nil -*- */ /* * src/lib/krb5/asn.1/asn1_make.h - * + * * Copyright 1994 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -8,7 +9,7 @@ * require a specific license from the United States Government. * It is the responsibility of any person or organization contemplating * export to obtain such a license before exporting. - * + * * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and * distribute this software and its documentation for any purpose and * without fee is hereby granted, provided that the above copyright @@ -47,38 +48,38 @@ */ asn1_error_code asn1_make_etag - (asn1buf *buf, - asn1_class asn1class, - asn1_tagnum tagnum, - unsigned int in_len, - unsigned int *retlen); + (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 effects Inserts an explicit tag with class = asn1class, id# = tag length = in_len into *buf. - Returns the length of this encoding in *retlen. - Returns ENOMEM if memory runs out. */ + 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); + (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 effects Inserts the encoding of a tag with class = asn1class, primitive/constructed staus = construction, - id# = tag and length = in_len into *buf. - Returns the length of this encoding in *retlen. - Returns ENOMEM if memory runs out. - Returns ASN1_OVERFLOW if tagnum exceeds the limits of - the implementation. */ + id# = tag and length = in_len into *buf. + Returns the length of this encoding in *retlen. + Returns ENOMEM if memory runs out. + 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); + (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,8 +88,8 @@ asn1_error_code asn1_make_sequence Returns ENOMEM if memory runs out. */ asn1_error_code asn1_make_set - (asn1buf *buf, const unsigned int set_len, - unsigned int *retlen); + (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,9 +98,9 @@ asn1_error_code asn1_make_set Returns ENOMEM if memory runs out. */ asn1_error_code asn1_make_string - (asn1buf *buf, - const unsigned int len, const char *string, - int *retlen); + (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,8 +112,8 @@ asn1_error_code asn1_make_string /* "helper" procedure for asn1_make_tag */ asn1_error_code asn1_make_length - (asn1buf *buf, const unsigned int in_len, - unsigned int *retlen); + (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 @@ -120,11 +121,11 @@ asn1_error_code asn1_make_length /* "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); + (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 |