Former-commit-id:9f19e3f712
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]] Former-commit-id:06a8b51d6d
Former-commit-id:3360eb6c5f
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/* include file containing all AODT library global variables */
|
|
#include "../inc/odtlib.h"
|
|
/* include file containing all AODT library variable definitions */
|
|
#include "../inc/odtlibdefs-x.h"
|
|
/* include file containing format statements for shared functions */
|
|
#include "../inc/odtlibfuncs.h"
|
|
|
|
char* aodtv64_historylistfmt2(struct odtdata *historyrec,int itype,char *srcID)
|
|
/* Subroutine to load AODT history file record listing into a character string
|
|
for output within API.
|
|
Passing in value of zero for historyrec will return listing column
|
|
header definitions.
|
|
Inputs : pointer to history structure entry
|
|
listing format type (original or ATCF format)
|
|
Outputs: intensity estimate listing for history structure entry
|
|
Return : 0 : o.k.
|
|
*/
|
|
{
|
|
char *retstrng;
|
|
|
|
retstrng=(char *)calloc((size_t)50000,sizeof(char));
|
|
aodtv64_listhistory(historyrec,itype,srcID,retstrng);
|
|
|
|
return retstrng;
|
|
//printf("NATIVE--aodtv64_historylistfmt....retstrng = %s\n",retstrng);
|
|
// strcpy(listing,retstrng);
|
|
//listing[strlen(retstrng)]='\0';
|
|
|
|
//free(retstrng);
|
|
//return 0;
|
|
}
|