musrfit 1.10.0
mud.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <sys/types.h>
#include <stdint.h>
Include dependency graph for mud.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MUD_CORE
 
struct  _MUD_INDEX
 
struct  _SEEK_ENTRY
 
struct  BUF
 
struct  _MUD_SEC
 
struct  _MUD_SEC_UNKNOWN
 
struct  MUD_SEC_FIXED
 
struct  _MUD_SEC_GRP
 
struct  MUD_SEC_EOF
 
struct  MUD_SEC_CMT
 
struct  MUD_SEC_GEN_RUN_DESC
 
struct  MUD_SEC_GEN_HIST_HDR
 
struct  MUD_SEC_GEN_HIST_DAT
 
struct  MUD_SEC_GEN_ARRAY
 
struct  MUD_SEC_GEN_SCALER
 
struct  MUD_SEC_GEN_IND_VAR
 
struct  MUD_SEC_TRI_TI_RUN_DESC
 

Macros

#define MUD_LAB_ALL_ID   (0x01000000)
 
#define MUD_LAB_TRI_ID   (0x02000000)
 
#define MUD_LAB_RAL_ID   (0x03000000)
 
#define MUD_LAB_PSI_ID   (0x04000000)
 
#define MUD_FMT_ALL_ID   (MUD_LAB_ALL_ID|0x00010000)
 
#define MUD_FMT_GEN_ID   (MUD_LAB_ALL_ID|0x00020000)
 
#define MUD_FMT_TRI_TD_ID   (MUD_LAB_TRI_ID|0x00010000)
 
#define MUD_FMT_TRI_TI_ID   (MUD_LAB_TRI_ID|0x00020000)
 
#define MUD_SEC_ID   (MUD_FMT_ALL_ID|0x00000001)
 
#define MUD_SEC_FIXED_ID   (MUD_FMT_ALL_ID|0x00000002)
 
#define MUD_SEC_GRP_ID   (MUD_FMT_ALL_ID|0x00000003)
 
#define MUD_SEC_EOF_ID   (MUD_FMT_ALL_ID|0x00000004)
 
#define MUD_SEC_CMT_ID   (MUD_FMT_ALL_ID|0x00000005)
 
#define MUD_GRP_CMT_ID   MUD_SEC_CMT_ID
 
#define MUD_SEC_GEN_RUN_DESC_ID   (MUD_FMT_GEN_ID|0x00000001)
 
#define MUD_SEC_GEN_HIST_HDR_ID   (MUD_FMT_GEN_ID|0x00000002)
 
#define MUD_SEC_GEN_HIST_DAT_ID   (MUD_FMT_GEN_ID|0x00000003)
 
#define MUD_SEC_GEN_SCALER_ID   (MUD_FMT_GEN_ID|0x00000004)
 
#define MUD_SEC_GEN_IND_VAR_ID   (MUD_FMT_GEN_ID|0x00000005)
 
#define MUD_SEC_GEN_ARRAY_ID   (MUD_FMT_GEN_ID|0x00000007)
 
#define MUD_GRP_GEN_HIST_ID   (MUD_FMT_GEN_ID|0x00000002)
 
#define MUD_GRP_GEN_SCALER_ID   (MUD_FMT_GEN_ID|0x00000004)
 
#define MUD_GRP_GEN_IND_VAR_ID   (MUD_FMT_GEN_ID|0x00000005)
 
#define MUD_GRP_GEN_IND_VAR_ARR_ID   (MUD_FMT_GEN_ID|0x00000006)
 
#define MUD_SEC_TRI_TD_HIST_ID   (MUD_FMT_TRI_TD_ID|0x00000002)
 
#define MUD_GRP_TRI_TD_HIST_ID   (MUD_FMT_TRI_TD_ID|0x00000002)
 
#define MUD_GRP_TRI_TD_SCALER_ID   (MUD_FMT_TRI_TD_ID|0x00000004)
 
#define MUD_SEC_TRI_TI_RUN_DESC_ID   (MUD_FMT_TRI_TI_ID|0x00000001)
 
#define MUD_SEC_TRI_TI_HIST_ID   (MUD_FMT_TRI_TI_ID|0x00000002)
 
#define MUD_GRP_TRI_TI_HIST_ID   MUD_SEC_TRI_TI_HIST_ID
 
#define MUD_SEC_RAL_RUN_DESC_ID   (MUD_FMT_RAL_ID|0x00000001)
 
#define MUD_SEC_RAL_HIST_ID   (MUD_FMT_RAL_ID|0x00000002)
 
#define MUD_GRP_RAL_HIST_ID   MUD_SEC_RAL_HIST_ID
 
#define BOOL_DEFINED
 
#define FALSE   0
 
#define TRUE   1
 
#define NULL   0
 
#define SUCCESS   1
 
#define FAILURE   0
 
#define _success(s)
 
#define _failure(s)
 
#define _max(a, b)
 
#define _min(a, b)
 
#define _strlen(s)
 
#define _swap32(l)
 
#define _swap16(s)
 
#define _free(objp)
 
#define _roundUp(n, r)
 
#define zalloc(n)
 
#define MUD_pNext(pM)
 
#define MUD_sizeOf(pM)
 
#define MUD_size(pM)
 
#define MUD_secID(pM)
 
#define MUD_instanceID(pM)
 
#define MUD_BIG_ENDIAN   1
 
#define _swap2bytes(s)
 
#define _swap4bytes(l)
 
#define bdecode_obj(b, p, s)
 
#define bencode_obj(b, p, s)
 
#define bdecode_1(b, p)
 
#define bencode_1(b, p)
 
#define _decode_obj(b, p, s)
 
#define _encode_obj(b, p, s)
 
#define decode_2(b, p)
 
#define encode_2(b, p)
 
#define decode_4(b, p)
 
#define encode_4(b, p)
 
#define decode_8(b, p)
 
#define encode_8(b, p)
 
#define decode_packed(b, p, n)
 
#define encode_packed(b, p, n)
 
#define _buf_pos(b)
 
#define _buf_addr(b)
 
#define _set_buf_pos(b, pos)
 
#define _incr_buf_pos(b, incr)
 
#define _ANSI_ARGS_(x)
 
#define NO_STDARG
 

Typedefs

typedef int STATUS
 
typedef char INT8
 
typedef unsigned char UINT8
 
typedef short INT16
 
typedef unsigned short UINT16
 
typedef long INT32
 
typedef unsigned long UINT32
 
typedef float REAL32
 
typedef double REAL64
 
typedef UINT32 TIME
 
typedef UINT32 BOOL
 
typedef int(* MUD_PROC) (MUD_OPT, void *p1, void *p2)
 
typedef struct _MUD_INDEX MUD_INDEX
 
typedef struct _SEEK_ENTRY SEEK_ENTRY
 
typedef struct _MUD_SEC MUD_SEC
 
typedef struct _MUD_SEC_UNKNOWN MUD_SEC_UNKNOWN
 
typedef struct _MUD_SEC_GRP MUD_SEC_GRP
 
typedef UINT16 MUD_STR_LEN_TYPE
 
typedef UINT16 MUD_VAR_BIN_LEN_TYPE
 
typedef UINT8 MUD_VAR_BIN_SIZ_TYPE
 

Enumerations

enum  MUD_OPT {
  MUD_ENCODE = 0 , MUD_DECODE = 1 , MUD_FREE = 2 , MUD_GET_SIZE = 3 ,
  MUD_SHOW = 4 , MUD_HEADS = 5
}
 
enum  MUD_IO_OPT { MUD_ONE = 1 , MUD_ALL = 2 , MUD_GRP = 3 }
 

Functions

FILE *MUD_openInput _ANSI_ARGS_ ((char *inFile))
 
FILE *MUD_openOutput _ANSI_ARGS_ ((char *outFile))
 
void decode_str _ANSI_ARGS_ ((BUF *pB, char **ps))
 
void MUD_free _ANSI_ARGS_ ((void *pMUD))
 
BOOL MUD_encode _ANSI_ARGS_ ((BUF *pBuf, void *pMUD, MUD_IO_OPT io_opt))
 
void *MUD_decode _ANSI_ARGS_ ((BUF *pBuf))
 
void MUD_show _ANSI_ARGS_ ((void *pMUD, MUD_IO_OPT io_opt))
 
BOOL MUD_writeEnd _ANSI_ARGS_ ((FILE *fout))
 
BOOL MUD_writeFile _ANSI_ARGS_ ((FILE *fout, void *pMUD_head))
 
BOOL MUD_write _ANSI_ARGS_ ((FILE *fout, void *pMUD, MUD_IO_OPT io_opt))
 
BOOL MUD_writeGrpStart _ANSI_ARGS_ ((FILE *fout, MUD_SEC_GRP *pMUD_parentGrp, MUD_SEC_GRP *pMUD_grp, int numMems))
 
