bareos: master 0b1e25da

Author Committer Branch Timestamp Parent
Marco van Wieringen Marco van Wieringen master 2013-12-09 16:13 master 73417509 Pending
Changeset Promote BSOCK to a proper class implementation.

First steps in abstracting network layer.

It would be nice to use other communication sockets then
only TCP ones as its done now. The whole socket abstraction needs
a major overhaul and some of the old bnet functions can be retired
now permanently and some functions are better written as methods
of the BSOCK class so we can write socket type specific implementations
of them.

This implements a BSOCK_TCP class which has the now used TCP sockets and
a dummy BSOCK_SCTP class which will eventually hold the SCTP sockets
and a dummy BSOCK_UDT class which will eventually hold the UDT sockets.
mod - src/console/console.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/msgchan.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/verify.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/heartbeat.c Diff File
mod - src/filed/sd_cmds.c Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/bnet.c Diff File
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
add - src/lib/bsock_sctp.c Diff File
add - src/lib/bsock_sctp.h Diff File
add - src/lib/bsock_tcp.c Diff File
add - src/lib/bsock_tcp.h Diff File
add - src/lib/bsock_udt.c Diff File
add - src/lib/bsock_udt.h Diff File
mod - src/lib/jcr.c Diff File
mod - src/lib/lib.h Diff File
mod - src/lib/protos.h Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/sd_cmds.c Diff File
mod - src/stored/stored.c Diff File