Main Page   Modules   Data Structures   File List   Data Fields   Globals  

statistics.h

Go to the documentation of this file.
00001 /*
00002  * statistics.h
00003  * Created on 15 Feb 2005
00004  * Authors:
00005  *    Wesley Leggette <wleggette@kaylix.net>
00006  * 
00007  * 
00008  * 
00009  * libdarc
00010  * 
00011  * 
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025  * 
00026  * $Id: statistics_8h-source.html 708 2005-03-21 12:30:37Z leggwes $
00027  */
00028 
00034 #ifndef STATISTICS_H
00035 #define STATISTICS_H
00036 
00037 #include "translations.h"
00038 
00039 NAMESPACE_LIBDAR_START
00040 
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif
00045 
00063 typedef struct /* dar_statistics */
00064 {
00066     dar_infinint* treated;
00068     dar_infinint* hard_links;
00073     dar_infinint* skipped;
00075     dar_infinint* ignored;
00081     dar_infinint* target_changed;       /* rename of tooold */
00085     dar_infinint* error;                /* rename of errored */
00094     dar_infinint* deleted;
00096     dar_infinint* ea_treated;
00097     
00098     intptr_t   : __WORDSIZE;            /* reserved for future use */
00099     intptr_t   : __WORDSIZE;            /* reserved for future use */
00100     intptr_t   : __WORDSIZE;            /* reserved for future use */
00101     
00105     dar_infinint* total;                /* results of total() */
00106     
00107 
00108     
00109 } dar_statistics; /* assert sizeof() == (32) 48, (64) 96 */
00110 
00115 DLLIMPORT void dar_statistics_destroy( dar_statistics* ref );
00116  
00117  
00118  
00127 #ifdef __cplusplus
00128 }
00129 #endif
00130 
00131 NAMESPACE_LIBDAR_END
00132 
00133 
00134 #endif /* end of STATISTICS_H */