]> git.ipfire.org Git - thirdparty/bacula.git/commit
Refactoring of BSOCK and introducing BSOCKCORE.
authorRadosław Korzeniewski <radekk@inteos.pl>
Fri, 10 Aug 2018 10:34:05 +0000 (12:34 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 11 Aug 2018 19:20:32 +0000 (21:20 +0200)
commitc3c124adbe784a55bb31c66401630b2d22768baf
treef10db626e1ae28b2ab8ead3e3a466ac5c155e029
parentcdf3be91e85d2cd9a859a489054519cf1886d8e4
Refactoring of BSOCK and introducing BSOCKCORE.

A BSOCKCORE class was designed as a code split from previous BSOCK class
and as a base class for new BSOCK. The new BSOCK class should retain
virtually the same API as the old one. This was achieved (not)as a
simple class variables and methods split between two new classes. All
the methods and code which implement Bacula communication protocol goes
to the new BSOCK. This includes the following functionalities:
communication line compression, data spooling and authentication. All
the rest as a generic functions and methods goes to BSOCKCORE.
bacula/src/lib/Makefile.in
bacula/src/lib/bnet.c
bacula/src/lib/bsock.c
bacula/src/lib/bsock.h
bacula/src/lib/bsockcore.c [new file with mode: 0644]
bacula/src/lib/bsockcore.h [new file with mode: 0644]
bacula/src/lib/btimers.c
bacula/src/lib/lib.h
bacula/src/lib/protos.h
bacula/src/lib/tls.c