pack_search_reference_response.c

filter: Statementstmt 50.0% 5 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 50.0% 5 / 10 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« pack_raw.c ↑ Summary Gateway.xs »
1 #include "pack.h"
2 #include "util.h"
3  
4 void
5 0 pack_search_reference_response_args(SV *dest, SV **args, I32 n) {
6 0 STRLEN offset = start_constructed(dest, ASN1_APPLICATION|ASN1_CONSTRUCTED, LDAP_OP_SEARCH_REFERENCE_RESPONSE);
7 0 pack_array_of_string_utf8_v(dest, args, n);
8 0 end_constructed(dest, offset);
9 0 }
10  
11 void
12 1 pack_search_reference_response_ref(SV *dest, HV *hv) {
13 1 STRLEN offset = start_constructed(dest, ASN1_APPLICATION|ASN1_CONSTRUCTED, LDAP_OP_SEARCH_REFERENCE_RESPONSE);
14 1 pack_array_of_string_utf8(dest, hv_fetchs_def_undef(hv, "uris"));
15 1 end_constructed(dest, offset);
16 1 }
« pack_raw.c ↑ Summary Gateway.xs »