Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
29 lines
880 B
C
29 lines
880 B
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"
|
|
|
|
/* AODT library function */
|
|
extern int aodtv64_textscreenoutput(char *);
|
|
|
|
int aodtv64_bulletinoutput(char *bulletin)
|
|
/* Subroutine to load final AODT intensity bulletin into a character string
|
|
for output within API
|
|
Inputs : none
|
|
Outputs: character string containing intensity estimate bulletin
|
|
Return : 0 : o.k.
|
|
*/
|
|
{
|
|
char *retstrng;
|
|
|
|
retstrng=(char *)calloc((size_t)5000,sizeof(char));
|
|
bulletin=(char *)calloc((size_t)5000,sizeof(char));
|
|
aodtv64_textscreenoutput(retstrng);
|
|
|
|
printf("aodtv64_bulletinoutput....output of aodtv64_textscreenoutput==%s\n", retstrng);
|
|
strcpy(bulletin,retstrng);
|
|
//bulletin[strlen(retstrng)]='\0';
|
|
free(retstrng);
|
|
|
|
return 0;
|
|
}
|