void addIndex _ANSI_ARGS_ ((MUD_SEC_GRP *pMUD_grp, void *pMUD))
 
BOOL MUD_writeGrpMem _ANSI_ARGS_ ((FILE *fout, MUD_SEC_GRP *pMUD_grp, void *pMUD))
 
BOOL MUD_writeGrpEnd _ANSI_ARGS_ ((FILE *fout, MUD_SEC_GRP *pMUD_grp))
 
void *MUD_readFile _ANSI_ARGS_ ((FILE *fin))
 
void *MUD_read _ANSI_ARGS_ ((FILE *fin, MUD_IO_OPT io_opt))
 
void *MUD_search _ANSI_ARGS_ ((void *pMUD_head,...))
 
int MUD_fseek _ANSI_ARGS_ ((FILE *fio,...))
 
MUD_SEC *fseekNext _ANSI_ARGS_ ((FILE *fio, MUD_SEC_GRP *pMUD_parent, UINT32 secID, UINT32 instanceID))
 
int MUD_fseekFirst _ANSI_ARGS_ ((FILE *fio))
 
void MUD_add _ANSI_ARGS_ ((void **ppMUD_head, void *pMUD_new))
 
void MUD_assignCore _ANSI_ARGS_ ((MUD_SEC *pMUD1, MUD_SEC *pMUD2))
 
int MUD_CORE_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC *pMUD))
 
int MUD_INDEX_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_INDEX *pMUD))
 
void bdecode_2 _ANSI_ARGS_ ((void *b, void *p))
 
void bencode_float _ANSI_ARGS_ ((char *buf, float *fp))
 
void encode_float _ANSI_ARGS_ ((BUF *pBuf, float *fp))
 
void bencode_double _ANSI_ARGS_ ((char *buf, double *dp))
 
void encode_double _ANSI_ARGS_ ((BUF *pBuf, double *fp))
 
MUD_SEC *MUD_new _ANSI_ARGS_ ((UINT32 secID, UINT32 instanceID))
 
int MUD_SEC_EOF_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_EOF *pMUD))
 
int MUD_SEC_FIXED_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_FIXED *pMUD))
 
int MUD_SEC_GRP_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GRP *pMUD))
 
int MUD_SEC_CMT_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_CMT *pMUD))
 
int MUD_SEC_UNKNOWN_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_UNKNOWN *pMUD))
 
int MUD_SEC_GEN_RUN_DESC_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_RUN_DESC *pMUD))
 
int MUD_SEC_GEN_HIST_HDR_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_HIST_HDR *pMUD))
 
int MUD_SEC_GEN_HIST_DAT_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_HIST_DAT *pMUD))
 
int MUD_SEC_GEN_SCALER_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_SCALER *pMUD))
 
int MUD_SEC_GEN_IND_VAR_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_IND_VAR *pMUD))
 
int MUD_SEC_GEN_ARRAY_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_ARRAY *pMUD))
 
int MUD_SEC_GEN_HIST_pack _ANSI_ARGS_ ((int num, int inBinSize, void *inHist, int outBinSize, void *outHist))
 
int MUD_SEC_TRI_TI_RUN_DESC_proc _ANSI_ARGS_ ((MUD_OPT op, BUF *pBuf, MUD_SEC_TRI_TI_RUN_DESC *pMUD))
 
void GMF_MKTIME _ANSI_ARGS_ ((TIME *out, INT32 *input))
 
void GMF_TIME _ANSI_ARGS_ ((TIME *out))
 
void GMF_LOCALTIME _ANSI_ARGS_ ((TIME *in, INT32 *out))
 
int MUD_openRead _ANSI_ARGS_ ((char *filename, UINT32 *pType))
 
int MUD_openWrite _ANSI_ARGS_ ((char *filename, UINT32 type))
 
int MUD_closeRead _ANSI_ARGS_ ((int fd))
 
int MUD_closeWriteFile _ANSI_ARGS_ ((int fd, char *outfile))
 
int MUD_getRunDesc _ANSI_ARGS_ ((int fd, UINT32 *pType))
 
int MUD_getExptNumber _ANSI_ARGS_ ((int fd, UINT32 *pExptNumber))
 
int MUD_getRunNumber _ANSI_ARGS_ ((int fd, UINT32 *pRunNumber))
 
int MUD_getElapsedSec _ANSI_ARGS_ ((int fd, UINT32 *pElapsedSec))
 
int MUD_getTimeBegin _ANSI_ARGS_ ((int fd, UINT32 *TimeBegin))
 
int MUD_getTimeEnd _ANSI_ARGS_ ((int fd, UINT32 *TimeEnd))
 
int MUD_getTitle _ANSI_ARGS_ ((int fd, char *title, int strdim))
 
int MUD_getLab _ANSI_ARGS_ ((int fd, char *lab, int strdim))
 
int MUD_getArea _ANSI_ARGS_ ((int fd, char *area, int strdim))
 
int MUD_getMethod _ANSI_ARGS_ ((int fd, char *method, int strdim))
 
int MUD_getApparatus _ANSI_ARGS_ ((int fd, char *apparatus, int strdim))
 
int MUD_getInsert _ANSI_ARGS_ ((int fd, char *insert, int strdim))
 
int MUD_getSample _ANSI_ARGS_ ((int fd, char *sample, int strdim))
 
int MUD_getOrient _ANSI_ARGS_ ((int fd, char *orient, int strdim))
 
int MUD_getDas _ANSI_ARGS_ ((int fd, char *das, int strdim))
 
int MUD_getExperimenter _ANSI_ARGS_ ((int fd, char *experimenter, int strdim))
 
int MUD_getTemperature _ANSI_ARGS_ ((int fd, char *temperature, int strdim))
 
int MUD_getField _ANSI_ARGS_ ((int fd, char *field, int strdim))
 
int MUD_getSubtitle _ANSI_ARGS_ ((int fd, char *subtitle, int strdim))
 
int MUD_getComment1 _ANSI_ARGS_ ((int fd, char *comment1, int strdim))
 
int MUD_getComment2 _ANSI_ARGS_ ((int fd, char *comment2, int strdim))
 
int MUD_getComment3 _ANSI_ARGS_ ((int fd, char *comment3, int strdim))
 
int MUD_setRunDesc _ANSI_ARGS_ ((int fd, UINT32 type))
 
int MUD_setExptNumber _ANSI_ARGS_ ((int fd, UINT32 exptNumber))
 
int MUD_setRunNumber _ANSI_ARGS_ ((int fd, UINT32 runNumber))
 
int MUD_setElapsedSec _ANSI_ARGS_ ((int fd, UINT32 elapsedSec))
 
int MUD_setTimeBegin _ANSI_ARGS_ ((int fd, UINT32 timeBegin))
 
int MUD_setTimeEnd _ANSI_ARGS_ ((int fd, UINT32 timeEnd))
 
int MUD_setTitle _ANSI_ARGS_ ((int fd, char *title))
 
int MUD_setLab _ANSI_ARGS_ ((int fd, char *lab))
 
int MUD_setArea _ANSI_ARGS_ ((int fd, char *area))
 
int MUD_setMethod _ANSI_ARGS_ ((int fd, char *method))
 
int MUD_setApparatus _ANSI_ARGS_ ((int fd, char *apparatus))
 
int MUD_setInsert _ANSI_ARGS_ ((int fd, char *insert))
 
int MUD_setSample _ANSI_ARGS_ ((int fd, char *sample))
 
int MUD_setOrient _ANSI_ARGS_ ((int fd, char *orient))
 
int MUD_setDas _ANSI_ARGS_ ((int fd, char *das))
 
int MUD_setExperimenter _ANSI_ARGS_ ((int fd, char *experimenter))
 
int MUD_setTemperature _ANSI_ARGS_ ((int fd, char *temperature))
 
int MUD_setField _ANSI_ARGS_ ((int fd, char *field))
 
int MUD_setSubtitle _ANSI_ARGS_ ((int fd, char *subtitle))
 
int MUD_setComment1 _ANSI_ARGS_ ((int fd, char *comment1))
 
int MUD_setComment2 _ANSI_ARGS_ ((int fd, char *comment2))
 
int MUD_setComment3 _ANSI_ARGS_ ((int fd, char *comment3))
 
int MUD_getComments _ANSI_ARGS_ ((int fd, UINT32 *pType, UINT32 *pNum))
 
int MUD_getCommentPrev _ANSI_ARGS_ ((int fd, int num, UINT32 *pPrev))
 
int MUD_getCommentNext _ANSI_ARGS_ ((int fd, int num, UINT32 *pNext))
 
int MUD_getCommentTime _ANSI_ARGS_ ((int fd, int num, UINT32 *pTime))
 
