AFPBridge/cmdproc.h
Stephen Heumann 9ea3f1d2fb Don't call the ATalk driver's attention vector routine for DSI connections.
It is hard-coded to work with session numbers 1-8, and it may trash memory when passed higher session numbers. This was causing crashes after disconnecting in some cases.

This patch just bypasses the attention vector routine completely for DSI sessions (it's still called for sessions 1-8, i.e. ASP sessions). This should be OK, because its only real function was to display alerts about the connection being closed.
2017-04-25 18:30:39 -05:00

20 lines
459 B
C

#ifndef CMDPROC_H
#define CMDPROC_H
void cmdProc(void);
void nbpCmdProc(void);
void pfiLoginCmdProc(void);
extern LongWord jslOldPFILogin;
void pfiLogin2CmdProc(void);
extern LongWord jslOldPFILogin2;
void pfiLoginContCmdProc(void);
extern LongWord jslOldPFILoginCont;
void pfiListSessions2CmdProc(void);
extern LongWord jslOldPFIListSessions2;
void CallCompletionRoutine(void *);
extern void attentionVec(void);
extern LongWord jmlOldAttentionVec;
#endif