Skip to content
Snippets Groups Projects
Commit cdd061e5 authored by an7s's avatar an7s
Browse files

Added configuration for cinderella

parent bce22f08
No related merge requests found
......@@ -3,6 +3,7 @@
/configure -text
/configure.in -text
/configure_for_cgc -text
/configure_for_cinderella -text
example/Makefile.in -text
example/callback.c -text
inferfn/Makefile.in -text
......
#!/bin/bash
# pickup the CGC syscalls
./configure_for_cgc --enable-inferfn
......@@ -29,7 +29,7 @@ static void clear_response(struct response *res)
static void send_response(const int fd, struct response *res)
{
write(fd, res, sizeof(struct response));
cgc_transmit(fd, res, sizeof(struct response));
}
static void send_error_response(const int fd)
......@@ -208,7 +208,7 @@ void commandLoop()
do {
clear_request(&req);
read(fdin, &req, sizeof(struct request));
cgc_receive(fdin, &req, sizeof(struct request));
done = handleCommand(fdout, &req, &res);
} while (!done);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment