mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-05-29 02:41:27 +00:00
b5c3a29f37
It can currently send a GetStatus request and get a response.
21 lines
437 B
C
21 lines
437 B
C
#ifndef ASPINTERFACE_H
|
|
#define ASPINTERFACE_H
|
|
|
|
#include "session.h"
|
|
|
|
/* async flag values */
|
|
#define AT_SYNC 0
|
|
#define AT_ASYNC 0x80
|
|
|
|
#define aspBusyErr 0x07FF /* temp result code for async call in process */
|
|
|
|
#define SESSION_NUM_START 0xF8
|
|
#define MAX_SESSIONS (256 - SESSION_NUM_START)
|
|
|
|
extern Session sessionTbl[MAX_SESSIONS];
|
|
|
|
void FinishASPCommand(Session *sess);
|
|
void DispatchASPCommand(SPCommandRec *commandRec);
|
|
|
|
#endif
|