
/* TreeSize for Unix  http://treesize.sf.net/
 * Copyright (c) 2006-2007 Marcos Diez <marcos_AT_unitron.com.br>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 3 of the License, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 */

#include <stdio.h>
#include "FAfolderAnalyzer.h"

int main( int argc , char **argv ){
  char *destFolder = argc >1 ? argv[1] : ".";
  char absoluteDirName[MAX_DIR_NAME];

  FAgetFolderAbsoluteName( destFolder , absoluteDirName , 0 , 1 );
  printf("Folder: %s\n"  , absoluteDirName );

  FolderInfo     theFolder = FAanalyze( absoluteDirName );
  FIfree( theFolder );
}
 
