mirror of
https://github.com/sheumann/AFPBridge.git
synced 2025-10-24 11:20:49 -07:00
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.
20 lines
459 B
C
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
|