Commit Graph

109 Commits

Author SHA1 Message Date
dcp1990
99436b6526 Move pipe() to init, clean up unused warnings 2005-06-13 03:41:50 +00:00
dcp1990
a0fd36072c Modem is now threaded properly, I think. 2005-06-13 03:40:36 +00:00
dcp1990
0f2ffadd48 Better threading 2005-06-13 03:40:27 +00:00
dcp1990
a1366f2b16 Add a TODO. 2005-06-13 01:29:57 +00:00
dcp1990
911429455c Check the modem_tm flag to timeout 2005-06-13 01:17:54 +00:00
dcp1990
e4d5da109e Even better: check a flag to see if we should timeout. 2005-06-13 01:17:46 +00:00
dcp1990
415f87a910 Completely threaded...and should be thread safe! 2005-06-13 01:13:48 +00:00
dcp1990
e78bcfbd3e Completely threaded.... 2005-06-13 01:13:41 +00:00
dcp1990
8a9be7bf1d Get rid of fugly debugging shite 2005-06-13 01:13:30 +00:00
dcp1990
a62b4ae3d3 Preliminary thread safety (nowhere NEAR complete; we have to move modem and network into a seperate thread from main)
Read: DON'T TRUST ANY OF THIS NOW
2005-06-12 23:05:12 +00:00
dcp1990
668c5b24a5 Thread safety: it can save lives. 2005-06-12 22:25:55 +00:00
dcp1990
2c45535d7c Check condition and if topcond == 0x0 2005-06-12 22:17:44 +00:00
dcp1990
31c8796a1c What the FUCK were we thinking? (ACTN under a flags construct?!) 2005-06-12 22:11:11 +00:00
dcp1990
fee619108b Filters should work now; just write the actual glue to do stuff 2005-06-12 22:01:23 +00:00
dcp1990
6f972aaf18 Add field for pcresize, since it changes (we use pcre_fullinfo to get it during copy_condition()) 2005-06-12 22:01:09 +00:00
dcp1990
d1245a33c0 Whaddya know, it wouldn't compile 2005-06-12 18:56:20 +00:00
dcp1990
ca44312d08 Lock it!!!!! 2005-06-12 18:53:52 +00:00
dcp1990
7395fd9f23 Free conditions 2005-06-12 18:51:06 +00:00
dcp1990
fc1f25abf7 Print action 2005-06-12 18:35:44 +00:00
dcp1990
09425bc41d It works now %b 2005-06-12 18:35:10 +00:00
dcp1990
a55f52c205 Use %b qualifier just like printf(9) 2005-06-12 17:03:35 +00:00
dcp1990
ca506e92e9 Filters 2005-06-12 16:30:53 +00:00
dcp1990
372b11ba1f Filters 2005-06-12 15:22:56 +00:00
dcp1990
b1a271edce We should add to variables 2005-06-12 15:22:32 +00:00
dcp1990
b8fba630d3 Add for pcre 2005-06-12 15:14:14 +00:00
dcp1990
258dca69df We can almost do conditional handling of calls (done at the CID stage) 2005-06-10 00:21:49 +00:00
dcp1990
3486eb7c94 Conditional stuff 2005-06-10 00:21:23 +00:00
dcp1990
e47ae0c416 Use pthread_exit() as per recommendation 2005-06-09 21:10:19 +00:00
dcp1990
8960d994ac New defaults 2005-06-05 18:29:11 +00:00
dcp1990
85b3943b73 Loglevels can be specified in the config file now 2005-06-05 18:28:24 +00:00
dcp1990
e438ef8a4c We weren't even checking! Shame on us! 2005-06-05 18:28:14 +00:00
dcp1990
20d3fa42c0 Rouge sscanf did some stuff...why? 2005-06-05 17:41:31 +00:00
dcp1990
2731bae89e Free it!!!111one 2005-06-05 17:41:14 +00:00
dcp1990
75190031be Test the parser 2005-06-05 17:41:00 +00:00
dcp1990
e9205fe7a9 off-by-one error 2005-06-05 17:15:36 +00:00
dcp1990
42df364346 If we forgot a newline, add it for us. 2005-06-05 17:12:36 +00:00
dcp1990
0db3693478 Test 2005-06-04 03:01:36 +00:00
dcp1990
2b447dbccb No more cnd 2005-06-04 03:01:31 +00:00
dcp1990
4bc53f296b Threaded before spinlocks on parser 2005-06-03 00:54:06 +00:00
dcp1990
8a1e77eae1 Code written; VERY preliminary.... 2005-06-03 00:22:11 +00:00
dcp1990
a762870fb3 Threads.... 2005-06-02 20:49:26 +00:00
dcp1990
6aaed38c04 Newlines, people! 2005-06-02 18:22:56 +00:00
dcp1990
775ee2723b New function definitions! 2005-06-02 03:02:41 +00:00
dcp1990
5570a601a9 Fix some daemon quirks 2005-06-02 03:02:33 +00:00
dcp1990
d70a9a130b Daemonise if so desired 2005-06-02 02:55:07 +00:00
dcp1990
c0883294ef Logging facilities for CID 2005-06-02 02:50:18 +00:00
dcp1990
4a98db21cd More warnings! 2005-06-02 02:45:35 +00:00
dcp1990
6be4adb4c1 Cleaned up some warnings. 2005-06-02 02:44:27 +00:00
dcp1990
c1064ddc10 Network notification added; TODO: logging of calls 2005-06-02 02:40:52 +00:00
dcp1990
ccc6a3c849 Extra error checking, and other stuff 2005-06-01 20:53:09 +00:00