int MUD_getCommentAuthor _ANSI_ARGS_ ((int fd, int num, char *author, int strdim))
 
int MUD_getCommentTitle _ANSI_ARGS_ ((int fd, int num, char *title, int strdim))
 
int MUD_getCommentBody _ANSI_ARGS_ ((int fd, int num, char *body, int strdim))
 
int MUD_setComments _ANSI_ARGS_ ((int fd, UINT32 type, UINT32 num))
 
int MUD_setCommentPrev _ANSI_ARGS_ ((int fd, int num, UINT32 prev))
 
int MUD_setCommentNext _ANSI_ARGS_ ((int fd, int num, UINT32 next))
 
int MUD_setCommentTime _ANSI_ARGS_ ((int fd, int num, UINT32 time))
 
int MUD_setCommentAuthor _ANSI_ARGS_ ((int fd, int num, char *author))
 
int MUD_setCommentTitle _ANSI_ARGS_ ((int fd, int num, char *title))
 
int MUD_setCommentBody _ANSI_ARGS_ ((int fd, int num, char *body))
 
int MUD_getHistType _ANSI_ARGS_ ((int fd, int num, UINT32 *pType))
 
int MUD_getHistNumBytes _ANSI_ARGS_ ((int fd, int num, UINT32 *pNumBytes))
 
int MUD_getHistNumBins _ANSI_ARGS_ ((int fd, int num, UINT32 *pNumBins))
 
int MUD_getHistBytesPerBin _ANSI_ARGS_ ((int fd, int num, UINT32 *pBytesPerBin))
 
int MUD_getHistFsPerBin _ANSI_ARGS_ ((int fd, int num, UINT32 *pFsPerBin))
 
int MUD_getHistSecondsPerBin _ANSI_ARGS_ ((int fd, int num, REAL64 *pSecondsPerBin))
 
int MUD_getHistT0_Ps _ANSI_ARGS_ ((int fd, int num, UINT32 *pT0_ps))
 
int MUD_getHistT0_Bin _ANSI_ARGS_ ((int fd, int num, UINT32 *pT0_bin))
 
int MUD_getHistGoodBin1 _ANSI_ARGS_ ((int fd, int num, UINT32 *pGoodBin1))
 
int MUD_getHistGoodBin2 _ANSI_ARGS_ ((int fd, int num, UINT32 *pGoodBin2))
 
int MUD_getHistBkgd1 _ANSI_ARGS_ ((int fd, int num, UINT32 *pBkgd1))
 
int MUD_getHistBkgd2 _ANSI_ARGS_ ((int fd, int num, UINT32 *pBkgd2))
 
int MUD_getHistNumEvents _ANSI_ARGS_ ((int fd, int num, UINT32 *pNumEvents))
 
int MUD_getHistData _ANSI_ARGS_ ((int fd, int num, void *pData))
 
int MUD_getHistpData _ANSI_ARGS_ ((int fd, int num, void **ppData))
 
int MUD_getHistTimeData _ANSI_ARGS_ ((int fd, int num, UINT32 *pTimeData))
 
int MUD_getHistpTimeData _ANSI_ARGS_ ((int fd, int num, UINT32 **ppTimeData))
 
int MUD_setHistType _ANSI_ARGS_ ((int fd, int num, UINT32 type))
 
int MUD_setHistNumBytes _ANSI_ARGS_ ((int fd, int num, UINT32 numBytes))
 
int MUD_setHistNumBins _ANSI_ARGS_ ((int fd, int num, UINT32 numBins))
 
int MUD_setHistBytesPerBin _ANSI_ARGS_ ((int fd, int num, UINT32 bytesPerBin))
 
int MUD_setHistFsPerBin _ANSI_ARGS_ ((int fd, int num, UINT32 fsPerBin))
 
int MUD_setHistSecondsPerBin _ANSI_ARGS_ ((int fd, int num, REAL64 secondsPerBin))
 
int MUD_setHistT0_Ps _ANSI_ARGS_ ((int fd, int num, UINT32 t0_ps))
 
int MUD_setHistT0_Bin _ANSI_ARGS_ ((int fd, int num, UINT32 t0_bin))
 
int MUD_setHistGoodBin1 _ANSI_ARGS_ ((int fd, int num, UINT32 goodBin1))
 
int MUD_setHistGoodBin2 _ANSI_ARGS_ ((int fd, int num, UINT32 goodBin2))
 
int MUD_setHistBkgd1 _ANSI_ARGS_ ((int fd, int num, UINT32 bkgd1))
 
int MUD_setHistBkgd2 _ANSI_ARGS_ ((int fd, int num, UINT32 bkgd2))
 
int MUD_setHistNumEvents _ANSI_ARGS_ ((int fd, int num, UINT32 numEvents))
 
int MUD_pack _ANSI_ARGS_ ((int num, int inBinSize, void *inArray, int outBinSize, void *outArray))
 
int MUD_getScalerLabel _ANSI_ARGS_ ((int fd, int num, char *label, int strdim))
 
int MUD_getScalerCounts _ANSI_ARGS_ ((int fd, int num, UINT32 *pCounts))
 
int MUD_setScalerLabel _ANSI_ARGS_ ((int fd, int num, char *label))
 
int MUD_getIndVarLow _ANSI_ARGS_ ((int fd, int num, double *pLow))
 
int MUD_getIndVarHigh _ANSI_ARGS_ ((int fd, int num, double *pHigh))
 
int MUD_getIndVarMean _ANSI_ARGS_ ((int fd, int num, double *pMean))
 
int MUD_getIndVarStddev _ANSI_ARGS_ ((int fd, int num, double *pStddev))
 
int MUD_getIndVarSkewness _ANSI_ARGS_ ((int fd, int num, double *pSkewness))
 
int MUD_getIndVarName _ANSI_ARGS_ ((int fd, int num, char *name, int strdim))
 
int MUD_getIndVarDescription _ANSI_ARGS_ ((int fd, int num, char *description, int strdim))
 
int MUD_getIndVarUnits _ANSI_ARGS_ ((int fd, int num, char *units, int strdim))
 
int MUD_getIndVarNumData _ANSI_ARGS_ ((int fd, int num, UINT32 *pNumData))
 
int MUD_getIndVarElemSize _ANSI_ARGS_ ((int fd, int num, UINT32 *pElemSize))
 
int MUD_getIndVarDataType _ANSI_ARGS_ ((int fd, int num, UINT32 *pDataType))
 
int MUD_getIndVarHasTime _ANSI_ARGS_ ((int fd, int num, UINT32 *pHasTime))
 
int MUD_setIndVarLow _ANSI_ARGS_ ((int fd, int num, double low))
 
int MUD_setIndVarHigh _ANSI_ARGS_ ((int fd, int num, double high))
 
int MUD_setIndVarMean _ANSI_ARGS_ ((int fd, int num, double mean))
 
int MUD_setIndVarStddev _ANSI_ARGS_ ((int fd, int num, double stddev))
 
int MUD_setIndVarSkewness _ANSI_ARGS_ ((int fd, int num, double skewness))
 
int MUD_setIndVarName _ANSI_ARGS_ ((int fd, int num, char *name))
 
int MUD_setIndVarDescription _ANSI_ARGS_ ((int fd, int num, char *description))
 
int MUD_setIndVarUnits _ANSI_ARGS_ ((int fd, int num, char *units))
 
int MUD_setIndVarNumData _ANSI_ARGS_ ((int fd, int num, UINT32 numData))
 
int MUD_setIndVarElemSize _ANSI_ARGS_ ((int fd, int num, UINT32 elemSize))
 
int MUD_setIndVarDataType _ANSI_ARGS_ ((int fd, int num, UINT32 dataType))
 
int MUD_setIndVarHasTime _ANSI_ARGS_ ((int fd, int num, UINT32 hasTime))
 

Macro Definition Documentation

◆ _ANSI_ARGS_

#define _ANSI_ARGS_ ( x)
Value:
()

Definition at line 483 of file mud.h.

◆ _buf_addr

#define _buf_addr ( b)
Value:
&b->buf[b->pos]

Definition at line 470 of file mud.h.

◆ _buf_pos

#define _buf_pos ( b)
Value:
b->pos

Definition at line 469 of file mud.h.

◆ _decode_obj

#define _decode_obj ( b,
p,
s )
Value:
bcopy( &b->buf[b->pos], p, s );\
b->pos+=s, b->size+=s

Definition at line 444 of file mud.h.

Referenced by MUD_SEC_GEN_ARRAY_proc(), and MUD_SEC_GEN_HIST_DAT_proc().

◆ _encode_obj

#define _encode_obj ( b,
p,
s )
Value:
bcopy( p, &b->buf[b->pos], s );\
b->pos+=s, b->size+=s

