/*
* 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 1994 by Sun Microsystems, Inc.
* All Rights Reserved
*/
%#pragma ident "%Z%%M% %I% %E% SMI"
enum ufsdrc_t {
UFSDRC_OK = 0,
};
struct fs_identity_t {
};
struct ufsd_repairfs_args_t {
unsigned int ua_attempts;
};
struct ufsd_repairfs_list_t {
int ual_listlen;
};
enum ufsd_event_t {
UFSDEV_NONE = 0,
};
enum ufsd_boot_type_t {
UFSDB_NONE = 0,
};
enum ufsd_log_op_t {
UFSDLO_NONE = 0,
};
enum ufsd_fsck_state_t {
UFSDFS_NONE = 0,
};
const UFSD_VARMSGMAX = 1024;
const UFSD_SPAREMSGBYTES = 4;
struct ufsd_log_data_t {
int umld_eob;
int umld_seq;
char umld_buf<UFSD_VARMSGMAX>;
};
case UFSDLO_COMMIT:
void;
case UFSDLO_GET:
void;
case UFSDLO_PUT:
case UFSDLO_RESET:
void;
default:
void;
};
case UFSDEV_NONE:
void;
case UFSDEV_REBOOT:
case UFSDEV_FSCK:
case UFSDEV_LOG_OP:
default:
void;
};
struct ufsd_msg_t {
unsigned int um_from;
char um_spare<UFSD_SPAREMSGBYTES>;
};
%#define UFSD_SERVNAME "ufsd"
%#define xdr_time_t xdr_int
%/*
% * Set UFSD_THISVERS to the newest version of the protocol
% * This allows the preprocessor to force an error if the
% * protocol changes, since the kernel xdr routines may need to be
% * recoded. Note that we can't explicitly set the version to a
% * symbol as rpcgen will then create erroneous routine names.
% */
%#define UFSD_V1 1
%#define UFSD_ORIGVERS UFSD_V1
%#define UFSD_THISVERS 1
} = 1;
} = 100233;