At the high level added:
At the high level added:

/*
** Retrieve records from remote server and save them in a file
** on the local disk. No printing is done. Returns 0 on success,
** or -1 on failure.
*/
int
owp_fetch_to_local(OWPControl cntrl,
		   u_int32_t  num_rec,
		   char       *datadir,
		   OWPSID     sid);

Added data structures and functions to support managing fetch state
and, in particular, the window, for producing statistics.

Streamlined output functions - there is now a master function:

void
owp_record_out(u_int8_t *rec, fetch_state_ptr state)

which can be used to print records in any desired style.

Set up conndata.datadir (user provided or else unique temporary)
[just realized I forgot to actually do mkdir() - will add in
 next check-in]


git-svn-id: a387e899ed10e03ab636af3ac21b4488e15ce2f7@342 a2d82226-602c-0410-bba7-e51b83dd10d2

perfsonar/owamp,perfsonar/owamp,perfsonar/owamp