Definition at line 446 of file mud.h.

Referenced by MUD_SEC_GEN_ARRAY_proc(), and MUD_SEC_GEN_HIST_DAT_proc().

◆ _failure

#define _failure ( s)
Value:
!(s&1)

Definition at line 176 of file mud.h.

◆ _free

◆ _incr_buf_pos

#define _incr_buf_pos ( b,
incr )
Value:
b->pos += incr

Definition at line 472 of file mud.h.

◆ _max

#define _max ( a,
b )
Value:
( ( (a) > (b) ) ? (a) : (b) )

Definition at line 191 of file mud.h.

◆ _min

#define _min ( a,
b )
Value:
( ( (a) < (b) ) ? (a) : (b) )

Definition at line 192 of file mud.h.

◆ _roundUp

#define _roundUp ( n,
r )
Value:
( (r) * (int)( ((n)+(r)-1) / (r) ) )

Definition at line 199 of file mud.h.

◆ _set_buf_pos

#define _set_buf_pos ( b,
pos )
Value:
b->pos = pos

Definition at line 471 of file mud.h.

◆ _strlen

◆ _success

#define _success ( s)
Value:
(s&1)

Definition at line 173 of file mud.h.

◆ _swap16

#define _swap16 ( s)
Value:
(((UINT16)s>>8)+((UINT16)s<<8))
unsigned short UINT16
Definition mud.h:140

Definition at line 195 of file mud.h.

◆ _swap2bytes

#define _swap2bytes ( s)
Value:
((s>>8)+(s<<8))

Definition at line 436 of file mud.h.

Referenced by bdecode_2(), and bencode_2().

◆ _swap32

#define _swap32 ( l)
Value:
(((UINT32)l>>16)+((UINT32)l<<16))
unsigned long UINT32
Definition mud.h:146

Definition at line 194 of file mud.h.

◆ _swap4bytes

#define _swap4bytes ( l)
Value:
((l>>24)+(l<<24)+((l&0xff0000)>>8)+((l&0xff00)<<8))

Definition at line 437 of file mud.h.

Referenced by bdecode_4(), bdecode_8(), bencode_4(), and bencode_8().

◆ bdecode_1

#define bdecode_1 ( b,
p )
Value:
bcopy( b, p, 1 )

Definition at line 441 of file mud.h.

Referenced by MUD_SEC_GEN_HIST_dopack(), and varBinArray().

◆ bdecode_obj

#define bdecode_obj ( b,
p,
s )
Value:
bcopy( b, p, s )

Definition at line 439 of file mud.h.

◆ bencode_1

#define bencode_1 ( b,
p )
Value:
bcopy( p, b, 1 )

Definition at line 442 of file mud.h.

Referenced by MUD_SEC_GEN_HIST_dopack().

◆ bencode_obj

#define bencode_obj ( b,
p,
s )
Value:
bcopy( p, b, s )

Definition at line 440 of file mud.h.

◆ BOOL_DEFINED

#define BOOL_DEFINED

Definition at line 156 of file mud.h.

◆ decode_2

#define decode_2 ( b,
p )
Value:
bdecode_2(&b->buf[b->pos],p);\
b->pos+=2, b->size+=2
void bdecode_2(void *b, void *p)
Definition mud_encode.c:28

Definition at line 449 of file mud.h.

◆ decode_4

#define decode_4 ( b,
p )

◆ decode_8

#define decode_8 ( b,
p )
Value:
bdecode_8(&b->buf[b->pos],p);\
b->pos+=8, b->size+=8
void bdecode_8(void *b, void *p)
Definition mud_encode.c:86

Definition at line 459 of file mud.h.

◆ decode_packed

#define decode_packed ( b,
p,
n )
Value:
bdecode_packed(&b->buf[b->pos],p,n);\
b->pos+=n, b->size+=n

Definition at line 464 of file mud.h.

◆ encode_2

#define encode_2 ( b,
p )
Value:
bencode_2(&b->buf[b->pos],p);\
b->pos+=2, b->size+=2
void bencode_2(void *b, void *p)
Definition mud_encode.c:41

Definition at line 451 of file mud.h.

◆ encode_4

#define encode_4 ( b,
p )

◆ encode_8

#define encode_8 ( b,
p )
Value:
bencode_8(&b->buf[b->pos],p);\
b->pos+=8, b->size+=8
void bencode_8(void *b, void *p)
Definition mud_encode.c:100

Definition at line 461 of file mud.h.

◆ encode_packed

#define encode_packed ( b,
p,
n )
Value:
bencode_packed(&b->buf[b->pos],p,n);\
b->pos+=n, b->size+=n

Definition at line 466 of file mud.h.

◆ FAILURE

#define FAILURE   0

Definition at line 171 of file mud.h.

◆ FALSE

#define FALSE   0

◆ MUD_BIG_ENDIAN

#define MUD_BIG_ENDIAN   1

Definition at line 433 of file mud.h.

◆ MUD_FMT_ALL_ID

#define MUD_FMT_ALL_ID   (MUD_LAB_ALL_ID|0x00010000)

Definition at line 55 of file mud.h.

◆ MUD_FMT_GEN_ID

#define MUD_FMT_GEN_ID   (MUD_LAB_ALL_ID|0x00020000)

Definition at line 56 of file mud.h.

◆ MUD_FMT_TRI_TD_ID

#define MUD_FMT_TRI_TD_ID   (MUD_LAB_TRI_ID|0x00010000)

Definition at line 57 of file mud.h.

Referenced by MUD_getRunDesc(), MUD_setRunDesc(), and PRunDataHandler::WriteMudFile().

◆ MUD_FMT_TRI_TI_ID

#define MUD_FMT_TRI_TI_ID   (MUD_LAB_TRI_ID|0x00020000)

Definition at line 58 of file mud.h.

Referenced by MUD_getRunDesc(), and MUD_setRunDesc().

◆ MUD_GRP_CMT_ID

#define MUD_GRP_CMT_ID   MUD_SEC_CMT_ID

Definition at line 69 of file mud.h.

◆ MUD_GRP_GEN_HIST_ID

#define MUD_GRP_GEN_HIST_ID   (MUD_FMT_GEN_ID|0x00000002)

Definition at line 80 of file mud.h.

◆ MUD_GRP_GEN_IND_VAR_ARR_ID

#define MUD_GRP_GEN_IND_VAR_ARR_ID   (MUD_FMT_GEN_ID|0x00000006)

Definition at line 83 of file mud.h.

Referenced by MUD_getIndVars(), and MUD_setIndVars().

◆ MUD_GRP_GEN_IND_VAR_ID

#define MUD_GRP_GEN_IND_VAR_ID   (MUD_FMT_GEN_ID|0x00000005)

Definition at line 82 of file mud.h.

Referenced by MUD_getIndVars().

◆ MUD_GRP_GEN_SCALER_ID

#define MUD_GRP_GEN_SCALER_ID   (MUD_FMT_GEN_ID|0x00000004)

Definition at line 81 of file mud.h.

◆ MUD_GRP_RAL_HIST_ID

#define MUD_GRP_RAL_HIST_ID   MUD_SEC_RAL_HIST_ID

Definition at line 105 of file mud.h.

◆ MUD_GRP_TRI_TD_HIST_ID

#define MUD_GRP_TRI_TD_HIST_ID   (MUD_FMT_TRI_TD_ID|0x00000002)

Definition at line 90 of file mud.h.

Referenced by _cmt_uint_getproc(), and PRunDataHandler::WriteMudFile().

◆ MUD_GRP_TRI_TD_SCALER_ID

#define MUD_GRP_TRI_TD_SCALER_ID   (MUD_FMT_TRI_TD_ID|0x00000004)

Definition at line 91 of file mud.h.

◆ MUD_GRP_TRI_TI_HIST_ID

#define MUD_GRP_TRI_TI_HIST_ID   MUD_SEC_TRI_TI_HIST_ID

Definition at line 98 of file mud.h.

Referenced by _cmt_uint_getproc().

◆ MUD_instanceID

#define MUD_instanceID ( pM)

◆ MUD_LAB_ALL_ID

#define MUD_LAB_ALL_ID   (0x01000000)

Definition at line 48 of file mud.h.

◆ MUD_LAB_PSI_ID

#define MUD_LAB_PSI_ID   (0x04000000)

Definition at line 51 of file mud.h.

◆ MUD_LAB_RAL_ID

#define MUD_LAB_RAL_ID   (0x03000000)

Definition at line 50 of file mud.h.

◆ MUD_LAB_TRI_ID

#define MUD_LAB_TRI_ID   (0x02000000)

Definition at line 49 of file mud.h.

◆ MUD_pNext

