Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F4820308
test-1.xreate
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 24, 6:59 AM
Size
969 B
Mime Type
text/plain
Expires
Wed, Aug 26, 6:59 AM (1 d, 3 h)
Engine
blob
Format
Raw Data
Handle
285746
Attached To
rXR Xreate
test-1.xreate
View Options
// UnitTest: tests/exploitation.cpp, Exploitation.Doc_ExampleEov_1
interface(extern-c){
externalLibs = library:: pkgconfig("libxml-2.0").
include {
externalLibs = {"scripts/virtualization/defs.h"}
}.
}
<insert ExampleEov_1_Specializations>
print = function(content:: Content):: int
{
switch variant(content):: int
case (errcode) {content["data"]}
case (message) {printf("%s", content["data"])}
}
sendResponse = function(header:: Content, body:: Content, footer:: Content):: int
{
seq
{print(header)}
{print(body)}
{print(footer)}
}
main = function:: int; entry
{
seq
{
header = send("Header"):: Content; eov_checkpoint(webpage, header).
header
}
{
body = send("Body"):: Content; eov_checkpoint(webpage, body).
body
}
{
footer = send("Footer"):: Content; eov_checkpoint(webpage, footer).
footer
}
{
sendResponse(header, body, footer)
}
}
Event Timeline
Log In to Comment