Browse code

structure name changed

Jan Janak authored on 26/03/2003 16:44:50
Showing 2 changed files
... ...
@@ -219,7 +219,7 @@ contact_t* get_next_contact(contact_t* _c)
219 219
  * 3) If the message contained no expires header field, use
220 220
  *    the default value
221 221
  */
222
-int calc_contact_expires(struct sip_msg* _m, cparam_t* _ep, int* _e)
222
+int calc_contact_expires(struct sip_msg* _m, param_t* _ep, int* _e)
223 223
 {
224 224
 	if (!_ep || (_ep->body.len == 0)) {
225 225
 		*_e = get_expires_hf(_m);
... ...
@@ -244,7 +244,7 @@ int calc_contact_expires(struct sip_msg* _m, cparam_t* _ep, int* _e)
244 244
  * 1) If q parameter exists, use it
245 245
  * 2) If the parameter doesn't exist, use default value
246 246
  */
247
-int calc_contact_q(cparam_t* _q, float* _r)
247
+int calc_contact_q(param_t* _q, float* _r)
248 248
 {
249 249
 	if (!_q || (_q->body.len == 0)) {
250 250
 		*_r = def_q;
... ...
@@ -72,7 +72,7 @@ contact_t* get_next_contact(contact_t* _c);
72 72
  * 3) If the message contained no expires header field, use
73 73
  *    the default value
74 74
  */
75
-int calc_contact_expires(struct sip_msg* _m, cparam_t* _ep, int* _e);
75
+int calc_contact_expires(struct sip_msg* _m, param_t* _ep, int* _e);
76 76
 
77 77
 
78 78
 /*
... ...
@@ -80,7 +80,7 @@ int calc_contact_expires(struct sip_msg* _m, cparam_t* _ep, int* _e);
80 80
  * 1) If q parameter exist, use it
81 81
  * 2) If the parameter doesn't exist, use default value
82 82
  */
83
-int calc_contact_q(cparam_t* _q, float* _r);
83
+int calc_contact_q(param_t* _q, float* _r);
84 84
 
85 85
 
86 86
 #endif /* SIP_MSG_H */