21#include <sane/sanei_wire.h>
23#define SANEI_NET_PROTOCOL_VERSION 3
27 SANE_NET_LITTLE_ENDIAN = 0x1234,
28 SANE_NET_BIG_ENDIAN = 0x4321
38 SANE_NET_GET_OPTION_DESCRIPTORS,
39 SANE_NET_CONTROL_OPTION,
40 SANE_NET_GET_PARAMETERS,
46SANE_Net_Procedure_Number;
50 SANE_Word version_code;
58 SANE_Word version_code;
65 SANE_Device **device_list;
67SANE_Get_Devices_Reply;
73 SANE_String resource_to_authorize;
79 SANE_Word num_options;
80 SANE_Option_Descriptor **desc;
82SANE_Option_Descriptor_Array;
93SANE_Control_Option_Req;
100 SANE_Word value_size;
102 SANE_String resource_to_authorize;
104SANE_Control_Option_Reply;
109 SANE_Parameters params;
111SANE_Get_Parameters_Reply;
117 SANE_Word byte_order;
118 SANE_String resource_to_authorize;
124 SANE_String resource;
125 SANE_String username;
126 SANE_String password;
128SANE_Authorization_Req;
130extern void sanei_w_init_req (Wire *w, SANE_Init_Req *req);
131extern void sanei_w_init_reply (Wire *w, SANE_Init_Reply *reply);
132extern void sanei_w_get_devices_reply (Wire *w, SANE_Get_Devices_Reply *reply);
133extern void sanei_w_open_reply (Wire *w, SANE_Open_Reply *reply);
134extern void sanei_w_option_descriptor_array (Wire *w,
135 SANE_Option_Descriptor_Array *opt);
136extern void sanei_w_control_option_req (Wire *w, SANE_Control_Option_Req *req);
137extern void sanei_w_control_option_reply (Wire *w,
138 SANE_Control_Option_Reply *reply);
139extern void sanei_w_get_parameters_reply (Wire *w,
140 SANE_Get_Parameters_Reply *reply);
141extern void sanei_w_start_reply (Wire *w, SANE_Start_Reply *reply);
142extern void sanei_w_authorization_req (Wire *w, SANE_Authorization_Req *req);