#define MUD_pNext ( pM)
Value:
(((MUD_SEC*)pM)->core.pNext)

Definition at line 423 of file mud.h.

◆ MUD_SEC_CMT_ID

#define MUD_SEC_CMT_ID   (MUD_FMT_ALL_ID|0x00000005)

Definition at line 67 of file mud.h.

Referenced by MUD_new(), and MUD_setComments().

◆ MUD_SEC_EOF_ID

#define MUD_SEC_EOF_ID   (MUD_FMT_ALL_ID|0x00000004)

Definition at line 66 of file mud.h.

Referenced by fseekNext(), MUD_fseek(), MUD_heads(), MUD_new(), MUD_read(), MUD_show(), and MUD_writeEnd().

◆ MUD_SEC_FIXED_ID

#define MUD_SEC_FIXED_ID   (MUD_FMT_ALL_ID|0x00000002)

Definition at line 64 of file mud.h.

Referenced by MUD_new().

◆ MUD_SEC_GEN_ARRAY_ID

#define MUD_SEC_GEN_ARRAY_ID   (MUD_FMT_GEN_ID|0x00000007)

Definition at line 78 of file mud.h.

Referenced by MUD_new(), and MUD_setIndVars().

◆ MUD_SEC_GEN_HIST_DAT_ID

#define MUD_SEC_GEN_HIST_DAT_ID   (MUD_FMT_GEN_ID|0x00000003)

◆ MUD_SEC_GEN_HIST_HDR_ID

#define MUD_SEC_GEN_HIST_HDR_ID   (MUD_FMT_GEN_ID|0x00000002)

Definition at line 74 of file mud.h.

Referenced by MUD_getHistData(), MUD_new(), MUD_setHistData(), and MUD_setHists().

◆ MUD_SEC_GEN_IND_VAR_ID

#define MUD_SEC_GEN_IND_VAR_ID   (MUD_FMT_GEN_ID|0x00000005)

Definition at line 77 of file mud.h.

Referenced by MUD_new(), and MUD_setIndVars().

◆ MUD_SEC_GEN_RUN_DESC_ID

#define MUD_SEC_GEN_RUN_DESC_ID   (MUD_FMT_GEN_ID|0x00000001)

Definition at line 73 of file mud.h.

Referenced by MUD_getRunDesc(), MUD_new(), MUD_setRunDesc(), and PRunDataHandler::WriteMudFile().

◆ MUD_SEC_GEN_SCALER_ID

#define MUD_SEC_GEN_SCALER_ID   (MUD_FMT_GEN_ID|0x00000004)

Definition at line 76 of file mud.h.

Referenced by MUD_new(), and MUD_setScalers().

◆ MUD_SEC_GRP_ID

◆ MUD_SEC_ID

#define MUD_SEC_ID   (MUD_FMT_ALL_ID|0x00000001)

Definition at line 63 of file mud.h.

Referenced by MUD_new().

◆ MUD_SEC_RAL_HIST_ID

#define MUD_SEC_RAL_HIST_ID   (MUD_FMT_RAL_ID|0x00000002)

Definition at line 103 of file mud.h.

◆ MUD_SEC_RAL_RUN_DESC_ID

#define MUD_SEC_RAL_RUN_DESC_ID   (MUD_FMT_RAL_ID|0x00000001)

Definition at line 102 of file mud.h.

◆ MUD_SEC_TRI_TD_HIST_ID

#define MUD_SEC_TRI_TD_HIST_ID   (MUD_FMT_TRI_TD_ID|0x00000002)

Definition at line 87 of file mud.h.

◆ MUD_SEC_TRI_TI_HIST_ID

#define MUD_SEC_TRI_TI_HIST_ID   (MUD_FMT_TRI_TI_ID|0x00000002)

Definition at line 96 of file mud.h.

◆ MUD_SEC_TRI_TI_RUN_DESC_ID

#define MUD_SEC_TRI_TI_RUN_DESC_ID   (MUD_FMT_TRI_TI_ID|0x00000001)

Definition at line 95 of file mud.h.

Referenced by MUD_getRunDesc(), MUD_new(), and MUD_setRunDesc().

◆ MUD_secID

#define MUD_secID ( pM)
Value:
(((MUD_SEC*)pM)->core.secID)

Definition at line 426 of file mud.h.

Referenced by addIndex(), fseekNext(), MUD_encode(), MUD_fseek(), MUD_heads(), MUD_read(), MUD_search(), MUD_setSizes(), MUD_show(), MUD_totSize(), and MUD_writeGrpMem().

◆ MUD_size

#define MUD_size ( pM)
Value:
(((MUD_SEC*)pM)->core.size)

Definition at line 425 of file mud.h.

Referenced by fseekNext(), MUD_decode(), MUD_encode(), MUD_fseek(), and MUD_totSize().

◆ MUD_sizeOf

#define MUD_sizeOf ( pM)
Value:
(((MUD_SEC*)pM)->core.sizeOf)

Definition at line 424 of file mud.h.

◆ NO_STDARG

#define NO_STDARG

Definition at line 484 of file mud.h.

◆ NULL

◆ SUCCESS

#define SUCCESS   1

Definition at line 170 of file mud.h.

◆ TRUE

#define TRUE   1

◆ zalloc

Typedef Documentation

◆ BOOL

typedef UINT32 BOOL

Definition at line 157 of file mud.h.

◆ INT16

typedef short INT16

Definition at line 139 of file mud.h.

◆ INT32

typedef long INT32

Definition at line 145 of file mud.h.

◆ INT8

typedef char INT8

Definition at line 137 of file mud.h.

◆ MUD_INDEX

typedef struct _MUD_INDEX MUD_INDEX

◆ MUD_PROC

typedef int(* MUD_PROC) (MUD_OPT, void *p1, void *p2)

Definition at line 216 of file mud.h.

◆ MUD_SEC

typedef struct _MUD_SEC MUD_SEC

◆ MUD_SEC_GRP

typedef struct _MUD_SEC_GRP MUD_SEC_GRP

◆ MUD_SEC_UNKNOWN

◆ MUD_STR_LEN_TYPE

Definition at line 474 of file mud.h.

◆ MUD_VAR_BIN_LEN_TYPE

Definition at line 475 of file mud.h.

◆ MUD_VAR_BIN_SIZ_TYPE

Definition at line 476 of file mud.h.

◆ REAL32

typedef float REAL32

Definition at line 148 of file mud.h.

◆ REAL64

typedef double REAL64

Definition at line 149 of file mud.h.

◆ SEEK_ENTRY

typedef struct _SEEK_ENTRY SEEK_ENTRY

◆ STATUS

typedef int STATUS

Definition at line 136 of file mud.h.

◆ TIME

typedef UINT32 TIME

Definition at line 154 of file mud.h.

◆ UINT16

typedef unsigned short UINT16

Definition at line 140 of file mud.h.

◆ UINT32

typedef unsigned long UINT32

Definition at line 146 of file mud.h.

◆ UINT8

typedef unsigned char UINT8

Definition at line 138 of file mud.h.

Enumeration Type Documentation

◆ MUD_IO_OPT

enum MUD_IO_OPT
Enumerator
MUD_ONE 
MUD_ALL 
MUD_GRP 

Definition at line 218 of file mud.h.

◆ MUD_OPT

enum MUD_OPT
Enumerator
MUD_ENCODE 
MUD_DECODE 
MUD_FREE 
MUD_GET_SIZE 
MUD_SHOW 
MUD_HEADS 

Definition at line 207 of file mud.h.

Function Documentation

◆ _ANSI_ARGS_() [1/166]

void encode_str _ANSI_ARGS_ ( (BUF *pB, char **ps) )

References decode_str(), and encode_str().

◆ _ANSI_ARGS_() [2/166]

void *MUD_decode _ANSI_ARGS_ ( (BUF *pBuf) )

References MUD_decode(), and MUD_getSize().

◆ _ANSI_ARGS_() [3/166]

void decode_double _ANSI_ARGS_ ( (BUF *pBuf, double *fp) )

◆ _ANSI_ARGS_() [4/166]

void decode_float _ANSI_ARGS_ ( (BUF *pBuf, float *fp) )

◆ _ANSI_ARGS_() [5/166]

BOOL MUD_encode _ANSI_ARGS_ ( (BUF *pBuf, void *pMUD, MUD_IO_OPT io_opt) )

References MUD_encode().

◆ _ANSI_ARGS_() [6/166]

void bdecode_double _ANSI_ARGS_ ( (char *buf, double *dp) )

References bencode_double().

◆ _ANSI_ARGS_() [7/166]

void bdecode_float _ANSI_ARGS_ ( (char *buf, float *fp) )

References bencode_float().

◆ _ANSI_ARGS_() [8/166]

