Session Level 2
struct session_info_2 {
unsigned char LSFAR * LSPTR sesi2_cname;
unsigned char LSFAR * LSPTR sesi2_username;
unsigned short sesi2_num_conns;
unsigned short sesi2_num_opens;
unsigned short sesi2_num_users;
unsigned long sesi2_sess_time;
unsigned long sesi2_idle_time;
unsigned long sesi2_user_flags;
unsigned char LSFAR * LSPTR sesi2_cltype_name;
};
where:
- The first eight fields in this data structure are
identical to those in the previous level.
- sesi2_cltype_name specifies the type of client
that established the session. The following types are defined in SHARES.H:
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ TYPE │ MEANING │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Down Level │ Old clients; for example, LAN Server 1.0 clients │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ DLR 2.0 │ DLR 2.0 clients │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ OS/2 LS 1.3 │ OS/2 LAN Server 1.3 clients │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ OS/2 LS 3.0 │ OS/2 LAN Server 3.0 clients │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ OS/2 LS 4.0 │ OS/2 LAN Server 4.0 clients │
└───────────────┴──────────────────────────────────────────────────────────────┘
[Back: Session Level 1]
[Next: Session Level 10]