/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _LABELD_H
#define _LABELD_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Definitions for the call parameters for the door-based label
* translation service.
*/
/* Op codes */
/* Labeld Commands */
/* Miscellaneous */
/* Binary to String Label Translation */
/* String to Binary Label Translation */
/*
* Dimming List Routines
* Contract private for label builders
*/
/* NEW LABELS */
/* DIA printer banner labels */
/* DIA label to string */
/* DIA string to label */
/* Structures */
/* Null call */
typedef struct {
int null;
} null_call_t;
typedef struct {
int null;
} null_ret_t;
/* Miscellaneous interfaces */
typedef struct {
int type;
} inset_call_t;
typedef struct {
int inset;
} inset_ret_t;
typedef struct {
typedef struct {
int valid;
typedef struct {
typedef struct {
int valid;
typedef struct {
int null;
} info_call_t;
typedef struct {
} info_ret_t;
typedef struct {
int null;
} vers_call_t;
typedef struct {
} vers_ret_t;
typedef struct {
} color_call_t;
typedef struct {
} color_ret_t;
/* Binary Label to String interfaces */
typedef struct {
typedef struct {
} bsltos_ret_t;
typedef struct {
typedef struct {
/* String to Binary Label interfaces */
typedef struct {
typedef struct {
} stobsl_ret_t;
typedef struct {
typedef struct {
/*
* The following Dimming List and Miscellaneous interfaces
* implement contract private interfaces for the label builder
* interfaces.
*/
/* Dimming List interfaces */
typedef struct {
typedef struct {
int first_comp;
int first_mark;
} cvt_ret_t;
typedef struct {
/* Miscellaneous interfaces */
typedef struct {
int null;
typedef struct {
} fields_ret_t;
typedef struct {
int null;
} udefs_call_t;
typedef struct {
} udefs_ret_t;
typedef struct {
typedef struct {
int status;
typedef struct {
int transfer_mode;
} zcopy_call_t;
typedef struct {
int status;
} zcopy_ret_t;
typedef struct {
} pr_call_t;
typedef struct {
} pr_ret_t;
typedef struct {
} ls_call_t;
typedef struct {
} ls_ret_t;
typedef struct {
} sl_call_t;
typedef struct {
} sl_ret_t;
/* Labeld operation call structure */
typedef struct {
union {
} cargs;
/* Labeld operation return structure */
typedef struct {
union {
} rvals;
} labeld_ret_t;
typedef struct {
union {
} param;
/* Labeld common client call function */
int
/* Return Codes */
/* Flag Translation Values */
/* GFI FLAGS */
/* binary to ASCII */
/* Label view */
/* Dimming list (convert -- b*cvt* ) */
/* ASCII to binary */
#define MOVE_FILE 0
#ifdef __cplusplus
}
#endif
#endif /* _LABELD_H */