int hits;
int record_offset;
int setno;
- int requestid; // ID of current outstanding request
int diagnostic;
enum client_state state;
struct show_raw *show_raw;
return cl->pquery;
}
-void client_set_requestid(struct client *cl, int id)
-{
- cl->requestid = id;
-}
-
-
static void client_send_raw_present(struct client *cl);
int client_show_raw_begin(struct client *cl, int position,
r->hits = 0;
r->record_offset = 0;
r->setno = 0;
- r->requestid = -1;
r->diagnostic = 0;
r->state = Client_Disconnected;
r->show_raw = 0;
struct session *client_get_session(struct client *cl);
const char *client_get_pquery(struct client *cl);
-void client_set_requestid(struct client *cl, int id);
-
void client_init_response(struct client *cl, Z_APDU *a);
void client_search_response(struct client *cl);
void client_record_response(struct client *cl);