RZ

01: // Reconstitute.gateway.cc # the actual synthesize algorithm
02:
03: #include <sstream>
04:
05: #include "RZError.hh"
06: #include "Reconstitute.hh"
07:
08: int main(unsigned int argc, char **argv)
09: {
10:     // ######## gnu and library specific stuff ########
11:
12:     std::ios::sync_with_stdio(false);
13:     std::set_terminate(__gnu_cxx::__verbose_terminate_handler);
14:
15:     // ######## invocation Reconstitute.gateway RECONSFD ########
16:
17:     if (argc != 2)
18:         throw RZ::Error("Incorrect number of commandline arguments");
19:
20:     int reconsfd = 0;
21:     (std::istringstream(argv[1])) >> reconsfd;
22:
23:     //char *recons_mmap = RZ::setup_maps(reconsfd);
24:     RZ::reconstitute(reconsfd);
25:
26:     return 0;
27: }
28:         
29: // Reconstitute.gateway.cc # the actual synthesize algorithm