#include "qie.h"
#include "qie_local.h"
#include <dirent.h>
#include <sys/param.h>
#include <pwd.h>
Functions | |
int | QiLooksLikeVector (const char *name) |
int | QiAttrCmp (const char *str1, const char *str2InUpper) |
void | QiCheckCEFstructure (QiCDFContents *QiSCDF) |
long | QiGetVarByName (QiCDFContents *QiSCDF, const char *name) |
void | QiCEFvalidate (QiCDFContents *QiSCDF) |
long | QiInitGlobalContents (QiCDFContents *QiSCDF) |
long | QiReplaceGlobalTxtAttr (QiCDFContents *QiSCDF, const char *attr_name, const char *new_value) |
long * | QiFindGlobalAttr (QiCDFContents *QiSCDF, const char *attr_name, long *attr_num) |
long | QiCreateGlobalTxtAttr (QiCDFContents *QiSCDF, const char *attr_name, const char *new_value) |
size_t | CDFsizeof (long data_type, long n_elems) |
long | QiCopyGlobalEntry (QiGAttrEntry *newGentry, QiGAttrEntry *oldGentry, long copy) |
char * | QiCtoISO (char *time, char *iso_time) |
long | QiAppendGlobalAttr (QiGlobalAttribute *QiSContsAttr, long attr_num, QiGlobalAttribute *QiSInfoAttr) |
long | QiCreateGlobalAttr (QiCDFContents *QiSCDF, QiGlobalAttribute *QiSInfoAttr, long *n_attr) |
long | QiIsNewEntry (QiGlobalAttribute *QiSContsAttr, QiGAttrEntry *QiSEntry) |
long | QiAppendGlobalTxtAttr (QiCDFContents *QiSCDF, char *attr_name, const char *txt_entry) |
double | QiFindSampleSpacing (double *data, long num_recs, long iterate, double discard) |
char * | QiCDFDataType (long CDF_datatype) |
long | QiCountRecords (QiOptions *QiSOpt) |
QiCDFContents * | QiMakeCDFContentsObj () |
QiCDFVariable ** | QiMakeQiVariablePtrs (long n_vars) |
QiGlobalAttribute ** | QiMakeQiGAttrPtrs (long n_Gattrs) |
QiCDFVariable * | QiMakeQiVariable () |
QiVarAttribute * | QiMakeQiVAttr (long n_Vattrs) |
QiGlobalAttribute * | QiMakeQiGAttr () |
QiGAttrEntry * | QiMakeEntries (long n_entries) |
QiOptions * | QiMakeOptionsObj () |
QiRecord_format * | QiMakeFmtObj () |
QiCDFContents * | QiFreeCDFContentsObj (QiCDFContents *QiSCDF) |
QiRecord_format * | QiFreeFormatSpace (QiRecord_format *QiSfmt) |
QiOptions * | QiFreeOptionsObj (QiOptions *QiSOpt) |
char * | QiNewStr (const char *old_str) |
char * | QiEpochToISOString (double tsince0, char space) |
void | QiEpochBreakdown (cdf_epoch *epoch_ptr) |
void | QiEpochCompute (cdf_epoch *epoch_ptr) |
double | QiISOStringToEpoch (char *Time_str) |
long | QiDisplayMessage (const char *line, QiOptions *QiSOpt) |
long | QiEnsureHeader (QiCDFContents *QiSCDF, QiOptions *QiSOpt) |
long | QiEnsureFileName (QiCDFContents *QiSCDF, QiOptions *QiSOpt) |
int | QistrNULL (const char *string) |
long | QiWriteVarData (FILE *fp, QiCDFVariable **vardata, long n, long mm, long record, long call, QiOptions *QiSOpt, char delim) |
long | QiWriteVarDataNRV (FILE *fp, QiCDFVariable **vardata, long n, long mm, long record, long call, QiOptions *QiSOpt, char delim) |
long | QiWriteVarBlocked (FILE *fp, QiCDFVariable **vardata, long n, long nn, long mm, long record, QiOptions *QiSOpt, char delim) |
long | QiWriteDataValue (FILE *fp, QiCDFVariable **vardata, long n, long m, long mm, long record, QiOptions *QiSOpt) |
long | QiReadVarData (QiCDFVariable **vardata, long n, char *value, long n_items, QiOptions *QiSOpt) |
long | QiVarSafe (QiCDFContents *QiSCDF, long n) |
QiCDFContents * | QiMakeSafe (QiCDFContents *QiSCDF) |
long | QiPutDelim (FILE *fp, char delim) |
char | QiGetDelim (char *value) |
char * | QiFreeStr (char *str) |
char * | QiErrStr (int err_n) |
int | QiStrcpy (char *To, const char *From, int ToLen) |
int | QiStrcat (char *To, const char *From, int ToLen) |
int | QiIsDivisible (long m, long n, long *mdiv) |
long | QiCreateCDF (char *full_cdf_fname, QiOptions *QiSOpt) |
long | QiCloseFile (long check, char *path, char *file_stem, char *extn, FILE *fp) |
char * | QiFindHeader (char *dir_path, QiOptions *QiSOpt) |
char * | QiSafePath (char *path) |
char * | QiUserHomeDir (char *user_id) |
char * | QiStripQuotes (const char *value) |
int | QiVarExists (QiCDFContents *QiSCDF, const char *nameToFind) |
int | QiIsISOtime (const char *TestStrISO) |
int | QiIsNumber (const char *ptr) |
int | maxEntryLength (const char *value, const char delim) |
void | QiFixThemisEpoch (QiCDFContents *QiSCDF, long tnum) |
size_t CDFsizeof | ( | long | data_type, | |
long | n_elems | |||
) |
int maxEntryLength | ( | const char * | value, | |
const char | delim | |||
) |
long QiAppendGlobalAttr | ( | QiGlobalAttribute * | QiSContsAttr, | |
long | attr_num, | |||
QiGlobalAttribute * | QiSInfoAttr | |||
) |
long QiAppendGlobalTxtAttr | ( | QiCDFContents * | QiSCDF, | |
char * | attr_name, | |||
const char * | txt_entry | |||
) |
int QiAttrCmp | ( | const char * | str1, | |
const char * | str2InUpper | |||
) |
char* QiCDFDataType | ( | long | CDF_datatype | ) |
void QiCEFvalidate | ( | QiCDFContents * | QiSCDF | ) |
void QiCheckCEFstructure | ( | QiCDFContents * | QiSCDF | ) |
long QiCloseFile | ( | long | check, | |
char * | path, | |||
char * | file_stem, | |||
char * | extn, | |||
FILE * | fp | |||
) |
long QiCopyGlobalEntry | ( | QiGAttrEntry * | newGentry, | |
QiGAttrEntry * | oldGentry, | |||
long | copy | |||
) |
long QiCountRecords | ( | QiOptions * | QiSOpt | ) |
long QiCreateCDF | ( | char * | full_cdf_fname, | |
QiOptions * | QiSOpt | |||
) |
long QiCreateGlobalAttr | ( | QiCDFContents * | QiSCDF, | |
QiGlobalAttribute * | QiSInfoAttr, | |||
long * | n_attr | |||
) |
long QiCreateGlobalTxtAttr | ( | QiCDFContents * | QiSCDF, | |
const char * | attr_name, | |||
const char * | new_value | |||
) |
char* QiCtoISO | ( | char * | time, | |
char * | iso_time | |||
) |
long QiDisplayMessage | ( | const char * | line, | |
QiOptions * | QiSOpt | |||
) |
long QiEnsureFileName | ( | QiCDFContents * | QiSCDF, | |
QiOptions * | QiSOpt | |||
) |
long QiEnsureHeader | ( | QiCDFContents * | QiSCDF, | |
QiOptions * | QiSOpt | |||
) |
void QiEpochBreakdown | ( | cdf_epoch * | epoch_ptr | ) |
void QiEpochCompute | ( | cdf_epoch * | epoch_ptr | ) |
char* QiEpochToISOString | ( | double | tsince0, | |
char | space | |||
) |
char* QiErrStr | ( | int | err_n | ) |
long* QiFindGlobalAttr | ( | QiCDFContents * | QiSCDF, | |
const char * | attr_name, | |||
long * | attr_num | |||
) |
char* QiFindHeader | ( | char * | dir_path, | |
QiOptions * | QiSOpt | |||
) |
double QiFindSampleSpacing | ( | double * | data, | |
long | num_recs, | |||
long | iterate, | |||
double | discard | |||
) |
void QiFixThemisEpoch | ( | QiCDFContents * | QiSCDF, | |
long | tnum | |||
) |
QiCDFContents* QiFreeCDFContentsObj | ( | QiCDFContents * | QiSCDF | ) |
QiRecord_format* QiFreeFormatSpace | ( | QiRecord_format * | QiSfmt | ) |
char* QiFreeStr | ( | char * | str | ) |
char QiGetDelim | ( | char * | value | ) |
long QiGetVarByName | ( | QiCDFContents * | QiSCDF, | |
const char * | name | |||
) |
long QiInitGlobalContents | ( | QiCDFContents * | QiSCDF | ) |
int QiIsDivisible | ( | long | m, | |
long | n, | |||
long * | mdiv | |||
) |
int QiIsISOtime | ( | const char * | TestStrISO | ) |
long QiIsNewEntry | ( | QiGlobalAttribute * | QiSContsAttr, | |
QiGAttrEntry * | QiSEntry | |||
) |
int QiIsNumber | ( | const char * | ptr | ) |
double QiISOStringToEpoch | ( | char * | Time_str | ) |
int QiLooksLikeVector | ( | const char * | name | ) |
QiCDFContents* QiMakeCDFContentsObj | ( | ) |
QiGAttrEntry* QiMakeEntries | ( | long | n_entries | ) |
QiRecord_format* QiMakeFmtObj | ( | ) |
QiOptions* QiMakeOptionsObj | ( | ) |
QiGlobalAttribute* QiMakeQiGAttr | ( | ) |
QiGlobalAttribute** QiMakeQiGAttrPtrs | ( | long | n_Gattrs | ) |
QiCDFVariable* QiMakeQiVariable | ( | ) |
QiCDFVariable** QiMakeQiVariablePtrs | ( | long | n_vars | ) |
QiVarAttribute* QiMakeQiVAttr | ( | long | n_Vattrs | ) |
QiCDFContents* QiMakeSafe | ( | QiCDFContents * | QiSCDF | ) |
char* QiNewStr | ( | const char * | old_str | ) |
long QiPutDelim | ( | FILE * | fp, | |
char | delim | |||
) |
long QiReadVarData | ( | QiCDFVariable ** | vardata, | |
long | n, | |||
char * | value, | |||
long | n_items, | |||
QiOptions * | QiSOpt | |||
) |
long QiReplaceGlobalTxtAttr | ( | QiCDFContents * | QiSCDF, | |
const char * | attr_name, | |||
const char * | new_value | |||
) |
char* QiSafePath | ( | char * | path | ) |
int QiStrcat | ( | char * | To, | |
const char * | From, | |||
int | ToLen | |||
) |
int QiStrcpy | ( | char * | To, | |
const char * | From, | |||
int | ToLen | |||
) |
char* QiStripQuotes | ( | const char * | value | ) |
int QistrNULL | ( | const char * | string | ) |
char* QiUserHomeDir | ( | char * | user_id | ) |
int QiVarExists | ( | QiCDFContents * | QiSCDF, | |
const char * | nameToFind | |||
) |
long QiVarSafe | ( | QiCDFContents * | QiSCDF, | |
long | n | |||
) |
long QiWriteDataValue | ( | FILE * | fp, | |
QiCDFVariable ** | vardata, | |||
long | n, | |||
long | m, | |||
long | mm, | |||
long | record, | |||
QiOptions * | QiSOpt | |||
) |
long QiWriteVarBlocked | ( | FILE * | fp, | |
QiCDFVariable ** | vardata, | |||
long | n, | |||
long | nn, | |||
long | mm, | |||
long | record, | |||
QiOptions * | QiSOpt, | |||
char | delim | |||
) |
long QiWriteVarData | ( | FILE * | fp, | |
QiCDFVariable ** | vardata, | |||
long | n, | |||
long | mm, | |||
long | record, | |||
long | call, | |||
QiOptions * | QiSOpt, | |||
char | delim | |||
) |
long QiWriteVarDataNRV | ( | FILE * | fp, | |
QiCDFVariable ** | vardata, | |||
long | n, | |||
long | mm, | |||
long | record, | |||
long | call, | |||
QiOptions * | QiSOpt, | |||
char | delim | |||
) |