line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = Git::Raw PACKAGE = Git::Raw::Cert |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
SV * |
4
|
|
|
|
|
|
|
type(self) |
5
|
|
|
|
|
|
|
Cert self |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
CODE: |
8
|
0
|
|
|
|
|
|
RETVAL = &PL_sv_undef; |
9
|
|
|
|
|
|
|
|
10
|
0
|
|
|
|
|
|
switch (self -> cert_type) { |
11
|
|
|
|
|
|
|
case GIT_CERT_NONE: |
12
|
0
|
|
|
|
|
|
RETVAL = newSVpv("none", 0); |
13
|
0
|
|
|
|
|
|
break; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
case GIT_CERT_X509: |
16
|
0
|
|
|
|
|
|
RETVAL = newSVpv("x509", 0); |
17
|
0
|
|
|
|
|
|
break; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
case GIT_CERT_HOSTKEY_LIBSSH2: |
20
|
0
|
|
|
|
|
|
RETVAL = newSVpv("hostkey", 0); |
21
|
0
|
|
|
|
|
|
break; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
case GIT_CERT_STRARRAY: |
24
|
0
|
|
|
|
|
|
RETVAL = newSVpv("strarray", 0); |
25
|
0
|
|
|
|
|
|
break; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
OUTPUT: RETVAL |