libqb/lib
Angus Salkeld f54764e1ec IPC: make each connection ref the owning service
This is because the connection functions use the c->service pointer
and this needs to be mirrored in the reference counting.

The service can only be free'd when all connections are destroyed
and the user as unreferenced all previously referenced connections
and the service.

Fixes #62
Thanks to Jan Friesse for the reproducer
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2013-04-22 12:03:26 +10:00
..
.gitignore Cleanup the .gitignore files 2012-05-09 21:43:58 +10:00
array.c LOG: set the return code when calloc fails 2012-11-23 10:24:56 +11:00
hashtable.c Add the processing which remove notifier at skiplist_destroy function 2013-01-15 01:57:29 +09:00
hdb.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
ipc_int.h Use dgram sockets for message oriented communications 2013-02-18 20:51:33 +11:00
ipc_setup.c Properly discover SO_NOSIGPIPE and MSG_SIGNAL 2013-03-12 21:13:47 +11:00
ipc_shm.c Use dgram sockets for message oriented communications 2013-02-18 20:51:33 +11:00
ipc_socket.c IPC: fix call to QB_SUN_LEN 2013-03-12 20:45:47 +11:00
ipcc.c IPC: fix the connection state checking 2013-03-22 15:46:00 +09:00
ipcs.c IPC: make each connection ref the owning service 2013-04-22 12:03:26 +10:00
libqb.pc.in build: fix libqb.pc creation and make maintainer-clean 2012-08-27 15:07:36 +02:00
log_blackbox.c Deal better with corrupt blackbox files. 2013-04-02 13:52:57 +11:00
log_dcs.c LOG: copy the function/filename for dynamic callsites 2013-03-20 17:10:35 +11:00
log_file.c LOG: make it possible to fsync() on each file log. 2012-06-05 12:07:35 +10:00
log_format.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
log_int.h Make sure we don't use the format string whilst it is getting changed. 2012-12-10 10:32:31 +11:00
log_syslog.c Get coverity to ignore this warning. 2012-02-03 14:42:25 +11:00
log_thread.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
log.c Unify the list processing with qb_list function 2013-01-09 02:04:20 +09:00
loop_int.h LOOP: make it possible to pass in NULL as the default loop instance 2012-02-10 14:47:49 +11:00
loop_job.c Unify the list processing with qb_list function 2013-01-09 02:04:20 +09:00
loop_poll_epoll.c POLL: prevent a spin if the fd is not removed from the mainloop 2013-02-18 20:51:33 +11:00
loop_poll_int.h POLL: seperate out the poll/epoll and add kqueue 2012-04-04 00:26:20 +10:00
loop_poll_kqueue.c Some improvements to kqueue usage. 2012-08-31 13:32:11 +10:00
loop_poll_poll.c POLL: seperate out the poll/epoll and add kqueue 2012-04-04 00:26:20 +10:00
loop_poll.c Unify to QB_TRUE/QB_FALSE a boolean value 2013-01-11 02:01:06 +09:00
loop_timerlist.c TIMER: check for null timer handle 2012-03-09 12:17:03 +11:00
loop.c Unify the list processing with qb_list function 2013-01-09 02:04:20 +09:00
Makefile.am IPC: seperate ipc_us.c into 2 files 2013-02-06 11:21:05 +11:00
map_int.h PTRIE: refcount the notifier structs 2012-01-25 16:09:32 +11:00
map.c MAP: add a notifier purely to allow the user to free memory. 2011-12-14 00:26:01 +11:00
ringbuffer_helper.c RB: make the "sem" abstraction into a notifier 2013-02-18 23:25:10 +11:00
ringbuffer_int.h RB: make the "sem" abstraction into a notifier 2013-02-18 23:25:10 +11:00
ringbuffer.c Indicate when/why qb_rb_force_close() fails to remove share memory files 2013-04-11 13:00:12 +10:00
rpl_sem.c rpl_sem: make destroy more compliant 2013-02-19 12:40:06 +11:00
rpl_sem.h rpl_sem: make destroy more compliant 2013-02-19 12:40:06 +11:00
skiplist.c Add the processing which remove notifier at skiplist_destroy function 2013-01-15 01:57:29 +09:00
strchrnul.c Use safer versions of string functions (strcpy -> strlcpy) 2012-02-08 22:00:49 +11:00
strlcat.c Fix strlcpy and strlcat functions 2012-12-19 10:42:08 +11:00
strlcpy.c Fix strlcpy and strlcat functions 2012-12-19 10:42:08 +11:00
trie.c Unify the list processing with qb_list function 2013-01-09 02:04:20 +09:00
unix.c Properly discover SO_NOSIGPIPE and MSG_SIGNAL 2013-03-12 21:13:47 +11:00
util_int.h IPC: move utility functions to unix.c 2013-02-06 11:08:38 +11:00
util.c Remove HZ and use sysconf instead. 2012-05-09 21:38:38 +10:00