#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <earthworm.h>
#include <time.h>
#include <trace_buf.h>
#include <swap.h>
#include <ws_clientII.h>
#include <sudshead.h>
#include <pa_subs.h>
Go to the source code of this file.
Defines | |
#define | TAG_FILE '.tag' |
#define | MAXTXT 150 |
Functions | |
int | StructMakeLocal (void *, int, char, int) |
int | SwapDo (void *, int) |
int | SUDSPA_init (int OutBufferLen, char *OutDir, char *OutputFormat, int debug) |
int | SUDSPA_next_ev (char *EventID, TRACE_REQ *ptrReq, int nReq, char *OutDir, char *EventDate, char *EventTime, char *EventSubnet, int debug) |
int | SUDSPA_next (TRACE_REQ *getThis, double GapThresh, long OutBufferLen, int debug) |
int | SUDSPA_end_ev (int debug) |
int | SUDSPA_close (int debug) |
Variables | |
FILE * | SUDSfp |
long * | SudsBuffer |
short * | SudsBufferShort |
char | SudsOutputFormat [MAXTXT] |
|
Definition at line 74 of file sudsputaway.c. |
|
Definition at line 73 of file sudsputaway.c. |
|
Definition at line 714 of file sudsputaway.c. References EW_FAILURE, EW_SUCCESS, logit(), and SwapDo(). Referenced by SUDSPA_next(). |
|
Definition at line 696 of file sudsputaway.c. Referenced by PA_close(). |
|
Definition at line 681 of file sudsputaway.c. References logit(). Referenced by PA_end_ev(). |
|
Allocate SudsBuffer and SudsBufferShort We waste RAM by allocating both the long and short buffers here at the beginning of the code because some fluke (feature?) of NT which I don't understand becomes unhappy if we do the allocation later. Win2000, of course, behaves differently, and is quite happy with buffer allocation after we have determined the format of the incoming data Definition at line 97 of file sudsputaway.c. References CreateDir(), EW_FAILURE, EW_SUCCESS, logit(), SudsBuffer, and SudsBufferShort. Referenced by PA_init(). |
|
|
Definition at line 148 of file sudsputaway.c. References EVENTID_SIZE, EW_FAILURE, logit(), MAXTXT, TRACE_REQ::net, and SUDSfp. Referenced by PA_next_ev(). |
|
|
Definition at line 79 of file sudsputaway.c. Referenced by SUDSPA_init(), and SUDSPA_next(). |
|
Definition at line 80 of file sudsputaway.c. Referenced by SUDSPA_init(), and SUDSPA_next(). |
|
Definition at line 77 of file sudsputaway.c. Referenced by SUDSPA_next_ev(). |
|
Definition at line 81 of file sudsputaway.c. |