enum session_state
{ /** *Sessiondefinitionislittlemorethanasesexecprocess.We're
* waiting for more details of the session from sesexec */
E_SESSION_STARTING, /** Session is fully active */
E_SESSION_RUNNING
};
/** *Objectdescribingasession * *Unlessotherwidenoted,fieldsareonlyvalidif *thestatusisE_SESSION_RUNNING
*/ struct session_item
{ enum session_state state; struct trans *sesexec_trans; // trans for sesexec process. Always valid.
pid_t sesexec_pid; // pid for sesexec process. Always valid /**
* May be valid if known when the session is starting, otherwise -1 */ int display;
uid_t uid; enum scp_session_type type; unsignedshort start_width; unsignedshort start_height; unsignedchar bpp; struct guid guid; char start_ip_addr[MAX_PEER_ADDRSTRLEN];
time_t start_time;
};
/** *Initialisethemodule *@return0forsuccess * *Errorsarelogged
*/ int
session_list_init(void);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.