[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Info-xnee] Re: about request id in xrec_data->req.id
From: |
Henrik Sandklef |
Subject: |
[Info-xnee] Re: about request id in xrec_data->req.id |
Date: |
Sat, 17 May 2008 17:49:03 +0200 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080505) |
sridhar skrev:
> Hello friend,
> now iam exactly getting the working of xnee,
> consider the following function : --
>
> *void xnee_human_print_request (xnee_data *xd, XRecordInterceptData
> *xrecintd )
> {
> XRecordDatum *xrec_data;
> int req_type ;
> xrec_data = (XRecordDatum *) (xrecintd->data) ;
> req_type = (int) xrec_data->type ;
>
> (void)xd->data_fp (xd->out_file,"Request %20s\t%.3d\t%lu\n",
> xnee_print_request(req_type),
> req_type,
> xrec_data->req.id );
>
> *in this function *xrec_data->req.id* is unique isnt it ??
In this doc:
http://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture
read the section Identifiers
> so dont we know from window id (client id ) it is generated, what data
> structure i need to take there --????
> *
> }*
>