faubackup2/src/copier distributor.cpp,1.5,1.6 filereceiver.cpp,1.2,1.3 filesender.cpp,1.2,1.3 informationSender.cpp,1.3,1.4 local_sender.cpp,1.2,1.3

Martin Waitz <[email protected]> Tue, 14 Jun 2005 20:23:36 +0000
Newsgroups gmane.comp.sysutils.backup.faubackup.cvs
Message-ID <[email protected]>
Update of /cvsroot/faubackup/faubackup2/src/copier
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21140/src/copier

Modified Files:
	distributor.cpp filereceiver.cpp filesender.cpp 
	informationSender.cpp local_sender.cpp 
Log Message:
cleanup include files.

use #include "foo" for our own headers
use #include <bar> for system headers

the header declaring the api for the current file is included first
to make sure that the header file is self-contained

all other headers are sorted: <sys/> is first, then <netinet/>
and other subdirectory includes, then standard C and C++ headers.
internal headers come last.


Index: informationSender.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/informationSender.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** informationSender.cpp	8 Jun 2005 19:29:04 -0000	1.3
--- informationSender.cpp	14 Jun 2005 20:23:33 -0000	1.4
***************
*** 2,5 ****
--- 2,6 ----
  
  #include "copier/informationSender.hpp"
+ 
  #include "common/fileinfo.hpp"
  

Index: local_sender.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/local_sender.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** local_sender.cpp	8 Jun 2005 19:29:04 -0000	1.2
--- local_sender.cpp	14 Jun 2005 20:23:33 -0000	1.3
***************
*** 1,6 ****
  #include "support.h"
  
! #include <copier/local_sender.hpp>
! #include <common/system_calls.hpp>
  namespace faubackup
  {
--- 1,9 ----
  #include "support.h"
  
! #include "copier/local_sender.hpp"
! 
! #include "common/system_calls.hpp"
! 
! 
  namespace faubackup
  {

Index: filereceiver.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/filereceiver.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** filereceiver.cpp	8 Jun 2005 19:29:04 -0000	1.2
--- filereceiver.cpp	14 Jun 2005 20:23:33 -0000	1.3
***************
*** 1,8 ****
  #include "support.h"
  #include "copier/distributor.hpp"
! #include <copier/filereceiver.hpp>
! #include <filesystem/r_inodes.hpp>
! #include <common/system_calls.hpp>
! #include <rsync/rsync.hpp>
  
  
--- 1,10 ----
  #include "support.h"
+ 
+ #include "copier/filereceiver.hpp"
+ 
+ #include "common/system_calls.hpp"
  #include "copier/distributor.hpp"
! #include "filesystem/r_inodes.hpp"
! #include "rsync/rsync.hpp"
  
  

Index: filesender.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/filesender.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** filesender.cpp	8 Jun 2005 19:29:04 -0000	1.2
--- filesender.cpp	14 Jun 2005 20:23:33 -0000	1.3
***************
*** 1,9 ****
  #include "support.h"
  
! #include <copier/filesender.hpp>
  #include <fstream>
  #include "common/system_calls.hpp"
- #include "regexp/regexp.hpp"
  #include "copier/distributor.hpp"
  
  namespace faubackup
--- 1,11 ----
  #include "support.h"
  
! #include "copier/filesender.hpp"
! 
  #include <fstream>
+ 
  #include "common/system_calls.hpp"
  #include "copier/distributor.hpp"
+ #include "regexp/regexp.hpp"
  
  namespace faubackup

Index: distributor.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/copier/distributor.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** distributor.cpp	8 Jun 2005 19:29:04 -0000	1.5
--- distributor.cpp	14 Jun 2005 20:23:33 -0000	1.6
***************
*** 2,5 ****
--- 2,6 ----
  
  #include "copier/distributor.hpp"
+ 
  #include "rsync/rsync.hpp"
  #include "common/system_calls.hpp"



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click