int MUD_openReadWrite _ANSI_ARGS_ ( (char *filename, UINT32 *pType) )

References MUD_openRead().

◆ _ANSI_ARGS_() [9/166]

int MUD_openWrite _ANSI_ARGS_ ( (char *filename, UINT32 type) )

◆ _ANSI_ARGS_() [10/166]

FILE *MUD_openInOut _ANSI_ARGS_ ( (char *inFile) )

References MUD_openInput().

◆ _ANSI_ARGS_() [11/166]

FILE *MUD_openOutput _ANSI_ARGS_ ( (char *outFile) )

◆ _ANSI_ARGS_() [12/166]

MUD_SEC *MUD_peekCore _ANSI_ARGS_ ( (FILE *fin) )

References MUD_readFile().

◆ _ANSI_ARGS_() [13/166]

void *MUD_read _ANSI_ARGS_ ( (FILE *fin, MUD_IO_OPT io_opt) )

◆ _ANSI_ARGS_() [14/166]

int MUD_fseekFirst _ANSI_ARGS_ ( (FILE *fio) )

References MUD_fseekFirst().

◆ _ANSI_ARGS_() [15/166]

MUD_SEC *fseekNext _ANSI_ARGS_ ( (FILE *fio, MUD_SEC_GRP *pMUD_parent, UINT32 secID, UINT32 instanceID) )

References fseekNext().

◆ _ANSI_ARGS_() [16/166]

int MUD_fseek _ANSI_ARGS_ ( (FILE *fio,...) )

References MUD_fseek().

◆ _ANSI_ARGS_() [17/166]

BOOL MUD_writeEnd _ANSI_ARGS_ ( (FILE *fout) )

References MUD_writeEnd().

◆ _ANSI_ARGS_() [18/166]

BOOL MUD_writeGrpEnd _ANSI_ARGS_ ( (FILE *fout, MUD_SEC_GRP *pMUD_grp) )

References MUD_writeGrpEnd().

◆ _ANSI_ARGS_() [19/166]

BOOL MUD_writeGrpMem _ANSI_ARGS_ ( (FILE *fout, MUD_SEC_GRP *pMUD_grp, void *pMUD) )

References MUD_writeGrpMem().

◆ _ANSI_ARGS_() [20/166]

BOOL MUD_writeGrpStart _ANSI_ARGS_ ( (FILE *fout, MUD_SEC_GRP *pMUD_parentGrp, MUD_SEC_GRP *pMUD_grp, int numMems) )

References MUD_writeGrpStart().

◆ _ANSI_ARGS_() [21/166]

BOOL MUD_write _ANSI_ARGS_ ( (FILE *fout, void *pMUD, MUD_IO_OPT io_opt) )

References MUD_write().

◆ _ANSI_ARGS_() [22/166]

BOOL MUD_writeFile _ANSI_ARGS_ ( (FILE *fout, void *pMUD_head) )

References MUD_writeFile().

◆ _ANSI_ARGS_() [23/166]

int MUD_closeWrite _ANSI_ARGS_ ( (int fd) )

◆ _ANSI_ARGS_() [24/166]

int MUD_setApparatus _ANSI_ARGS_ ( (int fd, char *apparatus) )

◆ _ANSI_ARGS_() [25/166]

int MUD_getApparatus _ANSI_ARGS_ ( (int fd, char *apparatus, int strdim) )

◆ _ANSI_ARGS_() [26/166]

int MUD_setArea _ANSI_ARGS_ ( (int fd, char *area) )

◆ _ANSI_ARGS_() [27/166]

int MUD_getArea _ANSI_ARGS_ ( (int fd, char *area, int strdim) )

◆ _ANSI_ARGS_() [28/166]

int MUD_setComment1 _ANSI_ARGS_ ( (int fd, char *comment1) )

◆ _ANSI_ARGS_() [29/166]

int MUD_getComment1 _ANSI_ARGS_ ( (int fd, char *comment1, int strdim) )

◆ _ANSI_ARGS_() [30/166]

int MUD_setComment2 _ANSI_ARGS_ ( (int fd, char *comment2) )

◆ _ANSI_ARGS_() [31/166]

int MUD_getComment2 _ANSI_ARGS_ ( (int fd, char *comment2, int strdim) )

◆ _ANSI_ARGS_() [32/166]

int MUD_setComment3 _ANSI_ARGS_ ( (int fd, char *comment3) )

◆ _ANSI_ARGS_() [33/166]

int MUD_getComment3 _ANSI_ARGS_ ( (int fd, char *comment3, int strdim) )

◆ _ANSI_ARGS_() [34/166]

int MUD_setDas _ANSI_ARGS_ ( (int fd, char *das) )

◆ _ANSI_ARGS_() [35/166]

int MUD_getDas _ANSI_ARGS_ ( (int fd, char *das, int strdim) )

◆ _ANSI_ARGS_() [36/166]

int MUD_setExperimenter _ANSI_ARGS_ ( (int fd, char *experimenter) )

◆ _ANSI_ARGS_() [37/166]

int MUD_getExperimenter _ANSI_ARGS_ ( (int fd, char *experimenter, int strdim) )

◆ _ANSI_ARGS_() [38/166]

int MUD_setField _ANSI_ARGS_ ( (int fd, char *field) )

◆ _ANSI_ARGS_() [39/166]

int MUD_getField _ANSI_ARGS_ ( (int fd, char *field, int strdim) )

◆ _ANSI_ARGS_() [40/166]

int MUD_setInsert _ANSI_ARGS_ ( (int fd, char *insert) )

◆ _ANSI_ARGS_() [41/166]

int MUD_getInsert _ANSI_ARGS_ ( (int fd, char *insert, int strdim) )

◆ _ANSI_ARGS_() [42/166]

int MUD_setLab _ANSI_ARGS_ ( (int fd, char *lab) )

◆ _ANSI_ARGS_() [43/166]

int MUD_getLab _ANSI_ARGS_ ( (int fd, char *lab, int strdim) )

◆ _ANSI_ARGS_() [44/166]

int MUD_setMethod _ANSI_ARGS_ ( (int fd, char *method) )

◆ _ANSI_ARGS_() [45/166]

int MUD_getMethod _ANSI_ARGS_ ( (int fd, char *method, int strdim) )

◆ _ANSI_ARGS_() [46/166]

int MUD_setOrient _ANSI_ARGS_ ( (int fd, char *orient) )

◆ _ANSI_ARGS_() [47/166]

int MUD_getOrient _ANSI_ARGS_ ( (int fd, char *orient, int strdim) )

◆ _ANSI_ARGS_() [48/166]

int MUD_closeWriteFile _ANSI_ARGS_ ( (int fd, char *outfile) )

References MUD_closeWriteFile().

◆ _ANSI_ARGS_() [49/166]

int MUD_setSample _ANSI_ARGS_ ( (int fd, char *sample) )

◆ _ANSI_ARGS_() [50/166]

int MUD_getSample _ANSI_ARGS_ ( (int fd, char *sample, int strdim) )

◆ _ANSI_ARGS_() [51/166]

int MUD_setSubtitle _ANSI_ARGS_ ( (int fd, char *subtitle) )

◆ _ANSI_ARGS_() [52/166]

int MUD_getSubtitle _ANSI_ARGS_ ( (int fd, char *subtitle, int strdim) )

◆ _ANSI_ARGS_() [53/166]

int MUD_setTemperature _ANSI_ARGS_ ( (int fd, char *temperature) )

◆ _ANSI_ARGS_() [54/166]

int MUD_getTemperature _ANSI_ARGS_ ( (int fd, char *temperature, int strdim) )

◆ _ANSI_ARGS_() [55/166]

int MUD_setTitle _ANSI_ARGS_ ( (int fd, char *title) )

◆ _ANSI_ARGS_() [56/166]

int MUD_getTitle _ANSI_ARGS_ ( (int fd, char *title, int strdim) )

◆ _ANSI_ARGS_() [57/166]

int MUD_setCommentAuthor _ANSI_ARGS_ ( (int fd, int num, char *author) )

◆ _ANSI_ARGS_() [58/166]

int MUD_getCommentAuthor _ANSI_ARGS_ ( (int fd, int num, char *author, int strdim) )

◆ _ANSI_ARGS_() [59/166]

int MUD_setCommentBody _ANSI_ARGS_ ( (int fd, int num, char *body) )

◆ _ANSI_ARGS_() [60/166]

int MUD_getCommentBody _ANSI_ARGS_ ( (int fd, int num, char *body, int strdim) )

◆ _ANSI_ARGS_() [61/166]

int MUD_setIndVarDescription _ANSI_ARGS_ ( (int fd, int num, char *description) )

◆ _ANSI_ARGS_() [62/166]

