/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* This file is distributed subject to a Software License Agreement found
* in the file LICENSE that is included with this distribution.
\*************************************************************************/
/*
* $Log: sddsendian.c,v $
* Revision 1.10 2004/11/15 17:15:40 soliday
* Moved and renamed the procedures to write non native binary data from
* sddsendian to SDDSlib.
*
* Revision 1.9 2003/09/02 19:16:03 soliday
* Cleaned up code for Linux.
*
* Revision 1.8 2002/08/14 17:12:44 soliday
* Added Open License
*
* Revision 1.7 2001/01/10 19:35:36 soliday
* Standardized usage message.
*
* Revision 1.6 2000/09/19 20:15:37 borland
* Compatible with comment-based indication of little or big endian order.
*
* Revision 1.5 2000/06/20 14:30:46 soliday
* Added the ability to convert non-native byte ordering into native byte
* ordering. Also fixed problem when creating .gz files.
*
* Revision 1.4 1999/06/04 15:28:30 soliday
* Fixed bug with SwapEndsParameterData
*
* Revision 1.3 1999/05/25 19:08:43 soliday
* Removed compiler warning on linux.
*
* Revision 1.2 1998/08/25 01:45:09 borland
* This version actually works.
*
* Revision 1.1 1998/08/06 18:38:24 borland
* First version, minimally tested.
*
*/
#include "mdb.h"
#include "SDDS.h"
#include "scan.h"
#define SET_PIPE 0
#define NONNATIVE 1
#define N_OPTIONS 2
char *option[N_OPTIONS] = {
"pipe", "nonNative",
} ;
char *USAGE = "sddsendian [] [