MSWSP: use GuidPropertySet_find_guid() in parse_CFullPropSpec()
[wireshark-wip.git] / asn1 / h450-ros / h450-ros.cnf
blob02bfe0303d60b0744c0ff6e61a9f13a56288e4c8
1 # $Id$
3 #.EXPORTS
5 ROS
7 #.OMIT_ASSIGNMENT
9 Priority
10 RejectProblem
12 #.TYPE_RENAME
14 Invoke/argument             InvokeArgument
15 ReturnResult/result/result  ResultArgument
17 #.FIELD_RENAME
19 Invoke/invokeId             invokeIdConstrained
21 Reject/problem/invoke       invokeProblem
22 Reject/problem/returnError  returnErrorProblem
23 Reject/problem/returnResult returnResultProblem
25 ReturnResult/result/result  resultArgument
27 #--- ROS ---
29 #.FN_HDR ROS
30   DISSECTOR_ASSERT(actx->rose_ctx);
31   rose_ctx_clean_data(actx->rose_ctx);
32 #.END
34 #--- Code ---
36 #.FN_PARS
37 Code         VAL_PTR = &%(ACTX)s->rose_ctx->d.code
38 Code/local   VAL_PTR = &%(ACTX)s->rose_ctx->d.code_local
39 Code/global  FN_VARIANT = _str  VAL_PTR = &%(ACTX)s->rose_ctx->d.code_global
40 #.FN_FTR Code
41   actx->rose_ctx->d.code_item = actx->created_item;
42 #.END
44 #--- Problem ---
46 #.FN_PARS
47 GeneralProblem       VAL_PTR = &problem_val
48 InvokeProblem        VAL_PTR = &problem_val
49 ReturnResultProblem  VAL_PTR = &problem_val
50 ReturnErrorProblem   VAL_PTR = &problem_val
51 #.FN_FTR GeneralProblem
52   g_strlcpy(problem_str, val_to_str(problem_val, VALS(h450_ros_GeneralProblem_vals), ""), 64);
53   problem_str[64-1] = '\0';
54 #.FN_FTR InvokeProblem
55   g_strlcpy(problem_str, val_to_str(problem_val, VALS(h450_ros_InvokeProblem_vals), ""), 64);
56   problem_str[64-1] = '\0';
57 #.FN_FTR ReturnResultProblem
58   g_strlcpy(problem_str, val_to_str(problem_val, VALS(h450_ros_ReturnResultProblem_vals), ""), 64);
59   problem_str[64-1] = '\0';
60 #.FN_FTR ReturnErrorProblem
61   g_strlcpy(problem_str, val_to_str(problem_val, VALS(h450_ros_ReturnErrorProblem_vals), ""), 64);
62   problem_str[64-1] = '\0';
63 #.END
65 #--- INVOKE ---
67 # body is implemented manually as asn2wrs is not able to handle subtype constraint event passed through parameter
68 #.FN_BODY Invoke/invokeId
69   offset = dissect_per_constrained_integer(%(TVB)s, %(OFFSET)s, %(ACTX)s, %(TREE)s, %(HF_INDEX)s,
70                                            0U, 65535U, %(VAL_PTR)s, TRUE);
71 #.END
73 #.FIELD_ATTR
74 Invoke/argument  TYPE = FT_BYTES  DISPLAY = BASE_NONE
76 #.FN_PARS Invoke/argument
77 FN_VARIANT = _pdu
78 TYPE_REF_FN = argument_cb
79 #.END
81 #.INCLUDE ../ros/ros-inv.cnf
83 #--- RETURN RESULT ---
85 #.FIELD_ATTR
86 ReturnResult/result/result  TYPE = FT_BYTES  DISPLAY = BASE_NONE
88 #.FN_PARS ReturnResult/result/result
89 FN_VARIANT = _pdu
90 TYPE_REF_FN = result_cb
92 #.END
94 #.INCLUDE ../ros/ros-res.cnf
96 #--- RETURN ERROR ---
98 #.FIELD_ATTR
99 ReturnError/parameter  TYPE = FT_BYTES  DISPLAY = BASE_NONE
101 #.FN_PARS ReturnError/parameter
102 FN_VARIANT = _pdu
103 TYPE_REF_FN = error_cb
104 #.END
106 #.INCLUDE ../ros/ros-err.cnf
108 #--- REJECT ---
110 #.INCLUDE ../ros/ros-rej.cnf