* Get pointer to authorized credentials, if there are no * authorized credentials, 0 is returned */
| 233 | * authorized credentials, 0 is returned |
| 234 | */ |
| 235 | int get_authorized_cred(struct hdr_field* _f, struct hdr_field** _h) |
| 236 | { |
| 237 | if (_f && _f->parsed) { |
| 238 | *_h = ((auth_body_t*)(_f->parsed))->authorized; |
| 239 | } else { |
| 240 | *_h = 0; |
| 241 | } |
| 242 | |
| 243 | return 0; |
| 244 | } |
no outgoing calls
no test coverage detected