Henrik Hautakoski
|
80ad7d0daa
|
log.c: added logstrtolvl
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
b6ab5c88a8
|
strbuf.c: added strbuf_explode
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
ce520fc35b
|
src/queue.c: minor stuff. uint16_t -> unsigned int and a NULL check.
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
463d432104
|
src/queue.c: use xalloc.
|
2011-01-13 15:36:59 +01:00 |
|
Henrik Hautakoski
|
2e2d6c7eee
|
use stdlib.h instead of malloc.h
|
2011-01-13 15:36:58 +01:00 |
|
Henrik Hautakoski
|
ae3ff5faae
|
strbuf.c: use memrchr in strbuf_rchop
|
2011-01-13 15:36:58 +01:00 |
|
Henrik Hautakoski
|
de032e9b33
|
compat: Added memrchr implementation
|
2011-01-13 15:36:58 +01:00 |
|
Henrik Hautakoski
|
5dd6f89946
|
xalloc.c: cleaning up and better error messages.
|
2010-11-24 21:50:02 +01:00 |
|
Henrik Hautakoski
|
3cdbc3aa57
|
archived.c: changed the usage string abit.
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
97bc6ef58f
|
archived.c: moved usage string to static variable (more readable)
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
34cd74bcbf
|
event.c: use xalloc instead of malloc.
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
a6cec1ce34
|
event.c: removed redundant sizeof()'s.
|
2010-12-22 14:51:29 +01:00 |
|
Henrik Hautakoski
|
ed8891000f
|
event.c: fix memory leak in notify_event_del.
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
18e9de6bc2
|
archived.c: setup signals as soon as possible
The setup of signals is done very late in the initialization process and therefor
not available if signals is cought during initialization.
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
f156e8906c
|
removed debug.h in favor for log.h
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
8ad0243c31
|
archived.c: added code for setting up log.
|
2010-12-22 14:51:28 +01:00 |
|
Henrik Hautakoski
|
f65dcaaf18
|
file.c: moved everything into path.c
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
c1963d1397
|
fscrawl.c: moved errno reset and don't call perror on EACCES.
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
63b4beb8b0
|
fscrawl.c: don't ignore DT_UNKNOWN.
issue with struct dirent->d_type set to DT_UNKNOWN on some filesystems.
this is solved by doing a call to 'is_dir' in those cases.
|
2010-12-22 14:51:27 +01:00 |
|
Henrik Hautakoski
|
fca8bba289
|
path.c: Added is_dir function
|
2010-12-22 14:51:26 +01:00 |
|
Henrik Hautakoski
|
dd0f1ae393
|
log.c: Added basic logging support.
|
2010-12-22 14:51:26 +01:00 |
|
Henrik Hautakoski
|
f06a528ad0
|
strbuf.c: Added strbuf_append_repeat function
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
0416fea36a
|
fscrawl.c: removed unused variable.
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
5d06e3c176
|
rbtree.h: small typo
|
2010-12-22 14:51:25 +01:00 |
|
Henrik Hautakoski
|
925972faa5
|
strbuf.c: make 'strbuf_rtrim' alittle more readable
|
2010-12-22 14:51:24 +01:00 |
|
Henrik Hautakoski
|
c558135c63
|
strbuf.c: move declarations that are not declared at the beginning of a scope block
|
2010-12-22 14:51:24 +01:00 |
|
Henrik Hautakoski
|
362b845030
|
inotify.c: always print notify_stat.
|
2010-12-22 14:51:24 +01:00 |
|
Henrik Hautakoski
|
fd6a122c04
|
archived.c: don't exit on SIGUSR.
the bug refered to in the source is not reproduceable anymore, for some reason.
|
2010-12-22 14:51:23 +01:00 |
|
Henrik Hautakoski
|
f752e03943
|
path.c: removed unneeded functions.
|
2010-11-14 09:46:34 +01:00 |
|
Henrik Hautakoski
|
5fd33c5115
|
inotify.c: some format cleanup
|
2010-11-11 16:07:48 +01:00 |
|
Henrik Hautakoski
|
4a2665004e
|
queue.c: remove queue_clear.
client code knows what objects is stored in the queue
and its only 3 lines to do a simple free() on the items.
|
2010-11-10 08:45:44 +01:00 |
|
Henrik Hautakoski
|
1f1e9f7764
|
inotify.c: more robust checking if we have instantiated properly.
|
2010-11-10 08:16:41 +01:00 |
|
Henrik Hautakoski
|
917666b012
|
inotify.c: cleaned up the structure.
|
2010-11-10 08:00:28 +01:00 |
|
Henrik Hautakoski
|
ef3355f600
|
lib/mongodb: removed, link to it instead.
mongo is being mongo, alot of developement with the design and buildsystem is required.
however, that should not take place here.
|
2010-11-09 16:50:54 +01:00 |
|
Henrik Hautakoski
|
39d4899c5a
|
rbtree: removed unneeded typedefs
|
2010-11-07 11:46:28 +01:00 |
|
Henrik Hautakoski
|
d00fa63900
|
rbtree: changeing design. now using callbacks
|
2010-11-07 09:18:29 +01:00 |
|
Henrik Hautakoski
|
731f19553a
|
rbtree: fixed some memory leaks.
|
2010-11-05 14:09:51 +01:00 |
|
Henrik Hautakoski
|
ff89dd2ded
|
updated header comments and guards
|
2010-11-03 08:35:58 +01:00 |
|
Henrik Hautakoski
|
a908cf92af
|
mongodb support
|
2010-10-28 09:34:34 +02:00 |
|
Henrik Hautakoski
|
97bdfd94f1
|
refactoring out mysql to database API
|
2010-10-27 10:41:29 +02:00 |
|
Henrik Hautakoski
|
d420a86372
|
minor fixes in xalloc and rbtree.
rbtree didn't include string.h
xalloc uses strdup that is not needed.
|
2010-10-24 13:54:40 +02:00 |
|
Henrik Hautakoski
|
16c1930e21
|
moving ini to lib directory.
|
2010-10-23 13:34:03 +02:00 |
|
Henrik Hautakoski
|
6ac76b1830
|
src/util.h: switched file_exists macro to function.
the macro returns true for directories aswell, using stat.h instead.
|
2010-10-23 11:11:08 +02:00 |
|
Henrik Hautakoski
|
2d247fd827
|
throwing away the client and let database functionality always be built.
The debug output used in client/stdout.c should coexist with the database. via __DEBUG__ macro.
|
2010-10-23 11:10:31 +02:00 |
|
Henrik Hautakoski
|
cfb5e85699
|
moving src/common to src/
|
2010-10-19 13:34:06 +02:00 |
|
Henrik Hautakoski
|
22d7238b36
|
moving src/notify to src/
|
2010-10-19 11:25:24 +02:00 |
|
Henrik Hautakoski
|
fe6b1e1363
|
client: can't catch SIGKILL.
|
2010-10-22 13:59:17 +02:00 |
|
Henrik Hautakoski
|
c0d47d945c
|
client/mysql.c: fixed compiler warning
|
2010-10-22 13:59:17 +02:00 |
|
Henrik Hautakoski
|
b6b355f6ce
|
notify: refactoring in inotify and minor fixes in event/fscrawl.
|
2010-10-22 13:59:17 +02:00 |
|
Henrik Hautakoski
|
03c830be75
|
common/strbuf.c: fixing up squeeze.
|
2010-10-22 13:59:17 +02:00 |
|