3 /* virtu[alization] - speciafic parts for each OS and for SG */
5 /* module's public interface exported within GRAS, but not to end user. */
7 /* Authors: Martin Quinson */
8 /* Copyright (C) 2004 Martin Quinson. */
10 /* This program is free software; you can redistribute it and/or modify it
11 under the terms of the license (GNU LGPL) which comes with this package. */
13 #ifndef GRAS_VIRTU_INTERFACE_H
14 #define GRAS_VIRTU_INTERFACE_H
17 * gras_process_data_t:
19 * Data for each process
22 /*queue of msgs storing the ones got while msg_wait'ing for something else */
23 gras_dynar_t *msg_queue; /* elm type: gras_msg_t */
25 /* registered callbacks for each message */
26 gras_dynar_t *cbl_list; /* elm type: gras_cblist_t */
29 /* The channel we are listening to in SG for formated messages */
31 gras_socket_t *sock; /* the corresponding socket (SG only) */
33 /* The channel we are listening to in SG for raw send/recv */
35 gras_socket_t *rawSock;/* the corresponding socket (SG only) */
37 /* globals of the process */
41 /* FIXME: mv to _private? */
42 gras_procdata_t *gras_procdata_get(void);
43 gras_error_t gras_procdata_init(void);
44 void gras_procdata_exit(void);
45 #endif /* GRAS_VIRTU_INTERFACE_H */