int MUD_getIndVarDescription _ANSI_ARGS_ ( (int fd, int num, char *description, int strdim) )

◆ _ANSI_ARGS_() [63/166]

int MUD_setScalerLabel _ANSI_ARGS_ ( (int fd, int num, char *label) )

◆ _ANSI_ARGS_() [64/166]

int MUD_getScalerLabel _ANSI_ARGS_ ( (int fd, int num, char *label, int strdim) )

References MUD_getScalerLabel().

◆ _ANSI_ARGS_() [65/166]

int MUD_setIndVarName _ANSI_ARGS_ ( (int fd, int num, char *name) )

◆ _ANSI_ARGS_() [66/166]

int MUD_getIndVarName _ANSI_ARGS_ ( (int fd, int num, char *name, int strdim) )

◆ _ANSI_ARGS_() [67/166]

int MUD_setHistTitle _ANSI_ARGS_ ( (int fd, int num, char *title) )

◆ _ANSI_ARGS_() [68/166]

int MUD_getHistTitle _ANSI_ARGS_ ( (int fd, int num, char *title, int strdim) )

◆ _ANSI_ARGS_() [69/166]

int MUD_setIndVarUnits _ANSI_ARGS_ ( (int fd, int num, char *units) )

◆ _ANSI_ARGS_() [70/166]

int MUD_getIndVarUnits _ANSI_ARGS_ ( (int fd, int num, char *units, int strdim) )

◆ _ANSI_ARGS_() [71/166]

int MUD_getIndVarHigh _ANSI_ARGS_ ( (int fd, int num, double *pHigh) )

◆ _ANSI_ARGS_() [72/166]

int MUD_getIndVarLow _ANSI_ARGS_ ( (int fd, int num, double *pLow) )

◆ _ANSI_ARGS_() [73/166]

int MUD_getIndVarMean _ANSI_ARGS_ ( (int fd, int num, double *pMean) )

◆ _ANSI_ARGS_() [74/166]

int MUD_getIndVarSkewness _ANSI_ARGS_ ( (int fd, int num, double *pSkewness) )

◆ _ANSI_ARGS_() [75/166]

int MUD_getIndVarStddev _ANSI_ARGS_ ( (int fd, int num, double *pStddev) )

◆ _ANSI_ARGS_() [76/166]

int MUD_setIndVarHigh _ANSI_ARGS_ ( (int fd, int num, double high) )

◆ _ANSI_ARGS_() [77/166]

int MUD_setIndVarLow _ANSI_ARGS_ ( (int fd, int num, double low) )

◆ _ANSI_ARGS_() [78/166]

int MUD_setIndVarMean _ANSI_ARGS_ ( (int fd, int num, double mean) )

◆ _ANSI_ARGS_() [79/166]

int MUD_setIndVarSkewness _ANSI_ARGS_ ( (int fd, int num, double skewness) )

◆ _ANSI_ARGS_() [80/166]

int MUD_setIndVarStddev _ANSI_ARGS_ ( (int fd, int num, double stddev) )

◆ _ANSI_ARGS_() [81/166]

int MUD_getHistSecondsPerBin _ANSI_ARGS_ ( (int fd, int num, REAL64 *pSecondsPerBin) )

◆ _ANSI_ARGS_() [82/166]

int MUD_setHistSecondsPerBin _ANSI_ARGS_ ( (int fd, int num, REAL64 secondsPerBin) )

◆ _ANSI_ARGS_() [83/166]

int MUD_getIndVarpTimeData _ANSI_ARGS_ ( (int fd, int num, UINT32 **ppTimeData) )

◆ _ANSI_ARGS_() [84/166]

int MUD_getHistBkgd1 _ANSI_ARGS_ ( (int fd, int num, UINT32 *pBkgd1) )

◆ _ANSI_ARGS_() [85/166]

int MUD_getHistBkgd2 _ANSI_ARGS_ ( (int fd, int num, UINT32 *pBkgd2) )

◆ _ANSI_ARGS_() [86/166]

int MUD_getHistBytesPerBin _ANSI_ARGS_ ( (int fd, int num, UINT32 *pBytesPerBin) )

◆ _ANSI_ARGS_() [87/166]

int MUD_setScalerCounts _ANSI_ARGS_ ( (int fd, int num, UINT32 *pCounts) )

◆ _ANSI_ARGS_() [88/166]

int MUD_getIndVarDataType _ANSI_ARGS_ ( (int fd, int num, UINT32 *pDataType) )

◆ _ANSI_ARGS_() [89/166]

int MUD_getIndVarElemSize _ANSI_ARGS_ ( (int fd, int num, UINT32 *pElemSize) )

◆ _ANSI_ARGS_() [90/166]

int MUD_getHistFsPerBin _ANSI_ARGS_ ( (int fd, int num, UINT32 *pFsPerBin) )

◆ _ANSI_ARGS_() [91/166]

int MUD_getHistGoodBin1 _ANSI_ARGS_ ( (int fd, int num, UINT32 *pGoodBin1) )

◆ _ANSI_ARGS_() [92/166]

int MUD_getHistGoodBin2 _ANSI_ARGS_ ( (int fd, int num, UINT32 *pGoodBin2) )

◆ _ANSI_ARGS_() [93/166]

int MUD_getIndVarHasTime _ANSI_ARGS_ ( (int fd, int num, UINT32 *pHasTime) )

◆ _ANSI_ARGS_() [94/166]

int MUD_getCommentNext _ANSI_ARGS_ ( (int fd, int num, UINT32 *pNext) )

◆ _ANSI_ARGS_() [95/166]

int MUD_getHistNumBins _ANSI_ARGS_ ( (int fd, int num, UINT32 *pNumBins) )

◆ _ANSI_ARGS_() [96/166]

int MUD_getHistNumBytes _ANSI_ARGS_ ( (int fd, int num, UINT32 *pNumBytes) )

◆ _ANSI_ARGS_() [97/166]

int MUD_getIndVarNumData _ANSI_ARGS_ ( (int fd, int num, UINT32 *pNumData) )

◆ _ANSI_ARGS_() [98/166]

int MUD_getHistNumEvents _ANSI_ARGS_ ( (int fd, int num, UINT32 *pNumEvents) )

◆ _ANSI_ARGS_() [99/166]

int MUD_getCommentPrev _ANSI_ARGS_ ( (int fd, int num, UINT32 *pPrev) )

◆ _ANSI_ARGS_() [100/166]

int MUD_getHistT0_Bin _ANSI_ARGS_ ( (int fd, int num, UINT32 *pT0_bin) )

◆ _ANSI_ARGS_() [101/166]

int MUD_getHistT0_Ps _ANSI_ARGS_ ( (int fd, int num, UINT32 *pT0_ps) )

◆ _ANSI_ARGS_() [102/166]

int MUD_getCommentTime _ANSI_ARGS_ ( (int fd, int num, UINT32 *pTime) )

◆ _ANSI_ARGS_() [103/166]

int MUD_setIndVarpTimeData _ANSI_ARGS_ ( (int fd, int num, UINT32 *pTimeData) )

References MUD_getHistTimeData().

◆ _ANSI_ARGS_() [104/166]

int MUD_getHistType _ANSI_ARGS_ ( (int fd, int num, UINT32 *pType) )

◆ _ANSI_ARGS_() [105/166]

int MUD_setHistBkgd1 _ANSI_ARGS_ ( (int fd, int num, UINT32 bkgd1) )

◆ _ANSI_ARGS_() [106/166]

int MUD_setHistBkgd2 _ANSI_ARGS_ ( (int fd, int num, UINT32 bkgd2) )

◆ _ANSI_ARGS_() [107/166]

int MUD_setHistBytesPerBin _ANSI_ARGS_ ( (int fd, int num, UINT32 bytesPerBin) )

◆ _ANSI_ARGS_() [108/166]

int MUD_setIndVarDataType _ANSI_ARGS_ ( (int fd, int num, UINT32 dataType) )

◆ _ANSI_ARGS_() [109/166]

int MUD_setIndVarElemSize _ANSI_ARGS_ ( (int fd, int num, UINT32 elemSize) )

◆ _ANSI_ARGS_() [110/166]

int MUD_setHistFsPerBin _ANSI_ARGS_ ( (int fd, int num, UINT32 fsPerBin) )

◆ _ANSI_ARGS_() [111/166]

int MUD_setHistGoodBin1 _ANSI_ARGS_ ( (int fd, int num, UINT32 goodBin1) )

◆ _ANSI_ARGS_() [112/166]

int MUD_setHistGoodBin2 _ANSI_ARGS_ ( (int fd, int num, UINT32 goodBin2) )

◆ _ANSI_ARGS_() [113/166]

int MUD_setIndVarHasTime _ANSI_ARGS_ ( (int fd, int num, UINT32 hasTime) )

