diff options
| author | Greg Hudson <ghudson@mit.edu> | 2012-01-24 05:52:39 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2012-01-24 05:52:39 +0000 |
| commit | fde815444b60dffd16b2fcd14953c1f928991d59 (patch) | |
| tree | 69080f4d9e84c1d0ff7632b5fec8e5c38e2f2297 /src/plugins/locate/python/python.exports | |
| parent | 719263b39171c624c45ae54a511a4c64f216d7d4 (diff) | |
| download | krb5-fde815444b60dffd16b2fcd14953c1f928991d59.tar.gz krb5-fde815444b60dffd16b2fcd14953c1f928991d59.tar.xz krb5-fde815444b60dffd16b2fcd14953c1f928991d59.zip | |
Redesign ASN.1 encoder engine, removing field_info
Replace the "field" half of the ASN.1 encoder machinery with several
new struct atype_info types (offset, counted, and int_immediate) and a
new counted_type machinery used exclusively for object/integer pairs.
This change eliminates the two-way entanglement between atypes and
fields, and makes the encoder more independent of RFC 4120 ASN.1
conventions.
Defining sequences with the preprocessor macros is now slightly more
cumbersome; we need to define a type for each field and then string
them together with an array of struct atype_info *. But it's not so
bad, and hopefully we can auto-generate some of this soon.
*_optional functions now return a bitmask of sequence field offsets
not present in the C type. This will need some more attention before
we add decoding support to the engine, since it means sequence fields
no longer know whether they are optional or not.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25657 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/locate/python/python.exports')
0 files changed, 0 insertions, 0 deletions
