struct ExpressMessage *FirstExpressMessage;
int cs_pid; /* session ID */
char cs_room[20]; /* current room */
- long cs_lastupdt; /* time of last update */
+ time_t cs_lastupdt; /* time of last update */
time_t lastcmd; /* time of last command executed */
time_t lastidle; /* For computing idle time */
char lastcmdname[5]; /* name of last command executed */
struct CleanupFunctionHook {
struct CleanupFunctionHook *next;
- void *(*h_function_pointer) (void);
+ void (*h_function_pointer) (void);
};
extern struct CleanupFunctionHook *CleanupHookTable;
*/
struct SessionFunctionHook {
struct SessionFunctionHook *next;
- void *(*h_function_pointer) (void);
+ void (*h_function_pointer) (void);
int eventtype;
};
extern struct SessionFunctionHook *SessionHookTable;
*/
struct UserFunctionHook {
struct UserFunctionHook *next;
- void *(*h_function_pointer) (char *username, long usernum);
+ void (*h_function_pointer) (char *username, long usernum);
int eventtype;
};
extern struct UserFunctionHook *UserHookTable;