home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / CHIPCD_3_98.iso / software / testsoft / exchange / mtadata / rose.xv2 < prev    next >
Text File  |  1997-08-25  |  5KB  |  114 lines

  1. (* $Workfile:   rose.xv2  $ $Revision:   1.6  $ *)
  2. (* ROSE.TPL *)
  3. (*****************************************************************************)
  4. (* ASN.1 ROSE DATA-TYPE TEMPLATE                                             *)
  5. (*                                                                           *)
  6. (*    - ROSE APDU Definitions                                                *)
  7. (*                                                                           *)
  8. (* The ANY nodes should strictly be ANY DEFINED BY, but since operation ids  *)
  9. (* aren't unique across application contexts this would require a separate   *)
  10. (* ROSE template for each one. By making them ANY we leave the decision to   *)
  11. (* the collect/consult routines which will know which application context is *)
  12. (* in use.                                                                   *)
  13. (*                                                                           *)
  14. (*****************************************************************************)
  15.  
  16. (*****************************************************************************)
  17. (* REMOTE OPERATIONS APDU DEFINITIONS                                        *)
  18. (*****************************************************************************)
  19.  
  20. ROSEapdu                   LABEL     = rapdu
  21.                            STRUCTURE = CHOICE
  22.                            TAG       = (C 0 C)
  23.                            CHILDREN  = { <rroiv, C  1 C,O,0>,
  24.                                          <rrors, C  2 C,O,0>,
  25.                                          <rroer, C  3 C,O,0>,
  26.                                          <rrorj, C  4 C,O,0> }
  27.  
  28. ROIVapdu                   LABEL     = rroiv
  29.                            STRUCTURE = SEQUENCE
  30.                            CHILDREN  = { <rinid, U  2 P,M,0>,
  31.                                          <rlkid, C  0 P,O,0>,
  32.                                          <roper, U  0 P,M,0>,
  33.                                          <rargs, U  0 P,O,0> }
  34.  
  35. InvokeID                   LABEL     = rinid
  36.                            STRUCTURE = INTEGER
  37.  
  38. LinkedID                   LABEL     = rlkid
  39.                            STRUCTURE = INTEGER
  40.  
  41. Operation                  LABEL     = roper
  42.                            STRUCTURE = CHOICE
  43.                            CHILDREN  = { <Cintg, U  2 P,O,0>,
  44.                                          <Cobid, U  6 P,O,0> }
  45.  
  46. Arguments                  LABEL     = rargs
  47.                            STRUCTURE = ANY
  48.                            CHILDREN  = { }
  49.  
  50. RORSapdu                   LABEL     = rrors
  51.                            STRUCTURE = SEQUENCE
  52.                            CHILDREN  = { <rinid, U  2 P,M,0>,
  53.                                          <rrslt, U 16 C,O,0> }
  54.  
  55. ResultPair                 LABEL     = rrslt
  56.                            STRUCTURE = SEQUENCE
  57.                            CHILDREN  = { <roper, U  0 P,M,0>,
  58.                                          <rrlts, U  0 P,M,0> }
  59.  
  60. Results                    LABEL     = rrlts
  61.                            STRUCTURE = ANY
  62.                            CHILDREN  = { }
  63.  
  64. ROERapdu                   LABEL     = rroer
  65.                            STRUCTURE = SEQUENCE
  66.                            CHILDREN  = { <rinid, U  2 P,M,0>,
  67.                                          <rerrv, U  0 P,M,0>,
  68.                                          <rerrp, U  0 P,O,0> }
  69.  
  70. ErrorValue                 LABEL     = rerrv
  71.                            STRUCTURE = CHOICE
  72.                            CHILDREN  = { <rerri, U  2 P,O,0>,
  73.                                          <rerro, U  6 P,O,0> }
  74.  
  75. ErrorValueInteger          LABEL     = rerri
  76.                            STRUCTURE = INTEGER
  77.  
  78. ErrorValueObjectIdentifier LABEL     = rerro
  79.                            STRUCTURE = OBJECT IDENTIFIER
  80.  
  81. ErrorParameters            LABEL     = rerrp
  82.                            STRUCTURE = ANY
  83.                            CHILDREN  = { }
  84.  
  85. RORJapdu                   LABEL     = rrorj
  86.                            STRUCTURE = SEQUENCE
  87.                            CHILDREN  = { <rinrj, U  0 P,M,0>,
  88.                                          <rprob, U  0 P,M,0> }
  89.  
  90. RORJInvokeidChoice         LABEL     = rinrj
  91.                            STRUCTURE = CHOICE
  92.                            CHILDREN  = { <rinid, U  2 P,O,0>,
  93.                                          <Cnull, U  5 P,O,0> }
  94.  
  95. RORJProblemChoice          LABEL     = rprob
  96.                            STRUCTURE = CHOICE
  97.                            CHILDREN  = { <rgrlp, C  0 P,O,0>,
  98.                                          <rivkp, C  1 P,O,0>,
  99.                                          <rrrsp, C  2 P,O,0>,
  100.                                          <rrerp, C  3 P,O,0> }
  101.  
  102. GeneralProblem             LABEL     = rgrlp
  103.                            STRUCTURE = INTEGER
  104.  
  105. InvokeProblem              LABEL     = rivkp
  106.                            STRUCTURE = INTEGER
  107.  
  108. ReturnResultProblem        LABEL     = rrrsp
  109.                            STRUCTURE = INTEGER
  110.  
  111. ReturnErrorProblem         LABEL     = rrerp
  112.                            STRUCTURE = INTEGER
  113. !
  114.