R. J. Dev. Kwan eb05416991 Initial commit of "Rocket Workbench".
Taken from sources in CVS at:
    https://sourceforge.net/projects/rocketworkbench/

Sources extracted in two steps:
1. Pull entire project tree into a subdir "rwb" via "rsync":
    rsync -a a.cvs.sourceforge.net::cvsroot/rocketworkbench/ rwb/.
2. Export sources:
    export CVSROOT=$(pwd)/rwb
    SUBDIRS="analyser cpropep cpropep-web CVSROOT data libcompat libcpropep libnum libsimulation libthermo prop rocketworkbench rockflight"
    mkdir rwbx; cd rwbx
    cvs export -D now ${SUBDIRS}

After this (and some backups for safety), the directory content was
added to a Git repo:
    git init .
    git add *
2021-01-20 15:50:36 -08:00

57 lines
1.6 KiB
C

#ifndef load_h
#define load_h
/***************************************************************
FUNCTION: Load the propellant data contain in filename
PARAMETER: filename should be the path of the file containing
the information on propellant. It should be exactly
in the format of the file propellant.dat include
in the distribution.
COMMENTS: It load the information in the global variable
propellant_list[MAX_PROPELLANT] that is of type
propellant_t
AUTHOR: Antoine Lefebvre
modification bye Mark Pinese
****************************************************************/
int load_propellant(char *filename);
/***************************************************************
FUNCTION: Load the thermo data contain in filename
PARAMETER: filename should be the path of the file containing
the thermo information . It should be exactly
in the format of the file thermo.dat include
in the distribution.
COMMENTS: It load the information in the global variable
thermo_list[MAX_THERMO] that is of type
thermo_t
AUTHOR: Antoine Lefebvre
modification bye Mark Pinese
****************************************************************/
int load_thermo(char *filename);
/***************************************************************
Removes trailing ' ' in str. If str is all ' ', removes all
but the first.
str - pointer to a character array (not necessarily a string)
len - length of str.
AUTHOR: Mark Pinese
****************************************************************/
void trim_spaces(char *str, unsigned int len);
#endif