T.R | Title | User | Personal Name | Date | Lines |
---|
1474.1 | aes_get instance descriptor | TOOK::CALLANDER | Jill Callander DTN 226-5316 | Fri Sep 20 1991 09:54 | 10 |
|
null the a_link.
define the a_pointer, and maxstrlen
set the curlen to 0
As long as those are defined I have found no problems in calling the
get. Remember if you don't want a particular piece of information
(say the class) then simply pass in a null pointer for the argument.
|
1474.2 | | TOOK::SWIST | Jim Swist LKG2-2/T2 DTN 226-7102 | Fri Sep 20 1991 09:59 | 13 |
| Not quite right.
If using a static descriptor (DSC_K_CLASS_S), set the class, pointer,
and maxstrlen. MCC will set the idcode, datatype, and current length.
If using a dynamic descriptor (DSC_K_CLASS_D), set the class and zero
the pointer and maxstrlen. The buffer will get allocated for you and
both curlen and maxstrlen will be set to its size.
(You can make subsequent calls using the dynamic class without touching
anything - the buffer size will be adjusted in each case (if necessary)
to accomodate the length of the instance value).
|
1474.3 | dynamics in v1.2 | TOOK::CALLANDER | MCC = My Constant Companion | Wed Sep 25 1991 16:38 | 7 |
| V11 does not fully support dynamic descritpors.
If you are coding to V1.1 you want to allow for
dynamic descriptors, but not all routines will automatically
allocate the additional space. You will have to check for
insufbuf and allocate the additional memory yourself. In
v1.2 this is changing.
|
1474.4 | | TOOK::SWIST | Jim Swist LKG2-2/T2 DTN 226-7102 | Wed Sep 25 1991 17:52 | 3 |
| I was only refering to the operation of mcc_aes_get, and not to
descriptors in general.
|