Revision 277, 1.4 KB
(checked in by wrodgers, 15 years ago)
|
Updating SML functionality
|
Line | |
---|
1 | #include <cstdlib> |
---|
2 | #include <cstring> |
---|
3 | #include <stdint.h> |
---|
4 | #include <string> |
---|
5 | #include <stdlib.h> |
---|
6 | |
---|
7 | #include <arpa/inet.h> |
---|
8 | #include <iostream> |
---|
9 | #include <netinet/in.h> |
---|
10 | #include <netdb.h> |
---|
11 | #include <fcntl.h> |
---|
12 | #include <sys/ioctl.h> |
---|
13 | #include <sys/mman.h> |
---|
14 | #include <sys/socket.h> |
---|
15 | #include <sys/types.h> |
---|
16 | #include <sys/wait.h> |
---|
17 | |
---|
18 | #include "sqlite3.h" |
---|
19 | |
---|
20 | //#include "tinyxml.h" |
---|
21 | //#include "tinyxml.cpp" |
---|
22 | //#include "tinystr.h" |
---|
23 | |
---|
24 | #include "../vtcornet/vtcross/branches/wrodgers/src/include/vtcross/common.h" |
---|
25 | #include "../vtcornet/vtcross/branches/wrodgers/src/include/vtcross/components.h" |
---|
26 | #include "../vtcornet/vtcross/branches/wrodgers/src/include/vtcross/containers.h" |
---|
27 | #include "../vtcornet/vtcross/branches/wrodgers/src/include/vtcross/debug.h" |
---|
28 | #include "../vtcornet/vtcross/branches/wrodgers/src/include/vtcross/error.h" |
---|
29 | #include "../vtcornet/vtcross/branches/wrodgers/src/include/vtcross/socketcomm.h" |
---|
30 | |
---|
31 | //#include "../vtcornet/vtcross/branches/wrodgers/src/service_management_layer/ServiceManagementLayer.cpp" |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | /*#include <stdio.h> |
---|
36 | #include <sys/types.h> |
---|
37 | #include <sys/socket.h> |
---|
38 | #include <netinet/in.h> |
---|
39 | #include <netdb.h> |
---|
40 | //#include <iostream> |
---|
41 | #include <stdlib.h> |
---|
42 | #include <string.h> |
---|
43 | #include <sqlite3.h> |
---|
44 | #include <sqlite3ext.h>*/ |
---|
45 | |
---|
46 | //#include "common.h" |
---|
47 | |
---|
48 | //using namespace std; |
---|
49 | |
---|
50 | |
---|
51 | int main(int argc, char *argv[]) |
---|
52 | { |
---|
53 | //InitializeTCPServerPort(shell); |
---|
54 | ServiceManagementLayer SML("test_xml.xml", "127.0.0.1", "1971"); |
---|
55 | SML.StartSMLServer(); |
---|
56 | } |
---|