[sqlite] SQLite+ns2

2007-09-18 Thread nadiap
Hello! Currently i am working on my diploma thesis and i would really appreciate your help. I want to simulate a wireless network using ns2. I want each node to have a database. So i would like to ask you if i can combine ns2 with a database such as sqlite. Have you tried anything similar? Is

[sqlite] multiple databases

2007-09-19 Thread nadiap
Hello, i am a newbie and i would like to ask if it is possible to use sqlite in order to simulate a wireless network where each node will have each own database. I mean, can i attach each node to a database? What shall i do? I am sorry if my question seems naive, but i am just learning

[sqlite] RE: multiple databases

2007-09-19 Thread nadiap
Mr Samuel thank you very much for your reply. I am a little bit confused though.. I use network simulator 2 and what i am doing is to simulate a wireless network. I have to mention that the simulation is done on the same machine. Network simulator2 uses c++ interface, so i thought that i could

Re: [sqlite] multiple databases

2007-09-20 Thread nadiap
Hello again! I was really surprised and relieved to see that so many people replied to my question! I really thank you all! I would love to come to the conference but i am from Greece. I am going to explain in details what i am trying to do. I am indeed using the network simulator 2 in order to

Re: [sqlite] multiple databases

2007-09-20 Thread nadiap
Thanky Mr. Kees! This help a lot. This is the way i was thinking too. I have lot things to do though, i am still learning the sqlite! Thank you once again! -- View this message in context: http://www.nabble.com/multiple-databases-tf4480719.html#a12794210 Sent from the SQLite mailing list

[sqlite] how to successfully link sqlite3 ??

2007-09-27 Thread nadiap
Hello! I really need your help here. I am using linux openSUSE and i didn't have to download the sqlite since linux already has it. I found these files in the directory usr/lib: file:///usr/lib/libsqlite3.a file:///usr/lib/libsqlite3.la file:///usr/lib/libsqlite3.so

Re: [sqlite] how to successfully link sqlite3 ??

2007-09-27 Thread nadiap
Perhaps i must tell you that since ns2 works through Makefile.in i cannot statically link using -lsqlite3. Any changes in compilation are being done through Makefile.in . I simple enter : >make I don't know a lot about linux, so any help would be greatly appreciated! -- View this message in

[sqlite] call c++ class functions through sqlite3_create_function

2007-10-11 Thread nadiap
Hello to all! I really need some help here. I know that using the sqlie3_create_function we can call c function through sqlite. But here is my problem: sqlite3_create_function(mpDB,"DEPLOY",3,SQLITE_UTF8,NULL,_func,NULL,NULL); void MyClass::deploy_func(sqlite3_context* context,int