/*
 * THIS FILE IS AUTOMATICALLY GENERATED BY /pbulk/work/net/nasd/work/nasd-1.3/rpcgen/nasd_rpcgen
 * DO NOT MODIFY BY HAND
 *
 * Generated: Sat Jan  3 11:58:56 2026
 * Source: nasd_srpc_types.rpc
 * Annotation: off
 * Min alignment: 1
 * Pad to: 8
 * Standard prefix: not specified
 */

#ifndef __nasd_srpc_types_H_
#define __nasd_srpc_types_H_

#include <nasd/nasd_rpcgen_c.h>

#include <nasd/nasd_base_types.h>
#include <nasd/nasd_error.h>
#define NASD_SRPC_OP_NOOP 1
#define NASD_SRPC_OP_REQ 2
#define NASD_SRPC_OP_PIPEDATA 3
#define NASD_SRPC_OP_PIPETERM 4
#define NASD_SRPC_OP_REP 5
#define NASD_SRPC_OP_PIPEENAB 6
#define NASD_SRPC_OP_SETSEQ 7
#define NASD_SRPC_OPSTAT_PIPE_IN 1
#define NASD_SRPC_OPSTAT_PIPE_OUT 2
#define NASD_SRPC_S_SUCCESS 0
#define NASD_SRPC_S_BAD_CALLID 1
#define NASD_SRPC_S_BAD_RPCID 2
#define NASD_SRPC_S_BAD_PIPENO 3
#define NASD_SRPC_S_BAD_REQLEN 4
#define NASD_SRPC_S_BAD_REPLEN 5
#define NASD_SRPC_S_PIPE_TERMD 6
#define NASD_SRPC_S_BAD_OP 7
#define NASD_SRPC_S_FAIL 8
#define NASD_SRPC_S_BAD_OPLEN 9
#define NASD_SRPC_S_GENERR 10
#define NASD_SRPC_S_ABORTED 11
#define NASD_SRPC_S_CALL_NOIMPL 12
#define NASD_SRPC_S_BAD_PIPEWORD 13
#define NASD_SRPC_S_PIPE_NOSTART 14
#define NASD_SRPC_S_PIPEORD 15
#define NASD_SRPC_S_ENABFAIL 16
#define NASD_SRPC_S_BAD_PIPE 17
#define NASD_SRPC_S_OFFLINE 999
#define NASD_SRPC_S_PIPEDIR_IN 1
#define NASD_SRPC_S_PIPEDIR_OUT 2
typedef nasd_uint32 nasd_srpc_callid_t;
typedef nasd_otw_base_t nasd_srpc_callid_otw_t[1];
typedef nasd_uint32 nasd_srpc_len_t;
typedef nasd_otw_base_t nasd_srpc_len_otw_t[1];
typedef nasd_uint32 nasd_srpc_op_t;
typedef nasd_otw_base_t nasd_srpc_op_otw_t[1];
typedef nasd_uint32 nasd_srpc_opstat_t;
typedef nasd_otw_base_t nasd_srpc_opstat_otw_t[1];
typedef nasd_uint32 nasd_srpc_pipenum_t;
typedef nasd_otw_base_t nasd_srpc_pipenum_otw_t[1];
typedef nasd_uint32 nasd_srpc_rpcid_t;
typedef nasd_otw_base_t nasd_srpc_rpcid_otw_t[1];
struct nasd_srpc_header_s {
  nasd_srpc_callid_t callid;
  nasd_srpc_len_t len;
  nasd_srpc_op_t op;
  nasd_srpc_opstat_t opstat;
};
typedef struct nasd_srpc_header_s nasd_srpc_header_t;
typedef nasd_otw_base_t nasd_srpc_header_otw_t[2];
struct nasd_srpc_req_s {
  nasd_srpc_rpcid_t rpcid;
  nasd_rpcgen_int8 pad001[4];
};
typedef struct nasd_srpc_req_s nasd_srpc_req_t;
typedef nasd_otw_base_t nasd_srpc_req_otw_t[1];
#define NASD_SRPC_ALREADY_DISCONN 7000
#define NASD_SRPC_BAD_ADDR 7001
#define NASD_SRPC_BAD_PORT 7002
#define NASD_SRPC_CANNOT_CONNECT 7003
#define NASD_SRPC_SENDSTATE_BAD 7004
#define NASD_SRPC_CANNOT_BIND 7005
#define NASD_SRPC_CALL_ABORTED 7006
#define NASD_SRPC_CALL_ABORTED_DISC 7007
#define NASD_SRPC_PIPE_TERMINATED 7008
#define NASD_SRPC_RECVSTATE_BAD 7009
#define NASD_SRPC_BAD_PIPEORDER 7010
#define NASD_SRPC_BAD_BUFLEN 7011
#define NASD_SRPC_NOT_ALL_OPTIONS_SET 7012
#define NASD_SRPC_PIPE_REPLIED 7500

#endif /* !__nasd_srpc_types_H_ */
