nlsadmin.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.15.1.3 */
/*
* nlsadmin.h: nlsadmin defines and structs
*/
#define MAXNAMESZ 15
#define SVC_CODE_SZ 14
/*
* bit flags for argument processing
*/
#define NONE 0x0000
#define CMDFLAG 0x0001
#define PIPFLAG 0x0002
#define VERFLAG 0x0004
#define DISFLAG 0x0008
#define ENAFLAG 0x0010
#define KILFLAG 0x0020
#define ADRFLAG 0x0040
#define REMFLAG 0x0080
#define STAFLAG 0x0100
#define VBSFLAG 0x0200
#define NETFLAG 0x0400
#define ZZZFLAG 0x0800
#define INIFLAG 0x1000
/*
* other misc defines
*/
#define INCONSISTENT 1
#define MISSINGARG 2
#define USAGE 3
#define NOTLISTEN 1
#define BADPMFMT 2
#define BADLISFMT 3
#define CFLAG 0x1
#define PFLAG 0x2
#define DFLAG 0x4
extern char *optarg;
extern int optind;
extern int errno;
/*
* error returns from nlsadmin (1 is reserved for passing non-error
* information (-q))
*/
#define NLS_OK 0 /* no error */
/*
* command lines for SAC functions
*/