154359Sroberto/* 2182007Sroberto * /src/NTP/ntp4-dev/include/ascii.h,v 4.4 2005/04/16 17:32:10 kardel RELEASE_20050508_A 354359Sroberto * 4182007Sroberto * ascii.h,v 4.4 2005/04/16 17:32:10 kardel RELEASE_20050508_A 5182007Sroberto * 654359Sroberto * $Created: Sun Jul 20 11:42:53 1997 $ 754359Sroberto * 8182007Sroberto * Copyright (c) 1997-2005 by Frank Kardel <kardel <AT> ntp.org> 9182007Sroberto * 10182007Sroberto * Redistribution and use in source and binary forms, with or without 11182007Sroberto * modification, are permitted provided that the following conditions 12182007Sroberto * are met: 13182007Sroberto * 1. Redistributions of source code must retain the above copyright 14182007Sroberto * notice, this list of conditions and the following disclaimer. 15182007Sroberto * 2. Redistributions in binary form must reproduce the above copyright 16182007Sroberto * notice, this list of conditions and the following disclaimer in the 17182007Sroberto * documentation and/or other materials provided with the distribution. 18182007Sroberto * 3. Neither the name of the author nor the names of its contributors 19182007Sroberto * may be used to endorse or promote products derived from this software 20182007Sroberto * without specific prior written permission. 21182007Sroberto * 22182007Sroberto * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 23182007Sroberto * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24182007Sroberto * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25182007Sroberto * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 26182007Sroberto * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27182007Sroberto * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28182007Sroberto * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29182007Sroberto * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30182007Sroberto * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31182007Sroberto * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32182007Sroberto * SUCH DAMAGE. 33182007Sroberto * 3454359Sroberto */ 3554359Sroberto#ifndef ASCII_H 3654359Sroberto#define ASCII_H 3754359Sroberto 3854359Sroberto/* 3954359Sroberto * just name the common ASCII control codes 4054359Sroberto */ 4154359Sroberto#define NUL 0 4254359Sroberto#define SOH 1 4354359Sroberto#define STX 2 4454359Sroberto#define ETX 3 4554359Sroberto#define EOT 4 4654359Sroberto#define ENQ 5 4754359Sroberto#define ACK 6 4854359Sroberto#define BEL 7 4954359Sroberto#define BS 8 5054359Sroberto#define HT 9 5154359Sroberto#define NL 10 5254359Sroberto#define VT 11 5354359Sroberto#define NP 12 5454359Sroberto#define CR 13 5554359Sroberto#define SO 14 5654359Sroberto#define SI 15 5754359Sroberto#define DLE 16 5854359Sroberto#define DC1 17 5954359Sroberto#define DC2 18 6054359Sroberto#define DC3 19 6154359Sroberto#define DC4 20 6254359Sroberto#define NAK 21 6354359Sroberto#define SYN 22 6454359Sroberto#define ETB 23 6554359Sroberto#define CAN 24 6654359Sroberto#define EM 25 6754359Sroberto#define SUB 26 6854359Sroberto#define ESC 27 6954359Sroberto#define FS 28 7054359Sroberto#define GS 29 7154359Sroberto#define RS 30 7254359Sroberto#define US 31 7354359Sroberto#define SP 32 7454359Sroberto#define DEL 127 7554359Sroberto 7654359Sroberto#endif 7754359Sroberto/* 78182007Sroberto * History: 79182007Sroberto * 8054359Sroberto * ascii.h,v 81182007Sroberto * Revision 4.4 2005/04/16 17:32:10 kardel 82182007Sroberto * update copyright 83182007Sroberto * 84182007Sroberto * Revision 4.3 2004/11/14 15:29:41 kardel 85182007Sroberto * support PPSAPI, upgrade Copyright to Berkeley style 86182007Sroberto * 8754359Sroberto * Revision 4.1 1998/07/11 10:05:22 kardel 8854359Sroberto * Release 4.0.73d reconcilation 8954359Sroberto * 9054359Sroberto * Revision 4.0 1998/04/10 19:50:38 kardel 9154359Sroberto * Start 4.0 release version numbering 9254359Sroberto * 9354359Sroberto * Revision 4.0 1998/04/10 19:50:38 kardel 9454359Sroberto * Start 4.0 release version numbering 9554359Sroberto * 9654359Sroberto */ 97