◆ _ANSI_ARGS_() [114/166]

int MUD_setCommentNext _ANSI_ARGS_ ( (int fd, int num, UINT32 next) )

◆ _ANSI_ARGS_() [115/166]

int MUD_setHistNumBins _ANSI_ARGS_ ( (int fd, int num, UINT32 numBins) )

◆ _ANSI_ARGS_() [116/166]

int MUD_setHistNumBytes _ANSI_ARGS_ ( (int fd, int num, UINT32 numBytes) )

◆ _ANSI_ARGS_() [117/166]

int MUD_setIndVarNumData _ANSI_ARGS_ ( (int fd, int num, UINT32 numData) )

◆ _ANSI_ARGS_() [118/166]

int MUD_setHistNumEvents _ANSI_ARGS_ ( (int fd, int num, UINT32 numEvents) )

◆ _ANSI_ARGS_() [119/166]

int MUD_setCommentPrev _ANSI_ARGS_ ( (int fd, int num, UINT32 prev) )

◆ _ANSI_ARGS_() [120/166]

int MUD_setHistT0_Bin _ANSI_ARGS_ ( (int fd, int num, UINT32 t0_bin) )

◆ _ANSI_ARGS_() [121/166]

int MUD_setHistT0_Ps _ANSI_ARGS_ ( (int fd, int num, UINT32 t0_ps) )

◆ _ANSI_ARGS_() [122/166]

int MUD_setCommentTime _ANSI_ARGS_ ( (int fd, int num, UINT32 time) )

◆ _ANSI_ARGS_() [123/166]

int MUD_setHistType _ANSI_ARGS_ ( (int fd, int num, UINT32 type) )

◆ _ANSI_ARGS_() [124/166]

int MUD_getIndVarpData _ANSI_ARGS_ ( (int fd, int num, void **ppData) )

◆ _ANSI_ARGS_() [125/166]

int MUD_setIndVarpData _ANSI_ARGS_ ( (int fd, int num, void *pData) )

References MUD_getHistData().

◆ _ANSI_ARGS_() [126/166]

int MUD_getElapsedSec _ANSI_ARGS_ ( (int fd, UINT32 *pElapsedSec) )

◆ _ANSI_ARGS_() [127/166]

int MUD_getExptNumber _ANSI_ARGS_ ( (int fd, UINT32 *pExptNumber) )

◆ _ANSI_ARGS_() [128/166]

int MUD_getRunNumber _ANSI_ARGS_ ( (int fd, UINT32 *pRunNumber) )

◆ _ANSI_ARGS_() [129/166]

int MUD_getRunDesc _ANSI_ARGS_ ( (int fd, UINT32 *pType) )

References MUD_getRunDesc().

◆ _ANSI_ARGS_() [130/166]

int MUD_getIndVars _ANSI_ARGS_ ( (int fd, UINT32 *pType, UINT32 *pNum) )

◆ _ANSI_ARGS_() [131/166]

int MUD_getTimeBegin _ANSI_ARGS_ ( (int fd, UINT32 *TimeBegin) )

◆ _ANSI_ARGS_() [132/166]

int MUD_getTimeEnd _ANSI_ARGS_ ( (int fd, UINT32 *TimeEnd) )

◆ _ANSI_ARGS_() [133/166]

int MUD_setElapsedSec _ANSI_ARGS_ ( (int fd, UINT32 elapsedSec) )

◆ _ANSI_ARGS_() [134/166]

int MUD_setExptNumber _ANSI_ARGS_ ( (int fd, UINT32 exptNumber) )

◆ _ANSI_ARGS_() [135/166]

int MUD_setRunNumber _ANSI_ARGS_ ( (int fd, UINT32 runNumber) )

◆ _ANSI_ARGS_() [136/166]

int MUD_setTimeBegin _ANSI_ARGS_ ( (int fd, UINT32 timeBegin) )

◆ _ANSI_ARGS_() [137/166]

int MUD_setTimeEnd _ANSI_ARGS_ ( (int fd, UINT32 timeEnd) )

◆ _ANSI_ARGS_() [138/166]

int MUD_setRunDesc _ANSI_ARGS_ ( (int fd, UINT32 type) )

References MUD_setRunDesc().

◆ _ANSI_ARGS_() [139/166]

int MUD_setIndVars _ANSI_ARGS_ ( (int fd, UINT32 type, UINT32 num) )

References MUD_setComments().

◆ _ANSI_ARGS_() [140/166]

int MUD_unpack _ANSI_ARGS_ ( (int num, int inBinSize, void *inArray, int outBinSize, void *outArray) )

◆ _ANSI_ARGS_() [141/166]

int MUD_SEC_GEN_HIST_unpack _ANSI_ARGS_ ( (int num, int inBinSize, void *inHist, int outBinSize, void *outHist) )

◆ _ANSI_ARGS_() [142/166]

int MUD_INDEX_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_INDEX *pMUD) )

References MUD_INDEX_proc().

◆ _ANSI_ARGS_() [143/166]

int MUD_SEC_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC *pMUD) )

References MUD_CORE_proc().

◆ _ANSI_ARGS_() [144/166]

int MUD_SEC_CMT_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_CMT *pMUD) )

References MUD_SEC_CMT_proc().

◆ _ANSI_ARGS_() [145/166]

int MUD_SEC_EOF_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_EOF *pMUD) )

References MUD_SEC_EOF_proc().

◆ _ANSI_ARGS_() [146/166]

int MUD_SEC_FIXED_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_FIXED *pMUD) )

References MUD_SEC_FIXED_proc().

◆ _ANSI_ARGS_() [147/166]

int MUD_SEC_GEN_ARRAY_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_ARRAY *pMUD) )

◆ _ANSI_ARGS_() [148/166]

int MUD_SEC_GEN_HIST_DAT_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_HIST_DAT *pMUD) )

◆ _ANSI_ARGS_() [149/166]

int MUD_SEC_GEN_HIST_HDR_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_HIST_HDR *pMUD) )

◆ _ANSI_ARGS_() [150/166]

int MUD_SEC_GEN_IND_VAR_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_IND_VAR *pMUD) )

◆ _ANSI_ARGS_() [151/166]

int MUD_SEC_GEN_RUN_DESC_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_RUN_DESC *pMUD) )

◆ _ANSI_ARGS_() [152/166]

int MUD_SEC_GEN_SCALER_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GEN_SCALER *pMUD) )

◆ _ANSI_ARGS_() [153/166]

int MUD_SEC_GRP_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_GRP *pMUD) )

References MUD_SEC_GRP_proc().

◆ _ANSI_ARGS_() [154/166]

◆ _ANSI_ARGS_() [155/166]

int MUD_SEC_UNKNOWN_proc _ANSI_ARGS_ ( (MUD_OPT op, BUF *pBuf, MUD_SEC_UNKNOWN *pMUD) )

◆ _ANSI_ARGS_() [156/166]

void MUD_assignCore _ANSI_ARGS_ ( (MUD_SEC *pMUD1, MUD_SEC *pMUD2) )

References MUD_assignCore().

◆ _ANSI_ARGS_() [157/166]

void MUD_addToGroup _ANSI_ARGS_ ( (MUD_SEC_GRP *pMUD_grp, void *pMUD) )

References addIndex().

◆ _ANSI_ARGS_() [158/166]

void GMF_LOCALTIME _ANSI_ARGS_ ( (TIME *in, INT32 *out) )

◆ _ANSI_ARGS_() [159/166]

void GMF_TIME _ANSI_ARGS_ ( (TIME *out) )

◆ _ANSI_ARGS_() [160/166]

void GMF_MKTIME _ANSI_ARGS_ ( (TIME *out, INT32 *input) )

◆ _ANSI_ARGS_() [161/166]

MUD_SEC *MUD_new _ANSI_ARGS_ ( (UINT32 secID, UINT32 instanceID) )

References MUD_new(), and MUD_SEC_proc().

◆ _ANSI_ARGS_() [162/166]

void MUD_add _ANSI_ARGS_ ( (void **ppMUD_head, void *pMUD_new) )

◆ _ANSI_ARGS_() [163/166]

void bencode_8 _ANSI_ARGS_ ( (void *b, void *p) )

◆ _ANSI_ARGS_() [164/166]

int MUD_totSize _ANSI_ARGS_ ( (void *pMUD) )

References MUD_free().

◆ _ANSI_ARGS_() [165/166]

void MUD_heads _ANSI_ARGS_ ( (void *pMUD, MUD_IO_OPT io_opt) )

References MUD_heads(), and MUD_show().

◆ _ANSI_ARGS_() [166/166]

void *MUD_search _ANSI_ARGS_ ( (void *pMUD_head,...) )

References MUD_search().