[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Why xs_handle is not part of header rather xs.c file

On Thu, 2013-08-29 at 13:16 -0700, Shakil k wrote:
> Hello Xen Folks,
> Why do have the structure xs_handle declared and defined in file Xs.c
> and not to a header file?
> Was there an intention not to modify the structure externally?

Yes, there is nothing in there which an application should require
direct access too therefore it is deliberately an opaque handle.

> My intent of having this structure is to modify the fd and
> "pthread_cond_t watch_condvar;"
> from this structure externally to suit my application.

This sounds wrong to me. Why do you (think you) need to do this?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.