View | Details | Raw Unified | Return to bug 12225
Collapse All | Expand All

(-)a/C4/SIP/Sip/MsgType.pm (-9 / +8 lines)
Lines 66-78 my %handlers = ( Link Here
66
		    handler => \&handle_checkout,
66
		    handler => \&handle_checkout,
67
		    protocol => {
67
		    protocol => {
68
			1 => {
68
			1 => {
69
			    template => "CCA18A18",
69
			    template => 'A1A1A18A18',
70
			    template_len => 38,
70
			    template_len => 38,
71
			    fields => [(FID_INST_ID), (FID_PATRON_ID),
71
			    fields => [(FID_INST_ID), (FID_PATRON_ID),
72
				       (FID_ITEM_ID), (FID_TERMINAL_PWD)],
72
				       (FID_ITEM_ID), (FID_TERMINAL_PWD)],
73
			},
73
			},
74
			2 => {
74
			2 => {
75
			    template => "CCA18A18",
75
			    template => 'A1A1A18A18',
76
			    template_len => 38,
76
			    template_len => 38,
77
			    fields => [(FID_INST_ID), (FID_PATRON_ID),
77
			    fields => [(FID_INST_ID), (FID_PATRON_ID),
78
				       (FID_ITEM_ID), (FID_TERMINAL_PWD),
78
				       (FID_ITEM_ID), (FID_TERMINAL_PWD),
Lines 86-98 my %handlers = ( Link Here
86
		    handler => \&handle_checkin,
86
		    handler => \&handle_checkin,
87
		    protocol => {
87
		    protocol => {
88
			1 => {
88
			1 => {
89
			    template => "CA18A18",
89
			    template => 'A1A18A18',
90
			    template_len => 37,
90
			    template_len => 37,
91
			    fields => [(FID_CURRENT_LOCN), (FID_INST_ID),
91
			    fields => [(FID_CURRENT_LOCN), (FID_INST_ID),
92
				       (FID_ITEM_ID), (FID_TERMINAL_PWD)],
92
				       (FID_ITEM_ID), (FID_TERMINAL_PWD)],
93
			},
93
			},
94
			2 => {
94
			2 => {
95
			    template => "CA18A18",
95
			    template => 'A1A18A18',
96
			    template_len => 37,
96
			    template_len => 37,
97
			    fields => [(FID_CURRENT_LOCN), (FID_INST_ID),
97
			    fields => [(FID_CURRENT_LOCN), (FID_INST_ID),
98
				       (FID_ITEM_ID), (FID_TERMINAL_PWD),
98
				       (FID_ITEM_ID), (FID_TERMINAL_PWD),
Lines 105-111 my %handlers = ( Link Here
105
		    handler => \&handle_block_patron,
105
		    handler => \&handle_block_patron,
106
		    protocol => {
106
		    protocol => {
107
			1 => {
107
			1 => {
108
			    template => "CA18",
108
			    template => 'A1A18',
109
			    template_len => 19,
109
			    template_len => 19,
110
			    fields => [(FID_INST_ID), (FID_BLOCKED_CARD_MSG),
110
			    fields => [(FID_INST_ID), (FID_BLOCKED_CARD_MSG),
111
				       (FID_PATRON_ID), (FID_TERMINAL_PWD)],
111
				       (FID_PATRON_ID), (FID_TERMINAL_PWD)],
Lines 117-123 my %handlers = ( Link Here
117
		    handler => \&handle_sc_status,
117
		    handler => \&handle_sc_status,
118
		    protocol => {
118
		    protocol => {
119
			1 => {
119
			1 => {
120
			    template =>"CA3A4",
120
			    template =>'A1A3A4',
121
			    template_len => 8,
121
			    template_len => 8,
122
			    fields => [],
122
			    fields => [],
123
			}
123
			}
Lines 128-134 my %handlers = ( Link Here
128
		    handler => \&handle_request_acs_resend,
128
		    handler => \&handle_request_acs_resend,
129
		    protocol => {
129
		    protocol => {
130
			1 => {
130
			1 => {
131
			    template => "",
131
			    template => q{},
132
			    template_len => 0,
132
			    template_len => 0,
133
			    fields => [],
133
			    fields => [],
134
			}
134
			}
Lines 242-248 my %handlers = ( Link Here
242
		    handler => \&handle_renew,
242
		    handler => \&handle_renew,
243
		    protocol => {
243
		    protocol => {
244
			2 => {
244
			2 => {
245
			    template => "CCA18A18",
245
			    template => 'A1A1A18A18',
246
			    template_len => 38,
246
			    template_len => 38,
247
			    fields => [(FID_INST_ID), (FID_PATRON_ID),
247
			    fields => [(FID_INST_ID), (FID_PATRON_ID),
248
				       (FID_PATRON_PWD), (FID_ITEM_ID),
248
				       (FID_PATRON_PWD), (FID_ITEM_ID),
249
- 

Return to bug 12225