/***************************************************************************
                          control_information.c  -  description
                             -------------------
    begin                : vie ago 23 2002
    copyright            : (C) 2002 by deabru
    email                : deabru@nubbis.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>


#define Kiocont 5 /* pos of que control bit */
#define Kioname 14/* when init the file cuted name */
#define Kfile_name_size 256 /* max file name size */
#define Ktamnum 30 /* max number size */

char control_information ( char file_name[], char total_size[], char partial_size[])
{
/* for check information, we generate control bit :P sum size of arrays */

/*    char auxC;*/
    int i, j=0; ;
    i=0;
    while ( file_name[i] != '\0' )
    {
	j++;
	i++;
    }

    i=0;
    while ( total_size[i] != '\0' )
    {
	j++;
	i++;
    }

    i=0;
    while ( partial_size[i] != '\0' )
    {
	j++;
	i++;
    }

    return j+20;
}
