libqb/examples
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 MAP: add honza's example application. 2011-12-14 00:32:43 +11:00
ipcclient.c Remove uses of timersub and use qb_util_stopwatch 2012-08-28 22:05:09 +10:00
ipcserver.c IPC: make each connection ref the owning service 2013-04-22 12:03:26 +10:00
Makefile.am build: fix libqb.pc creation and make maintainer-clean 2012-08-27 15:07:36 +02:00
mapnotify.c Run ./Lindent in the examples directory 2012-04-26 21:41:44 +10:00
simplelog.c Example: make the blackbox example more practical. 2013-01-15 11:50:25 +11:00
tcpclient.c openbsd requires netinet/in.h before arpa/inet.h 2012-08-29 22:40:38 +10:00
tcpserver.c openbsd requires netinet/in.h before arpa/inet.h 2012-08-29 22:40:38 +10:00