Cmd.xs

filter: Statementstmt 0.0% 0 / 13 Branchbran 0.0% 0 / 12 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 25 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/script/embpmsgid.pl ↑ Summary DOM.xs »
1 ###################################################################################
2 #
3 # Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de
4 # Embperl - Copyright (c) 2008-2015 Gerald Richter
5 # Embperl - Copyright (c) 2015-2023 actevy.io
6 #
7 # You may distribute under the terms of either the GNU General Public
8 # License or the Artistic License, as specified in the Perl README file.
9 # For use with Apache httpd and mod_perl, see also Apache copyright.
10 #
11 # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
12 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
13 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14 #
15 ###################################################################################
16  
17  
18  
19 MODULE = Embperl::Cmd PACKAGE = Embperl::Cmd PREFIX = embperl_
20  
21  
22 #void
23 #embperl_InputText (xDomTree, xNode, sName)
24 # int xDomTree
25 # int xOldChild
26 # char * sName
27 #CODE:
28
29  
30  
31 void
32 embperl_InputCheck (xDomTree, xNode, sName, sValue, bSetInSource)
33 int xDomTree
34 int xNode
35 SV * sName
36 SV * sValue
37 SV * bSetInSource
38 CODE:
39 STRLEN nName ;
40 STRLEN nValue ;
41 0 ▶ char * sN = SV2String (sName, nName) ;
Branch: 1 branch
BranchTrueFalseTotal
char * sN = SV2String (sName, nName) ; 0 0 0
42 0 ▶ char * sV = SV2String (sValue, nValue) ;
Branch: 1 branch
BranchTrueFalseTotal
char * sV = SV2String (sValue, nValue) ; 0 0 0
43 0 embperlCmd_InputCheck (CurrReq, DomTree_self (xDomTree), xNode, CurrReq -> Component.nCurrRepeatLevel, sN, nName, sV, nValue, SvOK (bSetInSource)?1:0) ;
44
45  
46 void
47 embperl_Option (xDomTree, xNode, sName, sValue, bSetInSource)
48 int xDomTree
49 int xNode
50 SV * sName
51 SV * sValue
52 SV * bSetInSource
53 CODE:
54 STRLEN nName ;
55 STRLEN nValue ;
56 0 ▶ char * sN = SV2String (sName, nName) ;
Branch: 1 branch
BranchTrueFalseTotal
char * sN = SV2String (sName, nName) ; 0 0 0
57 0 ▶ char * sV = SV2String (sValue, nValue) ;
Branch: 1 branch
BranchTrueFalseTotal
char * sV = SV2String (sValue, nValue) ; 0 0 0
58 0 embperlCmd_Option (CurrReq, DomTree_self (xDomTree), xNode, CurrReq -> Component.nCurrRepeatLevel, sN, nName, sV, nValue, SvOK (bSetInSource)?1:0) ;
59
60  
61 void
62 embperl_Hidden (xDomTree, xNode, sArg)
63 int xDomTree
64 int xNode
65 char * sArg
66 CODE:
67 0 embperlCmd_Hidden (CurrReq, DomTree_self (xDomTree), xNode, CurrReq -> Component.nCurrRepeatLevel, sArg) ;
68
69  
70 void
71 embperl_AddSessionIdToLink (xDomTree, xNode, nAddSess, ...)
72 int xDomTree
73 int xNode
74 int nAddSess
75 PREINIT:
76 int i ;
77 STRLEN l ;
78 CODE:
79 0 ▶ if (nAddSess == 2)
Branch: 1 branch
BranchTrueFalseTotal
if (nAddSess == 2) 0 0 0
80 {
81 0 embperlCmd_AddSessionIdToHidden (CurrReq, DomTree_self (xDomTree), xNode, CurrReq -> Component.nCurrRepeatLevel) ;
82 }
83 else
84 {
85 0 ▶ for (i = 3; i < items; i++)
Branch: 1 branch
BranchTrueFalseTotal
for (i = 3; i < items; i++) 0 0 0
86 {
87 0 embperlCmd_AddSessionIdToLink (CurrReq, DomTree_self (xDomTree), xNode, CurrReq -> Component.nCurrRepeatLevel, (char *)SvPV(ST(i), l)) ;
88 }
89 }
90  
91 void
92 embperl_SubStart (pDomTreeSV, xDomTree, pSaveAV)
93 SV * pDomTreeSV
94 int xDomTree
95 AV * pSaveAV
96 CODE:
97 0 embperl_ExecuteSubStart (CurrReq, pDomTreeSV, xDomTree, pSaveAV) ;
98  
99  
100 void
101 embperl_SubEnd (pDomTreeSV, pSaveAV)
102 SV * pDomTreeSV
103 AV * pSaveAV
104 CODE:
105 0 embperl_ExecuteSubEnd (CurrReq, pDomTreeSV, pSaveAV) ;
106  
« blib/script/embpmsgid.pl ↑ Summary DOM.xs »